ywlsbtn
Showing
3 changed files
with
134 additions
and
13 deletions
| ... | @@ -302,6 +302,70 @@ | ... | @@ -302,6 +302,70 @@ |
| 302 | </el-input> | 302 | </el-input> |
| 303 | </el-form-item> | 303 | </el-form-item> |
| 304 | </el-col> | 304 | </el-col> |
| 305 | <el-col :span="8"> | ||
| 306 | <el-form-item :prop="'obligeeList.' + index + '.QLLX'" :rules="rules.QLLX"> | ||
| 307 | <span slot="label"> | ||
| 308 | 权利类型: <br /> | ||
| 309 | <p class="label-detail">(QLLX)</p> | ||
| 310 | </span> | ||
| 311 | <el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QLLX"> | ||
| 312 | </el-input> | ||
| 313 | </el-form-item> | ||
| 314 | </el-col> | ||
| 315 | <el-col :span="8"> | ||
| 316 | <el-form-item :prop="'obligeeList.' + index + '.YWH'" :rules="rules.YWH"> | ||
| 317 | <span slot="label"> | ||
| 318 | 业务号: <br /> | ||
| 319 | <p class="label-detail">(YWH)</p> | ||
| 320 | </span> | ||
| 321 | <el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].YWH"> | ||
| 322 | </el-input> | ||
| 323 | </el-form-item> | ||
| 324 | </el-col> | ||
| 325 | </el-row> | ||
| 326 | <el-row class="obligee-item-input"> | ||
| 327 | <el-col :span="8"> | ||
| 328 | <el-form-item :prop="'obligeeList.' + index + '.QLRTZ'" :rules="rules.QLRTZ"> | ||
| 329 | <span slot="label"> | ||
| 330 | 权利人特征: <br /> | ||
| 331 | <p class="label-detail">(QLRTZ)</p> | ||
| 332 | </span> | ||
| 333 | <el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QLRTZ"> | ||
| 334 | </el-input> | ||
| 335 | </el-form-item> | ||
| 336 | </el-col> | ||
| 337 | <el-col :span="8"> | ||
| 338 | <el-form-item :prop="'obligeeList.' + index + '.CBFBM'" :rules="rules.CBFBM"> | ||
| 339 | <span slot="label"> | ||
| 340 | 承包方代码: <br /> | ||
| 341 | <p class="label-detail">(CBFBM)</p> | ||
| 342 | </span> | ||
| 343 | <el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].CBFBM"> | ||
| 344 | </el-input> | ||
| 345 | </el-form-item> | ||
| 346 | </el-col> | ||
| 347 | <el-col :span="8"> | ||
| 348 | <el-form-item :prop="'obligeeList.' + index + '.FBFBM'" :rules="rules.FBFBM"> | ||
| 349 | <span slot="label"> | ||
| 350 | 发包方代码: <br /> | ||
| 351 | <p class="label-detail">(FBFBM)</p> | ||
| 352 | </span> | ||
| 353 | <el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].FBFBM"> | ||
| 354 | </el-input> | ||
| 355 | </el-form-item> | ||
| 356 | </el-col> | ||
| 357 | </el-row> | ||
| 358 | <el-row class="obligee-item-input"> | ||
| 359 | <el-col :span="8"> | ||
| 360 | <el-form-item :prop="'obligeeList.' + index + '.QSZT'" :rules="rules.QSZT"> | ||
| 361 | <span slot="label"> | ||
| 362 | 权属状态: <br /> | ||
| 363 | <p class="label-detail">(QSZT)</p> | ||
| 364 | </span> | ||
| 365 | <el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QSZT"> | ||
| 366 | </el-input> | ||
| 367 | </el-form-item> | ||
| 368 | </el-col> | ||
| 305 | </el-row> | 369 | </el-row> |
| 306 | </div> | 370 | </div> |
| 307 | </div> | 371 | </div> |
| ... | @@ -309,11 +373,11 @@ | ... | @@ -309,11 +373,11 @@ |
| 309 | </div> | 373 | </div> |
| 310 | </template> | 374 | </template> |
| 311 | <script> | 375 | <script> |
| 312 | import zttGyQlr from "@/api/zttGyQlr"; | 376 | import zttGyQlr from "@/api/zttGyQlr"; |
| 313 | import ruleMixin from "@/mixins/ruleMixin.js"; | 377 | import ruleMixin from "@/mixins/ruleMixin.js"; |
| 314 | import treeSelect from "@/components/TreeSelect.vue"; | 378 | import treeSelect from "@/components/TreeSelect.vue"; |
| 315 | // 权利人 | 379 | // 权利人 |
| 316 | export default { | 380 | export default { |
| 317 | mixins: [ruleMixin], | 381 | mixins: [ruleMixin], |
| 318 | props: { | 382 | props: { |
| 319 | bsmSjsb: { | 383 | bsmSjsb: { |
| ... | @@ -379,12 +443,12 @@ export default { | ... | @@ -379,12 +443,12 @@ export default { |
| 379 | }); | 443 | }); |
| 380 | }, | 444 | }, |
| 381 | }, | 445 | }, |
| 382 | }; | 446 | }; |
| 383 | </script> | 447 | </script> |
| 384 | <style scoped lang="scss"> | 448 | <style scoped lang="scss"> |
| 385 | @import "./css/itemForm.scss"; | 449 | @import "./css/itemForm.scss"; |
| 386 | 450 | ||
| 387 | .obligee-item { | 451 | .obligee-item { |
| 388 | display: flex; | 452 | display: flex; |
| 389 | height: 100%; | 453 | height: 100%; |
| 390 | margin-bottom: 15px; | 454 | margin-bottom: 15px; |
| ... | @@ -408,7 +472,7 @@ export default { | ... | @@ -408,7 +472,7 @@ export default { |
| 408 | justify-content: center; | 472 | justify-content: center; |
| 409 | flex-direction: column; | 473 | flex-direction: column; |
| 410 | } | 474 | } |
| 411 | } | 475 | } |
| 412 | </style> | 476 | </style> |
| 413 | 477 | ||
| 414 | 478 | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-04-27 13:44:16 | 4 | * @LastEditTime: 2023-04-27 16:59:53 |
| 5 | */ | 5 | */ |
| 6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
| 7 | let vm = null | 7 | let vm = null |
| ... | @@ -80,6 +80,9 @@ class data extends filter { | ... | @@ -80,6 +80,9 @@ class data extends filter { |
| 80 | prop: "recflowid", | 80 | prop: "recflowid", |
| 81 | label: "业务流水号", | 81 | label: "业务流水号", |
| 82 | minWidth: 100, | 82 | minWidth: 100, |
| 83 | render: (h, scope) => { | ||
| 84 | return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.recflowid}</el-button> | ||
| 85 | } | ||
| 83 | }, | 86 | }, |
| 84 | { | 87 | { |
| 85 | prop: "estatenum", | 88 | prop: "estatenum", | ... | ... |
| ... | @@ -48,7 +48,7 @@ | ... | @@ -48,7 +48,7 @@ |
| 48 | <el-input v-model.trim="form.ywh" class="width100" clearable placeholder="业务流水号"></el-input> | 48 | <el-input v-model.trim="form.ywh" class="width100" clearable placeholder="业务流水号"></el-input> |
| 49 | </el-form-item> | 49 | </el-form-item> |
| 50 | </el-col> | 50 | </el-col> |
| 51 | <el-col :span="6"> | 51 | <el-col :span="3"> |
| 52 | <el-form-item label="权利类型" prop="qllx"> | 52 | <el-form-item label="权利类型" prop="qllx"> |
| 53 | <el-select v-model="form.qllx" class="width100" clearable placeholder="权利类型"> | 53 | <el-select v-model="form.qllx" class="width100" clearable placeholder="权利类型"> |
| 54 | <el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 54 | <el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
| ... | @@ -56,7 +56,7 @@ | ... | @@ -56,7 +56,7 @@ |
| 56 | </el-select> | 56 | </el-select> |
| 57 | </el-form-item> | 57 | </el-form-item> |
| 58 | </el-col> | 58 | </el-col> |
| 59 | <el-col :span="6"> | 59 | <el-col :span="3"> |
| 60 | <el-form-item label="登记类型" prop="djlx"> | 60 | <el-form-item label="登记类型" prop="djlx"> |
| 61 | <el-select v-model="form.djlx" class="width100" clearable placeholder="登记类型"> | 61 | <el-select v-model="form.djlx" class="width100" clearable placeholder="登记类型"> |
| 62 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 62 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
| ... | @@ -64,6 +64,25 @@ | ... | @@ -64,6 +64,25 @@ |
| 64 | </el-select> | 64 | </el-select> |
| 65 | </el-form-item> | 65 | </el-form-item> |
| 66 | </el-col> | 66 | </el-col> |
| 67 | <el-col :span="3"> | ||
| 68 | <el-form-item label="检查结果" prop="jcjg"> | ||
| 69 | <el-select v-model="form.jcjg" class="width100" clearable placeholder="检查结果"> | ||
| 70 | <el-option v-for="item in dicData['sysSjsbCkeck']" class="lastdom" :key="item.DCODE" :label="item.DNAME" | ||
| 71 | :value="item.DCODE"> | ||
| 72 | </el-option> | ||
| 73 | </el-select> | ||
| 74 | |||
| 75 | </el-form-item> | ||
| 76 | </el-col> | ||
| 77 | <el-col :span="3"> | ||
| 78 | <el-form-item label="入库结果" prop="rkjg"> | ||
| 79 | <el-select v-model="form.rkjg" class="width100" clearable placeholder="入库结果"> | ||
| 80 | <el-option v-for="item in dicData['sysSjsbStorage']" class="lastdom" :key="item.DCODE" :label="item.DNAME" | ||
| 81 | :value="item.DCODE"> | ||
| 82 | </el-option> | ||
| 83 | </el-select> | ||
| 84 | </el-form-item> | ||
| 85 | </el-col> | ||
| 67 | <!-- 操作按钮 --> | 86 | <!-- 操作按钮 --> |
| 68 | <el-col :span="6" class="btnColRight"> | 87 | <el-col :span="6" class="btnColRight"> |
| 69 | <btn nativeType="cz" @click="resetForm">重置</btn> | 88 | <btn nativeType="cz" @click="resetForm">重置</btn> |
| ... | @@ -203,7 +222,7 @@ | ... | @@ -203,7 +222,7 @@ |
| 203 | }, | 222 | }, |
| 204 | // 初始化数据 | 223 | // 初始化数据 |
| 205 | featchData () { | 224 | featchData () { |
| 206 | getSjsbReportPage({ ...this.form }).then((res) => { | 225 | getSjsbReportPage({ ...this.form, ...this.formData }).then((res) => { |
| 207 | if (res.code === 200) { | 226 | if (res.code === 200) { |
| 208 | let { total, records, current } = res.result; | 227 | let { total, records, current } = res.result; |
| 209 | this.tableData.total = total; | 228 | this.tableData.total = total; |
| ... | @@ -231,10 +250,45 @@ | ... | @@ -231,10 +250,45 @@ |
| 231 | this.form.currentPage = 1 | 250 | this.form.currentPage = 1 |
| 232 | this.featchData(); | 251 | this.featchData(); |
| 233 | }, | 252 | }, |
| 253 | ywhClick (item) { | ||
| 254 | window.open('http://192.168.2.38/bdcdj#/workFrame?bsmSlsq=4582b05a4d49c25673eb0880b5787e58&bestepid=sl&bsmBusiness=&sqywbm=A03100', '_blank') | ||
| 255 | //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 | ||
| 256 | // judgeUserTaskPermission({ | ||
| 257 | // bsmSlsq: item.bsmSlsq, | ||
| 258 | // bestepid: item.bestepid, | ||
| 259 | // }).then((res) => { | ||
| 260 | // if (res.code == 200) { | ||
| 261 | // if (res.result) { | ||
| 262 | // //有任务权限 | ||
| 263 | // const { href } = this.$router.resolve( | ||
| 264 | // "/workFrame?bsmSlsq=" + | ||
| 265 | // item.bsmSlsq + | ||
| 266 | // "&bestepid=" + | ||
| 267 | // item.bestepid + | ||
| 268 | // "&bsmBusiness=" + | ||
| 269 | // "&sqywbm=" + | ||
| 270 | // item.djywbm | ||
| 271 | // ); | ||
| 272 | // localStorage.setItem('ywbl', JSON.stringify(item)); | ||
| 273 | // window.open(href, `urlname${item.bsmSlsq}`); | ||
| 274 | // //从待办箱进入的调取任务领取接口 | ||
| 275 | // claimTask(item.bsmSlsq, item.bestepid); | ||
| 276 | // } else { | ||
| 277 | // //无任务权限 | ||
| 278 | // this.$message.error("无该任务操作权限,或已被他人抢办,请重新操作"); | ||
| 279 | // //刷新页面 | ||
| 280 | // this.queryClick(); | ||
| 281 | // } | ||
| 282 | // } else { | ||
| 283 | // this.$message.error("用户任务权限判断失败,请联系管理员"); | ||
| 284 | // } | ||
| 285 | // }); | ||
| 286 | }, | ||
| 234 | }, | 287 | }, |
| 235 | destroyed () { | 288 | destroyed () { |
| 236 | this.$store.dispatch('business/setEdit') | 289 | this.$store.dispatch('business/setEdit') |
| 237 | } | 290 | } |
| 291 | |||
| 238 | } | 292 | } |
| 239 | </script> | 293 | </script> |
| 240 | <style scoped lang="scss"> | 294 | <style scoped lang="scss"> | ... | ... |
-
Please register or sign in to post a comment