a5a7d0ed by 任超

style:申请业务规则

1 parent bc101e09
......@@ -27,7 +27,7 @@
<el-divider></el-divider>
<ul class="qlxx-list">
<li v-for="(item, index) in dataList.qlxxList" :key="index">
<el-checkbox v-model="item.checked">{{ item.name }}</el-checkbox>
<el-checkbox v-model="item.checked">{{ item.sxzdmc }}</el-checkbox>
</li>
</ul>
<ul class="screen-list">
......@@ -50,6 +50,10 @@ export default {
props: {
ruleForm: {
type: Object, default: {}
},
//
sxql: {
type: Array, default: []
}
},
data () {
......@@ -67,27 +71,7 @@ export default {
{
checked: false,
name: '国有建设用地使用权'
},
{
checked: false,
name: '宅基地使用权'
},
{
checked: false,
name: '国有建设用地使用权'
},
{
checked: false,
name: '宅基地使用权/房屋所有权'
},
{
checked: false,
name: '国有建设用地使用权'
},
{
checked: false,
name: '国有建设用地使用权'
},
}
],
screenList: [
{
......@@ -121,7 +105,13 @@ export default {
this.$emit('updateValue', newValue)
},
deep: true
}
},
sxql: {
handler (newValue, oldValue) {
this.dataList.qlxxList = newValue
},
deep: true
},
},
methods: {
handleSelect (item) {
......@@ -158,7 +148,7 @@ export default {
padding-left: 20px;
li {
width: 20%;
width: 33%;
margin-bottom: 15px;
}
}
......
......@@ -114,9 +114,9 @@
</el-col>
</el-row>
</el-form>
<djqxsd v-show="n == 1" :djqxList="djqxList" :ruleForm="ruleForm" @updateValue="getDjqxValue" />
<djqxsd v-show="n == 1" :djqxList="subData.djqx" :ruleForm="ruleForm" @updateValue="getDjqxValue" />
<clgzsd v-show="n == 2" :ruleForm="ruleForm" @updateValue="getClValue" />
<dyztsd :ruleForm="ruleForm" v-show="n == 3" />
<dyztsd :ruleForm="ruleForm" :sxql="subData.sxql" v-show="n == 3" />
</div>
</div>
</dialogBox>
......@@ -156,7 +156,6 @@ export default {
return {
myValue: this.value,
saveloding: false,
djqxList: [],
tn: 0,
titleList: [],
imgUploadUrl: fileController.uploadUrl(),
......@@ -212,19 +211,15 @@ export default {
],
},
// 表单提交
subData: {
djqx: [],
ywDetail: {}
}
subData: {}
};
},
methods: {
getSqdjywDetail (bsmSqyw) {
getSqdjywDetail(bsmSqyw).then(res => {
let { ywDetail, djqx } = res.result
this.djqxList = djqx
this.subData = res.result
let { ywDetail } = res.result
this.ruleForm = ywDetail
this.subData.djqx = djqx
})
},
handleTitleSelct (obj, index) {
......