-
+
+
+
-
-
所属网格
-
-
+
+
+
{{item.label}}
+
+ {{ $dict.getLabel(item.dict, form[item.formDbName]) || '请选择'}}
+
+
-
-
-
是否累犯
-
- {{ $dict.getLabel('houselivingStatus', form.livingStatus) || '请选择'}}
-
-
-
-
-
原罪名
-
- {{ $dict.getLabel('houselivingStatus', form.livingStatus) || '请选择'}}
-
-
-
-
-
-
危险性评估
-
- {{ $dict.getLabel('houselivingStatus', form.livingStatus) || '请选择'}}
-
-
-
-
-
安置情况
-
- {{ $dict.getLabel('houselivingStatus', form.livingStatus) || '请选择'}}
-
-
-
-
-
安置时间
-
- {{ $dateFormat(form.startDate,'YYYY-MM-DD') || '请选择' }}
-
-
-
-
-
衔接情况
-
- {{ $dict.getLabel('houselivingStatus', form.livingStatus) || '请选择'}}
-
-
-
-
-
衔接时间
-
- {{ $dateFormat(form.startDate,'YYYY-MM-DD') || '请选择' }}
-
-
-
-
-
是否重新犯罪
-
-
{{ $dict.getLabel('houselivingStatus', form.livingStatus) || '请选择'}}
-
+
+
+
{{item.label}}
+
+ {{ $dateFormat(form[item.formDbName],'YYYY-MM-DD') || '请选择' }}
+
+
+
请选择
-
+
@@ -138,13 +92,82 @@ export default {
data() {
return {
form: {
-
},
dateShow: false,
deteParams: {year: true, month: true, day: true, hour: false, minute: false, second: false},
showSelect: false,
selectDict: '',
- selectName: ''
+ selectName: '',
+
+ tableIndex: 0,
+ tableData: [
+ {
+ list: [
+ {
+ label: '详细地址',
+ type: 'input',
+ formDbName: 'address'
+ },
+ {
+ label: '所属网格',
+ type: 'gird',
+ formDbName: 'girdId'
+ },
+ {
+ label: '是否累犯',
+ type: 'select',
+ dict: 'shouseholdRelation',
+ formDbName: 'shouseholdRelation'
+ },
+ {
+ label: '原罪名',
+ type: 'select',
+ dict: 'houselivingStatus',
+ formDbName: 'houselivingStatus'
+ },
+ {
+ label: '服刑场所',
+ type: 'input',
+ formDbName: 'value'
+ },
+ {
+ label: '危险性评估',
+ type: 'select',
+ dict: 'houselivingStatus',
+ formDbName: 'houselivingStatus',
+ },
+ {
+ label: '安置情况',
+ type: 'select',
+ dict: 'houselivingStatus',
+ formDbName: 'houselivingStatus',
+ },
+ {
+ label: '安置时间',
+ type: 'time',
+ formDbName: 'houselivingStatus',
+ },
+ {
+ label: '衔接情况',
+ type: 'select',
+ dict: 'houselivingStatus',
+ formDbName: 'houselivingStatus',
+ },
+ {
+ label: '衔接时间',
+ type: 'time',
+ formDbName: 'houselivingStatus',
+ },
+ {
+ label: '是否重新犯罪',
+ type: 'select',
+ dict: 'houselivingStatus',
+ formDbName: 'houselivingStatus',
+ },
+ ]
+ }
+ ],
+ selectList: []
}
},
computed: {...mapState(['user'])},
@@ -171,6 +194,8 @@ export default {
},
selectClick(dictName, formName) {
+ console.log(dictName)
+ this.selectList = this.$dict.getDict(dictName)
this.dictName = dictName
this.selectName = formName
this.showSelect = true
diff --git a/src/sass/AppSpecialPeople/detail.vue b/src/sass/AppSpecialPeople/detail.vue
index e1f4f5f2..c2da460f 100644
--- a/src/sass/AppSpecialPeople/detail.vue
+++ b/src/sass/AppSpecialPeople/detail.vue
@@ -35,10 +35,10 @@
本月新增
-
-
{{item.label}}
-
{{item.value}}
-
+
+
{{item.value}}
+
{{item.label}}
+
@@ -55,16 +55,15 @@