00e03630 by 蔡俊立

完善

1 parent c953db1d
......@@ -57,6 +57,7 @@ export default {
if (res.code == 200) {
this.$message.success('保存成功')
this.$emit("input", false);
this.resetRuleForm();
this.$parent.queryClick();
} else {
this.$message.error(res.message)
......
......@@ -67,6 +67,7 @@ export default {
if (res.code == 200) {
this.$message.success('保存成功')
this.$emit("input", false);
this.resetRuleForm();
this.$parent.queryClick();
} else {
this.$message.error(res.message)
......
......@@ -74,7 +74,7 @@ class data extends filter {
case '2':
return <div>
<el-button type="text" onClick={() => { vm.viewDetail(scope.row) }}>查看</el-button>
<el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.toUnPublish(scope.row) }}>取消发布</el-button>
<el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.toUnPublish(scope.row) }}>撤销通知</el-button>
</div>
}
}
......
......@@ -11,7 +11,7 @@
<el-col :span="8">
<el-form-item label="家庭关系" prop="jtgxdm">
<el-select clearable v-model="ruleForm.jtgxdm" class="width100" placeholder="请选择">
<el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode">
<el-option v-for="item in jtgx" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item>
......@@ -113,6 +113,17 @@ export default {
data () {
return {
myValue: this.value,
jtgx: [
{value:'0',label:'本人或户主'},
{value:'1',label:'配偶'},
{value:'2',label:'子'},
{value:'3',label:'女'},
{value:'4',label:'子孙、孙女、外孙子、外孙女'},
{value:'5',label:'父母'},
{value:'6',label:'祖父母、外祖父母'},
{value:'7',label:'兄、弟、姐、妹'},
{value:'8',label:'其他'},
],
ruleForm: {
qlrlx: '',
sqrmc: '',
......
......@@ -177,9 +177,10 @@
<el-col :span="14">
<el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
<el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs">
<el-radio label="1">单独所有</el-radio>
<el-radio label="2">共同共有</el-radio>
<el-radio label="3">按份所有</el-radio>
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
<el-radio label="3">其它共有</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
......
......@@ -177,9 +177,10 @@
<el-col :span="14">
<el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
<el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs">
<el-radio label="1">单独所有</el-radio>
<el-radio label="2">共同共有</el-radio>
<el-radio label="3">按份所有</el-radio>
<el-radio label="0">单独所有</el-radio>
<el-radio label="1">共同共有</el-radio>
<el-radio label="2">按份所有</el-radio>
<el-radio label="3">其它共有</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
......