2863feb9 by 蔡俊立

证书使用情况修改

1 parent 91145f62
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
87 <el-row :gutter="20"> 87 <el-row :gutter="20">
88 <el-col :span="8"> 88 <el-col :span="8">
89 <el-form-item label="证书类型"> 89 <el-form-item label="证书类型">
90 <el-input v-model="ruleForm.zslx" disabled></el-input> 90 <el-input v-model="ruleForm.zslxmc" disabled></el-input>
91 </el-form-item> 91 </el-form-item>
92 </el-col> 92 </el-col>
93 <el-col :span="8"> 93 <el-col :span="8">
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
97 </el-col> 97 </el-col>
98 <el-col :span="8"> 98 <el-col :span="8">
99 <el-form-item label="是否作废"> 99 <el-form-item label="是否作废">
100 <el-input v-model="ruleForm.sfzf" disabled></el-input> 100 <el-input v-model="ruleForm.sfzfmc" disabled></el-input>
101 </el-form-item> 101 </el-form-item>
102 </el-col> 102 </el-col>
103 </el-row> 103 </el-row>
...@@ -134,6 +134,12 @@ export default { ...@@ -134,6 +134,12 @@ export default {
134 getZssyqkInfo({"bsmZswj":bsmZswj}).then(res => { 134 getZssyqkInfo({"bsmZswj":bsmZswj}).then(res => {
135 if(res.code == 200){ 135 if(res.code == 200){
136 this.ruleForm = res.result 136 this.ruleForm = res.result
137 if(res.result.zslx){
138 this.ruleForm.zslxmc = res.result.zslx == 'zs' ? '不动产权证书' : '不动产登记证明';
139 }
140 if(res.result.sfzf){
141 this.ruleForm.sfzfmc = res.result.sfzf == 0 ? '否' : '是'
142 }
137 } 143 }
138 }) 144 })
139 }, 145 },
...@@ -141,7 +147,7 @@ export default { ...@@ -141,7 +147,7 @@ export default {
141 }, 147 },
142 closeDialog () { 148 closeDialog () {
143 this.$emit('input', false) 149 this.$emit('input', false)
144 this.$refs['ruleForm'].resetFields() 150 this.ruleForm = {}
145 } 151 }
146 } 152 }
147 } 153 }
......