style:登记
Showing
3 changed files
with
24 additions
and
22 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-06 10:03:44 | 4 | * @LastEditTime: 2023-05-06 10:24:46 |
5 | --> | 5 | --> |
6 | <!DOCTYPE html> | 6 | <!DOCTYPE html> |
7 | <html> | 7 | <html> |
... | @@ -18,11 +18,10 @@ | ... | @@ -18,11 +18,10 @@ |
18 | </title> | 18 | </title> |
19 | </head> | 19 | </head> |
20 | <script> | 20 | <script> |
21 | const appConfig = fetch('<%= BASE_URL %>config.json') | 21 | fetch('<%= BASE_URL %>config.json') |
22 | .then(response => response.json()) | 22 | .then(response => response.json()) |
23 | .then(config => { | 23 | .then(config => { |
24 | window.config = config | 24 | window.config = config |
25 | console.log(window.config, '1111111111111111111111'); | ||
26 | }); | 25 | }); |
27 | </script> | 26 | </script> |
28 | 27 | ... | ... |
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div> |
3 | <lb-table :column="column" :pagination="false" :key="key" :data="tableDataList"> | 3 | <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" |
4 | :data="tableDataList"> | ||
4 | </lb-table> | 5 | </lb-table> |
5 | <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> | 6 | <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> |
6 | </div> | 7 | </div> | ... | ... |
... | @@ -138,8 +138,8 @@ | ... | @@ -138,8 +138,8 @@ |
138 | <el-col :span="6" v-show="ruleForm.slywxx.gyfs == '1'"> | 138 | <el-col :span="6" v-show="ruleForm.slywxx.gyfs == '1'"> |
139 | <el-form-item label="是否分别持证:"> | 139 | <el-form-item label="是否分别持证:"> |
140 | <el-radio-group v-model="ruleForm.slywxx.sqfbcz"> | 140 | <el-radio-group v-model="ruleForm.slywxx.sqfbcz"> |
141 | <el-radio :label = 1>是</el-radio> | 141 | <el-radio :label=1>是</el-radio> |
142 | <el-radio :label = 0>否</el-radio> | 142 | <el-radio :label=0>否</el-radio> |
143 | </el-radio-group> | 143 | </el-radio-group> |
144 | </el-form-item> | 144 | </el-form-item> |
145 | </el-col> | 145 | </el-col> |
... | @@ -152,16 +152,15 @@ | ... | @@ -152,16 +152,15 @@ |
152 | </el-form-item> | 152 | </el-form-item> |
153 | </el-col> | 153 | </el-col> |
154 | </el-row> | 154 | </el-row> |
155 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" | 155 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :key="key" |
156 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> | 156 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> |
157 | 157 | ||
158 | |||
159 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | 158 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> |
160 | <div class="slxx_title title-block"> | 159 | <div class="slxx_title title-block"> |
161 | 义务人信息 | 160 | 义务人信息 |
162 | <div class="triangle"></div> | 161 | <div class="triangle"></div> |
163 | </div> | 162 | </div> |
164 | <qlrCommonTable v-if="ruleForm.ywrList" :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" | 163 | <qlrCommonTable v-if="ruleForm.ywrList" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" |
165 | :viewtype="$route.query.viewtype" /> | 164 | :viewtype="$route.query.viewtype" /> |
166 | </div> | 165 | </div> |
167 | 166 | ||
... | @@ -188,10 +187,10 @@ | ... | @@ -188,10 +187,10 @@ |
188 | </div> | 187 | </div> |
189 | </template> | 188 | </template> |
190 | <script> | 189 | <script> |
191 | import { mapGetters } from "vuex" | 190 | import { mapGetters } from "vuex" |
192 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js" | 191 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js" |
193 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" | 192 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" |
194 | export default { | 193 | export default { |
195 | mounted () { | 194 | mounted () { |
196 | this.propsParam = this.$attrs; | 195 | this.propsParam = this.$attrs; |
197 | var formdata = new FormData(); | 196 | var formdata = new FormData(); |
... | @@ -204,7 +203,7 @@ export default { | ... | @@ -204,7 +203,7 @@ export default { |
204 | that.ruleForm = res.result; | 203 | that.ruleForm = res.result; |
205 | that.$endLoading(); | 204 | that.$endLoading(); |
206 | that.isShow = true; | 205 | that.isShow = true; |
207 | this.czrOptions=this.ruleForm.qlrList; | 206 | this.czrOptions = this.ruleForm.qlrList; |
208 | }) | 207 | }) |
209 | }) | 208 | }) |
210 | }, | 209 | }, |
... | @@ -214,6 +213,7 @@ export default { | ... | @@ -214,6 +213,7 @@ export default { |
214 | }, | 213 | }, |
215 | data () { | 214 | data () { |
216 | return { | 215 | return { |
216 | key: 0, | ||
217 | isShow: false, | 217 | isShow: false, |
218 | disabled: true, | 218 | disabled: true, |
219 | czrOptions: [], | 219 | czrOptions: [], |
... | @@ -227,11 +227,13 @@ export default { | ... | @@ -227,11 +227,13 @@ export default { |
227 | // 更新权利人信息 | 227 | // 更新权利人信息 |
228 | upDateQlrxxList (val) { | 228 | upDateQlrxxList (val) { |
229 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) | 229 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) |
230 | this.czrOptions=this.ruleForm.qlrList; | 230 | this.czrOptions = this.ruleForm.qlrList; |
231 | this.key++ | ||
231 | }, | 232 | }, |
232 | // 更新义务人信息 | 233 | // 更新义务人信息 |
233 | upDateYwrxxList (val) { | 234 | upDateYwrxxList (val) { |
234 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) | 235 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) |
236 | this.key++ | ||
235 | }, | 237 | }, |
236 | onSubmit () { | 238 | onSubmit () { |
237 | if (this.ruleForm.qlrList.length == 0) { | 239 | if (this.ruleForm.qlrList.length == 0) { |
... | @@ -252,17 +254,17 @@ export default { | ... | @@ -252,17 +254,17 @@ export default { |
252 | }); | 254 | }); |
253 | return false; | 255 | return false; |
254 | } | 256 | } |
255 | this.ruleForm.qlrList[0].sfczr="1"; | 257 | this.ruleForm.qlrList[0].sfczr = "1"; |
256 | } | 258 | } |
257 | if (this.ruleForm.slywxx.gyfs == "1") { | 259 | if (this.ruleForm.slywxx.gyfs == "1") { |
258 | //是否分别持证 | 260 | //是否分别持证 |
259 | if(this.ruleForm.slywxx.sqfbcz == '1'){ //是 | 261 | if (this.ruleForm.slywxx.sqfbcz == '1') { //是 |
260 | this.ruleForm.qlrList.forEach((item, index) => { | 262 | this.ruleForm.qlrList.forEach((item, index) => { |
261 | item.sfczr = "1"; | 263 | item.sfczr = "1"; |
262 | }); | 264 | }); |
263 | }else{ | 265 | } else { |
264 | this.ruleForm.qlrList.forEach((item, index) => { | 266 | this.ruleForm.qlrList.forEach((item, index) => { |
265 | if(item.zjh==this.ruleForm.czr){ | 267 | if (item.zjh == this.ruleForm.czr) { |
266 | item.sfczr = "1"; | 268 | item.sfczr = "1"; |
267 | } | 269 | } |
268 | }); | 270 | }); |
... | @@ -286,9 +288,9 @@ export default { | ... | @@ -286,9 +288,9 @@ export default { |
286 | }); | 288 | }); |
287 | }, | 289 | }, |
288 | }, | 290 | }, |
289 | }; | 291 | }; |
290 | </script> | 292 | </script> |
291 | <style scoped lang='scss'> | 293 | <style scoped lang='scss'> |
292 | @import "~@/styles/public.scss"; | 294 | @import "~@/styles/public.scss"; |
293 | @import "~@/styles/slxx/slxx.scss"; | 295 | @import "~@/styles/slxx/slxx.scss"; |
294 | </style> | 296 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment