27170
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<!-- 统计 -->
|
<!-- 统计 -->
|
||||||
<div class="content-box">
|
<div class="content-box">
|
||||||
<div class="content-list">
|
<div class="content-list">
|
||||||
<div class="list-item" v-for="(item, index) in statisticsList" :key="index">
|
<div class="list-item" v-for="(item, index) in staticName" :key="index">
|
||||||
<h3>{{ item.value }}</h3>
|
<h3>{{ item.value }}</h3>
|
||||||
<p>{{ item.label }}</p>
|
<p>{{ item.label }}</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -77,6 +77,24 @@ export default {
|
|||||||
listTypeAll: [],
|
listTypeAll: [],
|
||||||
groupType: [],
|
groupType: [],
|
||||||
showGird: false,
|
showGird: false,
|
||||||
|
staticName: [
|
||||||
|
{
|
||||||
|
label: '待处理',
|
||||||
|
value: 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '上报数',
|
||||||
|
value: 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '已办数',
|
||||||
|
value: 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '今日办结',
|
||||||
|
value: 0
|
||||||
|
}
|
||||||
|
],
|
||||||
statisticsList: []
|
statisticsList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -137,13 +155,17 @@ export default {
|
|||||||
getStaticList() {
|
getStaticList() {
|
||||||
this.$http.post('/app/appclapeventinfo/clapEventStatisticByGirdMember').then((res) => {
|
this.$http.post('/app/appclapeventinfo/clapEventStatisticByGirdMember').then((res) => {
|
||||||
if (res.code == 0){
|
if (res.code == 0){
|
||||||
for (let i in res.data) {
|
Object.keys(res.data).forEach(( ) => {
|
||||||
var obj = {
|
// var info = {
|
||||||
label: i,
|
// label: key,
|
||||||
value: res.data[i],
|
// value: res.data[key]
|
||||||
}
|
// }
|
||||||
this.statisticsList.push(obj)
|
// this.statisticsList.push(info)
|
||||||
}
|
this.staticName[0].value = res.data['待处理']
|
||||||
|
this.staticName[1].value = res.data['上报数']
|
||||||
|
this.staticName[2].value = res.data['已办数']
|
||||||
|
this.staticName[3].value = res.data['今日办结']
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -84,7 +84,7 @@
|
|||||||
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
<span class="label"><span class="tips"></span>{{ item.label }}</span>
|
||||||
<div class="value">
|
<div class="value">
|
||||||
<u-input type="text" placeholder="请输入" v-model="form[item.formDbName]" input-align="right"
|
<u-input type="text" placeholder="请输入" v-model="form[item.formDbName]" input-align="right"
|
||||||
placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="20" :clearable="false" />
|
placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="item.maxlength" :clearable="false" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -157,7 +157,8 @@ export default {
|
|||||||
{
|
{
|
||||||
label: '家庭年收入(万)',
|
label: '家庭年收入(万)',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
formDbName: 'income'
|
formDbName: 'income',
|
||||||
|
maxLength: 20
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '婚姻情况',
|
label: '婚姻情况',
|
||||||
@@ -190,7 +191,8 @@ export default {
|
|||||||
{
|
{
|
||||||
label: '家庭年收入',
|
label: '家庭年收入',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
formDbName: 'income'
|
formDbName: 'income',
|
||||||
|
maxLength: 20
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '发病日期',
|
label: '发病日期',
|
||||||
@@ -200,12 +202,14 @@ export default {
|
|||||||
{
|
{
|
||||||
label: '监护人姓名',
|
label: '监护人姓名',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
formDbName: 'helpName'
|
formDbName: 'helpName',
|
||||||
|
maxLength: 20
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '监护人联系方式',
|
label: '监护人联系方式',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
formDbName: 'helpPhone',
|
formDbName: 'helpPhone',
|
||||||
|
maxLength: 11
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '目前危险等级',
|
label: '目前危险等级',
|
||||||
@@ -226,7 +230,8 @@ export default {
|
|||||||
{
|
{
|
||||||
label: '具体罪名',
|
label: '具体罪名',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
formDbName: 'crime'
|
formDbName: 'crime',
|
||||||
|
maxLength: 20
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '矫正类别',
|
label: '矫正类别',
|
||||||
@@ -286,12 +291,14 @@ export default {
|
|||||||
{
|
{
|
||||||
label: '管控人姓名',
|
label: '管控人姓名',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
formDbName: 'controlName'
|
formDbName: 'controlName',
|
||||||
|
maxLength: 20
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '管控人联系方式',
|
label: '管控人联系方式',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
formDbName: 'controlPhone'
|
formDbName: 'controlPhone',
|
||||||
|
maxLength: 11
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '有无犯罪史',
|
label: '有无犯罪史',
|
||||||
@@ -318,7 +325,8 @@ export default {
|
|||||||
{
|
{
|
||||||
label: '服刑场所',
|
label: '服刑场所',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
formDbName: 'place'
|
formDbName: 'place',
|
||||||
|
maxLength: 20
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '危险性评估',
|
label: '危险性评估',
|
||||||
|
|||||||
Reference in New Issue
Block a user