style:打印报错
Showing
9 changed files
with
40 additions
and
17 deletions
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | /* | 2 | /* |
| 3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 | 3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 |
| 4 | * @Autor: renchao | 4 | * @Autor: renchao |
| 5 | * @LastEditTime: 2023-07-17 13:22:05 | 5 | * @LastEditTime: 2023-07-21 10:30:53 |
| 6 | */ | 6 | */ |
| 7 | import axios from 'axios' | 7 | import axios from 'axios' |
| 8 | import Router from '@/router' | 8 | import Router from '@/router' |
| ... | @@ -84,7 +84,7 @@ service.interceptors.response.use( | ... | @@ -84,7 +84,7 @@ service.interceptors.response.use( |
| 84 | } else { | 84 | } else { |
| 85 | // 对响应错误做点什么 | 85 | // 对响应错误做点什么 |
| 86 | Message({ | 86 | Message({ |
| 87 | message: error, | 87 | message: error.response.data.message, |
| 88 | type: 'error', | 88 | type: 'error', |
| 89 | duration: 5 * 1000, | 89 | duration: 5 * 1000, |
| 90 | customClass: 'messageIndex' | 90 | customClass: 'messageIndex' | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-25 15:52:42 | 4 | * @LastEditTime: 2023-07-21 09:48:32 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -353,10 +353,6 @@ | ... | @@ -353,10 +353,6 @@ |
| 353 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 353 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
| 354 | import selectTable from "@/components/selectTable/index.vue"; | 354 | import selectTable from "@/components/selectTable/index.vue"; |
| 355 | import tdytTable from "@/views/workflow/components/tdytTable"; | 355 | import tdytTable from "@/views/workflow/components/tdytTable"; |
| 356 | // import the component | ||
| 357 | // import Treeselect from '@riophae/vue-treeselect' | ||
| 358 | // // import the styles | ||
| 359 | // import '@riophae/vue-treeselect/dist/vue-treeselect.css' | ||
| 360 | export default { | 356 | export default { |
| 361 | components: { qlrCommonTable, tdytTable, selectTable }, | 357 | components: { qlrCommonTable, tdytTable, selectTable }, |
| 362 | computed: { | 358 | computed: { |
| ... | @@ -436,7 +432,11 @@ | ... | @@ -436,7 +432,11 @@ |
| 436 | disabled: true, | 432 | disabled: true, |
| 437 | czrOptions: [], | 433 | czrOptions: [], |
| 438 | ssQlxxList: [], | 434 | ssQlxxList: [], |
| 439 | ruleForm: {}, | 435 | ruleForm: { |
| 436 | fdcq2: { | ||
| 437 | ftjzmj: '' | ||
| 438 | } | ||
| 439 | }, | ||
| 440 | ableOperation: false, | 440 | ableOperation: false, |
| 441 | //传递参数\ | 441 | //传递参数\ |
| 442 | rules: { | 442 | rules: { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-16 15:55:45 | 4 | * @LastEditTime: 2023-07-20 16:58:04 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -24,7 +24,7 @@ | ... | @@ -24,7 +24,7 @@ |
| 24 | <el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input> | 24 | <el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input> |
| 25 | </el-form-item> | 25 | </el-form-item> |
| 26 | </el-col> | 26 | </el-col> |
| 27 | <el-col :span="6" class="btnColRight"> | 27 | <el-col :span="6" class="btnColRight" v-if="ableOperation"> |
| 28 | <el-form-item> | 28 | <el-form-item> |
| 29 | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> | 29 | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> |
| 30 | <el-button type="primary" icon="el-icon-search" @click="zslqClick">证书领取</el-button> | 30 | <el-button type="primary" icon="el-icon-search" @click="zslqClick">证书领取</el-button> |
| ... | @@ -47,6 +47,8 @@ | ... | @@ -47,6 +47,8 @@ |
| 47 | mixins: [table], | 47 | mixins: [table], |
| 48 | data () { | 48 | data () { |
| 49 | return { | 49 | return { |
| 50 | //表单是否可操作 | ||
| 51 | ableOperation: true, | ||
| 50 | ruleForm: { | 52 | ruleForm: { |
| 51 | ysxlh: '', | 53 | ysxlh: '', |
| 52 | zsh: '', | 54 | zsh: '', |
| ... | @@ -61,6 +63,9 @@ | ... | @@ -61,6 +63,9 @@ |
| 61 | dialogVisible: false | 63 | dialogVisible: false |
| 62 | } | 64 | } |
| 63 | }, | 65 | }, |
| 66 | created () { | ||
| 67 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
| 68 | }, | ||
| 64 | methods: { | 69 | methods: { |
| 65 | queryClick () { | 70 | queryClick () { |
| 66 | this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; | 71 | this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; | ... | ... |
| ... | @@ -178,6 +178,7 @@ | ... | @@ -178,6 +178,7 @@ |
| 178 | }, | 178 | }, |
| 179 | //申请单元点击事件 | 179 | //申请单元点击事件 |
| 180 | unitClick (index) { | 180 | unitClick (index) { |
| 181 | if(this.unitData.length==0) return | ||
| 181 | this.currentSelectProps = this.unitData[index]; | 182 | this.currentSelectProps = this.unitData[index]; |
| 182 | this.currentSelectProps.batchOperation = false; | 183 | this.currentSelectProps.batchOperation = false; |
| 183 | this.activeIndex = index.toString(); | 184 | this.activeIndex = index.toString(); | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 14:20:17 | 4 | * @LastEditTime: 2023-07-21 10:04:05 |
| 5 | */ | 5 | */ |
| 6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
| 7 | import { uploadUndo } from "@/api/clxx"; | 7 | import { uploadUndo } from "@/api/clxx"; |
| ... | @@ -291,6 +291,7 @@ export default { | ... | @@ -291,6 +291,7 @@ export default { |
| 291 | instance.confirmButtonLoading = false; | 291 | instance.confirmButtonLoading = false; |
| 292 | instance.confirmButtonText = "确定"; | 292 | instance.confirmButtonText = "确定"; |
| 293 | this.$message.error(res.message); | 293 | this.$message.error(res.message); |
| 294 | // ywPopupDialog("转出错误明细", "workflow/components/dialog/dblist", { result: res.result }, '30%', true) | ||
| 294 | } | 295 | } |
| 295 | }); | 296 | }); |
| 296 | } else { | 297 | } else { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-20 09:30:06 | 4 | * @LastEditTime: 2023-07-21 09:50:20 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="slxx"> | 7 | <div class="slxx"> |
| ... | @@ -242,7 +242,12 @@ | ... | @@ -242,7 +242,12 @@ |
| 242 | disabled: true, | 242 | disabled: true, |
| 243 | tdytOption: [], | 243 | tdytOption: [], |
| 244 | czrOptions: [], | 244 | czrOptions: [], |
| 245 | ruleForm: {}, | 245 | ruleForm: { |
| 246 | fdcq2: { | ||
| 247 | zyjzmj: '', | ||
| 248 | ftjzmj: '' | ||
| 249 | } | ||
| 250 | }, | ||
| 246 | //传递参数 | 251 | //传递参数 |
| 247 | propsParam: this.$attrs, | 252 | propsParam: this.$attrs, |
| 248 | //表单是否可操作 | 253 | //表单是否可操作 | ... | ... |
| ... | @@ -269,7 +269,14 @@ | ... | @@ -269,7 +269,14 @@ |
| 269 | sffbcz: "", | 269 | sffbcz: "", |
| 270 | // 持证人 | 270 | // 持证人 |
| 271 | czr: "", | 271 | czr: "", |
| 272 | djyy: '' | 272 | djyy: '', |
| 273 | // 规划用途名称 | ||
| 274 | zdjbxx: { | ||
| 275 | ghytmc: '' | ||
| 276 | }, | ||
| 277 | fdcq2: { | ||
| 278 | fwxzmc: '' | ||
| 279 | } | ||
| 273 | }, | 280 | }, |
| 274 | //传递参数 | 281 | //传递参数 |
| 275 | propsParam: {}, | 282 | propsParam: {}, | ... | ... |
| ... | @@ -81,7 +81,7 @@ | ... | @@ -81,7 +81,7 @@ |
| 81 | </el-form-item> | 81 | </el-form-item> |
| 82 | </el-col> | 82 | </el-col> |
| 83 | <el-col :span="8"> | 83 | <el-col :span="8"> |
| 84 | <el-form-item label="户不动产单元号:" prop="hbdcdyh"> | 84 | <el-form-item label="户不动产单元号:" prop="ghytmc"> |
| 85 | <el-input disabled v-model="ruleForm.ghytmc"></el-input> | 85 | <el-input disabled v-model="ruleForm.ghytmc"></el-input> |
| 86 | </el-form-item> | 86 | </el-form-item> |
| 87 | </el-col> | 87 | </el-col> |
| ... | @@ -233,7 +233,7 @@ | ... | @@ -233,7 +233,7 @@ |
| 233 | // 自然幢号 | 233 | // 自然幢号 |
| 234 | zrzh: "", | 234 | zrzh: "", |
| 235 | // 户不动产单元号 | 235 | // 户不动产单元号 |
| 236 | hbdcdyh: '', | 236 | ghytmc: '', |
| 237 | djzt: '', | 237 | djzt: '', |
| 238 | // 图幅丘幢号 | 238 | // 图幅丘幢号 |
| 239 | tfqzh: '', | 239 | tfqzh: '', | ... | ... |
| ... | @@ -262,7 +262,11 @@ | ... | @@ -262,7 +262,11 @@ |
| 262 | disabled: true, | 262 | disabled: true, |
| 263 | //持证人选项 | 263 | //持证人选项 |
| 264 | czrOptions: [], | 264 | czrOptions: [], |
| 265 | ruleForm: {}, | 265 | ruleForm: { |
| 266 | zdjbxx: { | ||
| 267 | ghytmc: '' | ||
| 268 | } | ||
| 269 | }, | ||
| 266 | //传递参数 | 270 | //传递参数 |
| 267 | propsParam: {}, | 271 | propsParam: {}, |
| 268 | //表单是否可操作 | 272 | //表单是否可操作 | ... | ... |
-
Please register or sign in to post a comment