style:申请业务规则
Showing
2 changed files
with
19 additions
and
34 deletions
... | @@ -27,7 +27,7 @@ | ... | @@ -27,7 +27,7 @@ |
27 | <el-divider></el-divider> | 27 | <el-divider></el-divider> |
28 | <ul class="qlxx-list"> | 28 | <ul class="qlxx-list"> |
29 | <li v-for="(item, index) in dataList.qlxxList" :key="index"> | 29 | <li v-for="(item, index) in dataList.qlxxList" :key="index"> |
30 | <el-checkbox v-model="item.checked">{{ item.name }}</el-checkbox> | 30 | <el-checkbox v-model="item.checked">{{ item.sxzdmc }}</el-checkbox> |
31 | </li> | 31 | </li> |
32 | </ul> | 32 | </ul> |
33 | <ul class="screen-list"> | 33 | <ul class="screen-list"> |
... | @@ -50,6 +50,10 @@ export default { | ... | @@ -50,6 +50,10 @@ export default { |
50 | props: { | 50 | props: { |
51 | ruleForm: { | 51 | ruleForm: { |
52 | type: Object, default: {} | 52 | type: Object, default: {} |
53 | }, | ||
54 | // | ||
55 | sxql: { | ||
56 | type: Array, default: [] | ||
53 | } | 57 | } |
54 | }, | 58 | }, |
55 | data () { | 59 | data () { |
... | @@ -67,27 +71,7 @@ export default { | ... | @@ -67,27 +71,7 @@ export default { |
67 | { | 71 | { |
68 | checked: false, | 72 | checked: false, |
69 | name: '国有建设用地使用权' | 73 | name: '国有建设用地使用权' |
70 | }, | 74 | } |
71 | { | ||
72 | checked: false, | ||
73 | name: '宅基地使用权' | ||
74 | }, | ||
75 | { | ||
76 | checked: false, | ||
77 | name: '国有建设用地使用权' | ||
78 | }, | ||
79 | { | ||
80 | checked: false, | ||
81 | name: '宅基地使用权/房屋所有权' | ||
82 | }, | ||
83 | { | ||
84 | checked: false, | ||
85 | name: '国有建设用地使用权' | ||
86 | }, | ||
87 | { | ||
88 | checked: false, | ||
89 | name: '国有建设用地使用权' | ||
90 | }, | ||
91 | ], | 75 | ], |
92 | screenList: [ | 76 | screenList: [ |
93 | { | 77 | { |
... | @@ -121,7 +105,13 @@ export default { | ... | @@ -121,7 +105,13 @@ export default { |
121 | this.$emit('updateValue', newValue) | 105 | this.$emit('updateValue', newValue) |
122 | }, | 106 | }, |
123 | deep: true | 107 | deep: true |
124 | } | 108 | }, |
109 | sxql: { | ||
110 | handler (newValue, oldValue) { | ||
111 | this.dataList.qlxxList = newValue | ||
112 | }, | ||
113 | deep: true | ||
114 | }, | ||
125 | }, | 115 | }, |
126 | methods: { | 116 | methods: { |
127 | handleSelect (item) { | 117 | handleSelect (item) { |
... | @@ -158,7 +148,7 @@ export default { | ... | @@ -158,7 +148,7 @@ export default { |
158 | padding-left: 20px; | 148 | padding-left: 20px; |
159 | 149 | ||
160 | li { | 150 | li { |
161 | width: 20%; | 151 | width: 33%; |
162 | margin-bottom: 15px; | 152 | margin-bottom: 15px; |
163 | } | 153 | } |
164 | } | 154 | } | ... | ... |
... | @@ -114,9 +114,9 @@ | ... | @@ -114,9 +114,9 @@ |
114 | </el-col> | 114 | </el-col> |
115 | </el-row> | 115 | </el-row> |
116 | </el-form> | 116 | </el-form> |
117 | <djqxsd v-show="n == 1" :djqxList="djqxList" :ruleForm="ruleForm" @updateValue="getDjqxValue" /> | 117 | <djqxsd v-show="n == 1" :djqxList="subData.djqx" :ruleForm="ruleForm" @updateValue="getDjqxValue" /> |
118 | <clgzsd v-show="n == 2" :ruleForm="ruleForm" @updateValue="getClValue" /> | 118 | <clgzsd v-show="n == 2" :ruleForm="ruleForm" @updateValue="getClValue" /> |
119 | <dyztsd :ruleForm="ruleForm" v-show="n == 3" /> | 119 | <dyztsd :ruleForm="ruleForm" :sxql="subData.sxql" v-show="n == 3" /> |
120 | </div> | 120 | </div> |
121 | </div> | 121 | </div> |
122 | </dialogBox> | 122 | </dialogBox> |
... | @@ -156,7 +156,6 @@ export default { | ... | @@ -156,7 +156,6 @@ export default { |
156 | return { | 156 | return { |
157 | myValue: this.value, | 157 | myValue: this.value, |
158 | saveloding: false, | 158 | saveloding: false, |
159 | djqxList: [], | ||
160 | tn: 0, | 159 | tn: 0, |
161 | titleList: [], | 160 | titleList: [], |
162 | imgUploadUrl: fileController.uploadUrl(), | 161 | imgUploadUrl: fileController.uploadUrl(), |
... | @@ -212,19 +211,15 @@ export default { | ... | @@ -212,19 +211,15 @@ export default { |
212 | ], | 211 | ], |
213 | }, | 212 | }, |
214 | // 表单提交 | 213 | // 表单提交 |
215 | subData: { | 214 | subData: {} |
216 | djqx: [], | ||
217 | ywDetail: {} | ||
218 | } | ||
219 | }; | 215 | }; |
220 | }, | 216 | }, |
221 | methods: { | 217 | methods: { |
222 | getSqdjywDetail (bsmSqyw) { | 218 | getSqdjywDetail (bsmSqyw) { |
223 | getSqdjywDetail(bsmSqyw).then(res => { | 219 | getSqdjywDetail(bsmSqyw).then(res => { |
224 | let { ywDetail, djqx } = res.result | 220 | this.subData = res.result |
225 | this.djqxList = djqx | 221 | let { ywDetail } = res.result |
226 | this.ruleForm = ywDetail | 222 | this.ruleForm = ywDetail |
227 | this.subData.djqx = djqx | ||
228 | }) | 223 | }) |
229 | }, | 224 | }, |
230 | handleTitleSelct (obj, index) { | 225 | handleTitleSelct (obj, index) { | ... | ... |
-
Please register or sign in to post a comment