00e03630 by 蔡俊立

完善

1 parent c953db1d
...@@ -57,6 +57,7 @@ export default { ...@@ -57,6 +57,7 @@ export default {
57 if (res.code == 200) { 57 if (res.code == 200) {
58 this.$message.success('保存成功') 58 this.$message.success('保存成功')
59 this.$emit("input", false); 59 this.$emit("input", false);
60 this.resetRuleForm();
60 this.$parent.queryClick(); 61 this.$parent.queryClick();
61 } else { 62 } else {
62 this.$message.error(res.message) 63 this.$message.error(res.message)
......
...@@ -67,6 +67,7 @@ export default { ...@@ -67,6 +67,7 @@ export default {
67 if (res.code == 200) { 67 if (res.code == 200) {
68 this.$message.success('保存成功') 68 this.$message.success('保存成功')
69 this.$emit("input", false); 69 this.$emit("input", false);
70 this.resetRuleForm();
70 this.$parent.queryClick(); 71 this.$parent.queryClick();
71 } else { 72 } else {
72 this.$message.error(res.message) 73 this.$message.error(res.message)
......
...@@ -74,7 +74,7 @@ class data extends filter { ...@@ -74,7 +74,7 @@ class data extends filter {
74 case '2': 74 case '2':
75 return <div> 75 return <div>
76 <el-button type="text" onClick={() => { vm.viewDetail(scope.row) }}>查看</el-button> 76 <el-button type="text" onClick={() => { vm.viewDetail(scope.row) }}>查看</el-button>
77 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.toUnPublish(scope.row) }}>取消发布</el-button> 77 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.toUnPublish(scope.row) }}>撤销通知</el-button>
78 </div> 78 </div>
79 } 79 }
80 } 80 }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
11 <el-col :span="8"> 11 <el-col :span="8">
12 <el-form-item label="家庭关系" prop="jtgxdm"> 12 <el-form-item label="家庭关系" prop="jtgxdm">
13 <el-select clearable v-model="ruleForm.jtgxdm" class="width100" placeholder="请选择"> 13 <el-select clearable v-model="ruleForm.jtgxdm" class="width100" placeholder="请选择">
14 <el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 14 <el-option v-for="item in jtgx" :key="item.value" :label="item.label" :value="item.value">
15 </el-option> 15 </el-option>
16 </el-select> 16 </el-select>
17 </el-form-item> 17 </el-form-item>
...@@ -113,6 +113,17 @@ export default { ...@@ -113,6 +113,17 @@ export default {
113 data () { 113 data () {
114 return { 114 return {
115 myValue: this.value, 115 myValue: this.value,
116 jtgx: [
117 {value:'0',label:'本人或户主'},
118 {value:'1',label:'配偶'},
119 {value:'2',label:'子'},
120 {value:'3',label:'女'},
121 {value:'4',label:'子孙、孙女、外孙子、外孙女'},
122 {value:'5',label:'父母'},
123 {value:'6',label:'祖父母、外祖父母'},
124 {value:'7',label:'兄、弟、姐、妹'},
125 {value:'8',label:'其他'},
126 ],
116 ruleForm: { 127 ruleForm: {
117 qlrlx: '', 128 qlrlx: '',
118 sqrmc: '', 129 sqrmc: '',
......
...@@ -177,9 +177,10 @@ ...@@ -177,9 +177,10 @@
177 <el-col :span="14"> 177 <el-col :span="14">
178 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 178 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
179 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> 179 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs">
180 <el-radio label="1">单独所有</el-radio> 180 <el-radio label="0">单独所有</el-radio>
181 <el-radio label="2">共同共有</el-radio> 181 <el-radio label="1">共同共有</el-radio>
182 <el-radio label="3">按份所有</el-radio> 182 <el-radio label="2">按份所有</el-radio>
183 <el-radio label="3">其它共有</el-radio>
183 </el-radio-group> 184 </el-radio-group>
184 </el-form-item> 185 </el-form-item>
185 </el-col> 186 </el-col>
......
...@@ -177,9 +177,10 @@ ...@@ -177,9 +177,10 @@
177 <el-col :span="14"> 177 <el-col :span="14">
178 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 178 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
179 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> 179 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs">
180 <el-radio label="1">单独所有</el-radio> 180 <el-radio label="0">单独所有</el-radio>
181 <el-radio label="2">共同共有</el-radio> 181 <el-radio label="1">共同共有</el-radio>
182 <el-radio label="3">按份所有</el-radio> 182 <el-radio label="2">按份所有</el-radio>
183 <el-radio label="3">其它共有</el-radio>
183 </el-radio-group> 184 </el-radio-group>
184 </el-form-item> 185 </el-form-item>
185 </el-col> 186 </el-col>
......