From 7eaf73347396cf5c091d05c29065ac51ff17f947 Mon Sep 17 00:00:00 2001 From: xiaobai <857694115@qq.com> Date: Fri, 16 Jul 2021 18:21:43 +0800 Subject: [PATCH] =?UTF-8?q?7.16=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/allot/rwd_list.vue | 10 + src/views/allot/tuihui_list.vue | 25 +- src/views/allot/zuofei_list.vue | 2 +- src/views/bjd/dj_create.vue | 11 +- src/views/bjd/dj_input.vue | 1508 ++++++++++++++++++++++++------- src/views/bjd/dj_list.vue | 5 +- src/views/bjd/jj_list.vue | 3 - src/views/search/list.vue | 2 +- src/views/task/list.vue | 36 + 9 files changed, 1251 insertions(+), 351 deletions(-) diff --git a/src/views/allot/rwd_list.vue b/src/views/allot/rwd_list.vue index f3da577..9dbe35b 100644 --- a/src/views/allot/rwd_list.vue +++ b/src/views/allot/rwd_list.vue @@ -98,6 +98,7 @@ @@ -222,6 +223,15 @@ export default { this.$router.push({ path: '/bjd/bjd-jj-input/' + bjd.bjdId + '/' + bjd.shebeizhongleidaima + '/' + bjd.shebeizhongleidaima + type }) } }, + modifyBjd($index) { + const bjd = this.list[$index] + const type = '/finish' + if (bjd.jianyanleibie === 'DJ') { + this.$router.push({ path: '/bjd/bjd-dj-input/' + bjd.bjdId + '/' + bjd.shebeizhongleidaima + '/' + bjd.shebeizhongleidaima + type, params: { form: 1 }}) + } else { + this.$router.push({ path: '/bjd/bjd-jj-input/' + bjd.bjdId + '/' + bjd.shebeizhongleidaima + '/' + bjd.shebeizhongleidaima + type, params: { form: 1 }}) + } + }, printRwd() { if (this.multipleSelection.length > 1) { this.$message({ message: '只能打印一份任务单', type: 'error' }) diff --git a/src/views/allot/tuihui_list.vue b/src/views/allot/tuihui_list.vue index 2b7a965..4c502cf 100644 --- a/src/views/allot/tuihui_list.vue +++ b/src/views/allot/tuihui_list.vue @@ -19,11 +19,11 @@ - + - - + + 查询 @@ -31,8 +31,8 @@ 清除
- - + +
@@ -76,9 +76,6 @@      - - - @@ -159,8 +156,7 @@ export default { tempDepartment: {}, listQuery: { pageNum: 1, // 页码 - pageRow: 20, // 每页条数 - searchRw: {} + pageRow: 20 // 每页条数 }, renwudan: { teamId: '', @@ -192,7 +188,7 @@ export default { } }, created() { - this.getList() + // this.getList() this.getSbzlList() this.getDepartment() this.getUserList(this.departmentId) @@ -263,7 +259,7 @@ export default { }, viewBohui(id) { // 任务撤回 this.api({ - url: '/taskinfoView/list', + url: '/taskinfo/list', method: 'get', params: { renwuId: id @@ -465,11 +461,14 @@ export default { }, handleFilter() { // 查询事件 + console.log(this.listQuery) this.listQuery.pageNum = 1 this.getList() }, clearSearch() { - this.listQuery.searchRw = { + this.listQuery = { + pageNum: 1, // 页码 + pageRow: 20 } this.getList() }, diff --git a/src/views/allot/zuofei_list.vue b/src/views/allot/zuofei_list.vue index 7b98375..482581b 100644 --- a/src/views/allot/zuofei_list.vue +++ b/src/views/allot/zuofei_list.vue @@ -123,7 +123,7 @@ export default { }, viewBohui(id) { // 任务撤回 this.api({ - url: '/taskinfoView/list', + url: '/taskinfo/list', method: 'get', params: { renwuId: id diff --git a/src/views/bjd/dj_create.vue b/src/views/bjd/dj_create.vue index 004dcf0..88165b9 100644 --- a/src/views/bjd/dj_create.vue +++ b/src/views/bjd/dj_create.vue @@ -243,8 +243,15 @@ export default { }, handleFilter() { // 查询事件 - this.listQuery.pageNum = 1 - this.getList() + if (!this.listQuery.shebeizhongleidaima) { + this.$message({ + message: '请先选择设备种类', + type: 'warning' + }) + } else { + this.listQuery.pageNum = 1 + this.getList() + } }, clearSearch() { this.listQuery = { diff --git a/src/views/bjd/dj_input.vue b/src/views/bjd/dj_input.vue index aa3cbcc..4699297 100644 --- a/src/views/bjd/dj_input.vue +++ b/src/views/bjd/dj_input.vue @@ -1,16 +1,32 @@ - + + 下载导入模板 - +
设备种类 - + @@ -60,7 +108,17 @@ 基本信息 - + @@ -79,7 +137,17 @@ - + @@ -102,7 +170,10 @@ - + @@ -115,7 +186,17 @@
- + @@ -127,7 +208,17 @@ - + @@ -135,40 +226,115 @@
- - - + + + - - - + + + - - + + - - + + - + -
+
@@ -184,97 +350,75 @@
- +
-
- 非税系统交费信息 - - - 请正确填写发票信息中的内容和收取电子发票的邮箱地址 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- 领取信息 - - - - - - - - - - - 修改地址 - - -
- + - - + + - +