From cfc5b5afcdaa9f9fb05a89b9ae881c49a2c2644a Mon Sep 17 00:00:00 2001 From: wanglei <1336977847@qq.com> Date: Thu, 10 Feb 2022 17:30:56 +0800 Subject: [PATCH] 27170 --- src/saas/AppConflictMediation/List.vue | 38 ++++++++++++++++++++------ src/saas/AppSpecialPeople/add.vue | 24 ++++++++++------ 2 files changed, 46 insertions(+), 16 deletions(-) diff --git a/src/saas/AppConflictMediation/List.vue b/src/saas/AppConflictMediation/List.vue index ed41b648..e0a877cb 100644 --- a/src/saas/AppConflictMediation/List.vue +++ b/src/saas/AppConflictMediation/List.vue @@ -3,7 +3,7 @@
-
+

{{ item.value }}

{{ item.label }}

@@ -77,6 +77,24 @@ export default { listTypeAll: [], groupType: [], showGird: false, + staticName: [ + { + label: '待处理', + value: 0 + }, + { + label: '上报数', + value: 0 + }, + { + label: '已办数', + value: 0 + }, + { + label: '今日办结', + value: 0 + } + ], statisticsList: [] } }, @@ -137,13 +155,17 @@ export default { getStaticList() { this.$http.post('/app/appclapeventinfo/clapEventStatisticByGirdMember').then((res) => { if (res.code == 0){ - for (let i in res.data) { - var obj = { - label: i, - value: res.data[i], - } - this.statisticsList.push(obj) - } + Object.keys(res.data).forEach(( ) => { + // var info = { + // label: key, + // value: res.data[key] + // } + // 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['今日办结'] + }) } }) }, diff --git a/src/saas/AppSpecialPeople/add.vue b/src/saas/AppSpecialPeople/add.vue index ba9884ba..69324331 100644 --- a/src/saas/AppSpecialPeople/add.vue +++ b/src/saas/AppSpecialPeople/add.vue @@ -84,7 +84,7 @@ {{ item.label }}
+ placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="item.maxlength" :clearable="false" />
@@ -157,7 +157,8 @@ export default { { label: '家庭年收入(万)', type: 'input', - formDbName: 'income' + formDbName: 'income', + maxLength: 20 }, { label: '婚姻情况', @@ -190,7 +191,8 @@ export default { { label: '家庭年收入', type: 'input', - formDbName: 'income' + formDbName: 'income', + maxLength: 20 }, { label: '发病日期', @@ -200,12 +202,14 @@ export default { { label: '监护人姓名', type: 'input', - formDbName: 'helpName' + formDbName: 'helpName', + maxLength: 20 }, { label: '监护人联系方式', type: 'input', formDbName: 'helpPhone', + maxLength: 11 }, { label: '目前危险等级', @@ -226,7 +230,8 @@ export default { { label: '具体罪名', type: 'input', - formDbName: 'crime' + formDbName: 'crime', + maxLength: 20 }, { label: '矫正类别', @@ -286,12 +291,14 @@ export default { { label: '管控人姓名', type: 'input', - formDbName: 'controlName' + formDbName: 'controlName', + maxLength: 20 }, { label: '管控人联系方式', type: 'input', - formDbName: 'controlPhone' + formDbName: 'controlPhone', + maxLength: 11 }, { label: '有无犯罪史', @@ -318,7 +325,8 @@ export default { { label: '服刑场所', type: 'input', - formDbName: 'place' + formDbName: 'place', + maxLength: 20 }, { label: '危险性评估',