2863feb9 by 蔡俊立

证书使用情况修改

1 parent 91145f62
......@@ -87,7 +87,7 @@
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="证书类型">
<el-input v-model="ruleForm.zslx" disabled></el-input>
<el-input v-model="ruleForm.zslxmc" disabled></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -97,7 +97,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="是否作废">
<el-input v-model="ruleForm.sfzf" disabled></el-input>
<el-input v-model="ruleForm.sfzfmc" disabled></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -134,6 +134,12 @@ export default {
getZssyqkInfo({"bsmZswj":bsmZswj}).then(res => {
if(res.code == 200){
this.ruleForm = res.result
if(res.result.zslx){
this.ruleForm.zslxmc = res.result.zslx == 'zs' ? '不动产权证书' : '不动产登记证明';
}
if(res.result.sfzf){
this.ruleForm.sfzfmc = res.result.sfzf == 0 ? '否' : '是'
}
}
})
},
......@@ -141,7 +147,7 @@ export default {
},
closeDialog () {
this.$emit('input', false)
this.$refs['ruleForm'].resetFields()
this.ruleForm = {}
}
}
}
......