From 9350800e2310423c7108bc4f3722c0cd369cecc5 Mon Sep 17 00:00:00 2001
From: zichen1019 <1510748736@qq.com>
Date: Tue, 24 Aug 2021 19:30:10 +0800
Subject: [PATCH 01/10] =?UTF-8?q?=E6=8A=A5=E6=A3=80=E7=8A=B6=E6=80=81?=
=?UTF-8?q?=E4=B8=AD=E7=A7=BB=E9=99=A4=EF=BC=9A=E4=B8=8D=E4=BA=88=E5=8F=97?=
=?UTF-8?q?=E7=90=86=E3=80=81=E8=A1=A5=E8=AF=81=E9=80=9A=E7=9F=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/bjd/dj_list.vue | 6 ------
src/views/bjd/dt_list.vue | 6 ------
src/views/bjd/jj_list.vue | 6 ------
src/views/bjd/qy_list.vue | 6 ------
4 files changed, 24 deletions(-)
diff --git a/src/views/bjd/dj_list.vue b/src/views/bjd/dj_list.vue
index 5537648..c3742a1 100644
--- a/src/views/bjd/dj_list.vue
+++ b/src/views/bjd/dj_list.vue
@@ -98,12 +98,6 @@
已审核
-
- 不予受理
-
-
- 补证通知
-
异常收回
diff --git a/src/views/bjd/dt_list.vue b/src/views/bjd/dt_list.vue
index 5e28a41..ee0ffb9 100644
--- a/src/views/bjd/dt_list.vue
+++ b/src/views/bjd/dt_list.vue
@@ -53,12 +53,6 @@
已审核
-
- 不予受理
-
-
- 补证通知
-
异常收回
diff --git a/src/views/bjd/jj_list.vue b/src/views/bjd/jj_list.vue
index 2042837..273a471 100644
--- a/src/views/bjd/jj_list.vue
+++ b/src/views/bjd/jj_list.vue
@@ -52,12 +52,6 @@
已审核
-
- 不予受理
-
-
- 补证通知
-
异常收回
diff --git a/src/views/bjd/qy_list.vue b/src/views/bjd/qy_list.vue
index b05da1c..423fae7 100644
--- a/src/views/bjd/qy_list.vue
+++ b/src/views/bjd/qy_list.vue
@@ -47,12 +47,6 @@
已审核
-
- 不予受理
-
-
- 补证通知
-
异常收回
From 1a0839267ac1b05f462e2716149a107504cdb0d8 Mon Sep 17 00:00:00 2001
From: zichen1019 <1510748736@qq.com>
Date: Tue, 24 Aug 2021 23:37:23 +0800
Subject: [PATCH 02/10] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=BD=AC=E4=BA=A4?=
=?UTF-8?q?=E5=8D=95=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/zjd/zjbg_list.vue | 111 +++++++++++++++++-------------------
src/views/zjd/zjd_list.vue | 26 +++++----
2 files changed, 69 insertions(+), 68 deletions(-)
diff --git a/src/views/zjd/zjbg_list.vue b/src/views/zjd/zjbg_list.vue
index 6468fbd..a3edb62 100644
--- a/src/views/zjd/zjbg_list.vue
+++ b/src/views/zjd/zjbg_list.vue
@@ -6,7 +6,7 @@
生成转交单
-
+
-
-
-
+
+
+
查询
@@ -49,13 +49,13 @@
清空
-
-
-
-
-
+
+
+
+
+
-
+
-
+
@@ -100,28 +100,28 @@
-
+
-
-
+
+
-
-
+
+
@@ -135,19 +135,19 @@
-
+
@@ -179,11 +179,7 @@ export default {
listQuery: {
pageNum: 1, // 页码
pageRow: 20, // 每页条数
- order: 'id', // 排序字段
- sort: 'desc',
- searchYsjl: {
- departmentId: this.$store.getters.departmentId
- }
+ orderBy: 'id desc' // 排序字段
},
flowUserList: [],
dialogFormVisible: false,
@@ -192,33 +188,24 @@ export default {
multipleSelection: [],
multipleCartSelection: [],
jianyanriqi: '',
- jylbList: [{
- code: '定期检验',
- name: '定期检验'
- }, {
- code: '监督检验',
- name: '监督检验'
- }, {
- code: '首次检验',
- name: '首次检验'
- }],
+ jylbList: [],
userList: [],
zhuanjiaoVisible: false,
zhuanjiaoCartVisible: false,
zhuanjiao: {
- zhuanjiaoren: '',
- zhuanjiaoriqi: '',
+ createBy: '',
+ createTime: '',
ysjlId: ''
},
rules: {
- zhuanjiaoren: [{ required: true, message: '转交人不能为空', trigger: 'blur', validator: this.validator }],
- zhuanjiaoriqi: [{ required: true, message: '转交日期不能为空', trigger: 'blur', validator: this.validator }]
+ createBy: [{ required: true, message: '转交人不能为空', trigger: 'blur', validator: this.validator }],
+ createTime: [{ required: true, message: '转交日期不能为空', trigger: 'blur', validator: this.validator }]
}
}
},
created() {
this.getList()
- // this.jylbList = this.$store.getters.allCategory
+ this.jylbList = this.$store.getters.allCategory.filter(row => row.parentId)
this.userList = this.$store.getters.allUser
},
mounted() {
@@ -238,14 +225,14 @@ export default {
getList() {
if (this.jianyanriqi) {
// 解析
- this.listQuery.searchYsjl.jianyankaishiriqi = this.jianyanriqi[0]
- this.listQuery.searchYsjl.jianyanjieshuriqi = this.jianyanriqi[1]
+ this.listQuery.jianyankaishiriqi = this.jianyanriqi[0]
+ this.listQuery.jianyanjieshuriqi = this.jianyanriqi[1]
} else {
- this.listQuery.searchYsjl.jianyankaishiriqi = ''
- this.listQuery.searchYsjl.jianyanjieshuriqi = ''
+ this.listQuery.jianyankaishiriqi = ''
+ this.listQuery.jianyanjieshuriqi = ''
}
this.api({
- url: '/report/getList',
+ url: '/ysjl/getListCanZj',
method: 'get',
params: this.listQuery
}).then(data => {
@@ -254,8 +241,7 @@ export default {
})
},
sortChange(column) {
- this.listQuery.order = column.prop
- this.listQuery.sort = column.order.replace('ending', '')
+ this.listQuery.orderBy = column.prop + ' ' + column.order.replace('ending', '')
this.getList()
},
getIndex($index) {
@@ -277,10 +263,10 @@ export default {
this.selection = val
},
clearQuery() {
- this.$set(this.listQuery, 'searchYsjl', {
- departmentId: this.$store.getters.departmentId,
- createBy: this.$store.getters.userId,
- printState: 0
+ this.$set(this, 'listQuery', {
+ pageNum: 1,
+ pageRow: 20,
+ orderBy: 'id desc'
})
this.jianyanriqi = ''
this.getList()
@@ -297,9 +283,18 @@ export default {
return false
}
}
- this.zhuanjiao.zhuanjiaoriqi = new Date()
- this.zhuanjiao.zhuanjiaoren = this.$store.getters.nickname
- this.zhuanjiaoVisible = true
+ this.api({
+ url: '/zjd',
+ method: 'post',
+ data: {
+ ysjlIds: this.$refs.list.selection.map(row => row.id),
+ sbzldm: this.$refs.list.selection[0].shebeizhongleidaima,
+ neibuleibie: this.$refs.list.selection[0].neibuleibie
+ }
+ }).then(data => {
+ this.getList()
+ Utils.$emit('zjd-list')
+ })
},
commitZjd() {
if (this.multipleSelection.length === 0) {
diff --git a/src/views/zjd/zjd_list.vue b/src/views/zjd/zjd_list.vue
index f30897c..f95964e 100644
--- a/src/views/zjd/zjd_list.vue
+++ b/src/views/zjd/zjd_list.vue
@@ -52,10 +52,10 @@
-
-
-
-
+
+
+
+
@@ -103,7 +103,7 @@
-
+
@@ -170,7 +170,7 @@ export default {
},
getList() {
this.api({
- url: '/zjd',
+ url: '/zjd/list',
method: 'get',
params: this.listQuery
}).then(data => {
@@ -220,9 +220,15 @@ export default {
return false
}
}
- this.zhuanjiao.querenriqi = new Date()
- this.zhuanjiao.querenren = this.$store.getters.nickname
- this.zhuanjiaoVisible = true
+ this.api({
+ url: '/zjd/complete',
+ method: 'post',
+ data: {
+ zjdIds: this.$refs.list.selection.map(row => row.id)
+ }
+ }).then(data => {
+ this.getList()
+ })
},
commitZjd() {
if (this.multipleSelection.length === 0) {
@@ -260,7 +266,7 @@ export default {
zjdId: this.list[$index].id
}
}).then(data => {
- this.zjdList = data.list
+ this.zjdList = data
this.zjdInfoVisible = true
})
},
From 56875b5fe8424cd59e29bfa61a56c6c9a57ce971 Mon Sep 17 00:00:00 2001
From: zichen1019 <1510748736@qq.com>
Date: Tue, 24 Aug 2021 23:38:10 +0800
Subject: [PATCH 03/10] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BD=92=E6=A1=A3?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/archive/archive_info.vue | 46 +++++++++++++++++-------------
src/views/archive/archive_scan.vue | 7 ++---
src/views/archive/list.vue | 9 ++++--
3 files changed, 35 insertions(+), 27 deletions(-)
diff --git a/src/views/archive/archive_info.vue b/src/views/archive/archive_info.vue
index 40dda80..52d85a7 100644
--- a/src/views/archive/archive_info.vue
+++ b/src/views/archive/archive_info.vue
@@ -1,42 +1,46 @@
-
-
-
-
-
-
-
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
@@ -84,6 +88,8 @@ export default {
}
}).then(data => {
this.archive = data.archive
+ this.archive.createBy = this.formatter.getChineseName(null, null, this.archive.createBy)
+ this.archive.createTime = this.formatter.dateFormat('YYYY-MM-dd', new Date(this.archive.createTime))
this.paramList = data.paramList
})
}
diff --git a/src/views/archive/archive_scan.vue b/src/views/archive/archive_scan.vue
index c714e43..a0b05b7 100644
--- a/src/views/archive/archive_scan.vue
+++ b/src/views/archive/archive_scan.vue
@@ -36,7 +36,7 @@
-
+
@@ -161,11 +161,10 @@ export default {
this.api({
url: '/archive',
- method: 'post',
+ method: this.isAppend ? 'put' : 'post',
data: {
archive: this.archive,
- params: archiveParamList,
- isAppend: this.isAppend
+ params: archiveParamList
}
}).then(() => {
this.$message.success('添加成功。')
diff --git a/src/views/archive/list.vue b/src/views/archive/list.vue
index 678e803..e6f8883 100644
--- a/src/views/archive/list.vue
+++ b/src/views/archive/list.vue
@@ -50,15 +50,15 @@
-
+
-
-
+
+
@@ -166,6 +166,9 @@ export default {
this.archiveId = id
this.$refs.archive_scan.dialog = true
this.$refs.archive_scan.doInit()
+ },
+ formatterDate(row, column, cellValue) {
+ return this.formatter.dateFormat('YYYY-MM-dd', new Date(cellValue))
}
}
}
From a9978d8c1716e50f5ad6a98809053a2e638e2704 Mon Sep 17 00:00:00 2001
From: zichen1019 <1510748736@qq.com>
Date: Tue, 24 Aug 2021 23:38:47 +0800
Subject: [PATCH 04/10] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=94=B6=E8=B4=B9?=
=?UTF-8?q?=E5=8D=95=E7=BC=96=E5=8F=B7=E6=9F=A5=E8=AF=A2=E6=A1=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/print/1000/print_list.vue | 1 -
src/views/print/2000/print_list.vue | 1 -
src/views/print/3000/print_list.vue | 1 -
src/views/print/4000/print_list.vue | 1 -
src/views/print/5000/print_list.vue | 1 -
5 files changed, 5 deletions(-)
diff --git a/src/views/print/1000/print_list.vue b/src/views/print/1000/print_list.vue
index 40219e3..ea4ef2b 100644
--- a/src/views/print/1000/print_list.vue
+++ b/src/views/print/1000/print_list.vue
@@ -43,7 +43,6 @@
-
diff --git a/src/views/print/2000/print_list.vue b/src/views/print/2000/print_list.vue
index c67d769..7048162 100644
--- a/src/views/print/2000/print_list.vue
+++ b/src/views/print/2000/print_list.vue
@@ -43,7 +43,6 @@
-
diff --git a/src/views/print/3000/print_list.vue b/src/views/print/3000/print_list.vue
index 74dcb08..4fee6ff 100644
--- a/src/views/print/3000/print_list.vue
+++ b/src/views/print/3000/print_list.vue
@@ -46,7 +46,6 @@
-
diff --git a/src/views/print/4000/print_list.vue b/src/views/print/4000/print_list.vue
index 798f94d..ece92f8 100644
--- a/src/views/print/4000/print_list.vue
+++ b/src/views/print/4000/print_list.vue
@@ -61,7 +61,6 @@
-
diff --git a/src/views/print/5000/print_list.vue b/src/views/print/5000/print_list.vue
index a47a0a5..2e31a3d 100644
--- a/src/views/print/5000/print_list.vue
+++ b/src/views/print/5000/print_list.vue
@@ -43,7 +43,6 @@
-
From 3366666822b34ad8f89ff7fb58f1bbcf2e704ec4 Mon Sep 17 00:00:00 2001
From: zichen1019 <1510748736@qq.com>
Date: Wed, 25 Aug 2021 18:48:42 +0800
Subject: [PATCH 05/10] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=A5=E6=A3=80?=
=?UTF-8?q?=E5=8F=8A=E5=88=86=E9=85=8D=E9=A1=B5=E9=9D=A2bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/allot/components/chengya_list.vue | 1057 -------------------
src/views/allot/components/jidian_list.vue | 784 --------------
src/views/allot/list.vue | 1000 +++++++++++++++++-
src/views/bjd/dt_list.vue | 9 +-
src/views/bjd/jj_list.vue | 4 +-
src/views/task/list.vue | 67 +-
6 files changed, 978 insertions(+), 1943 deletions(-)
delete mode 100644 src/views/allot/components/chengya_list.vue
delete mode 100644 src/views/allot/components/jidian_list.vue
diff --git a/src/views/allot/components/chengya_list.vue b/src/views/allot/components/chengya_list.vue
deleted file mode 100644
index 8409d42..0000000
--- a/src/views/allot/components/chengya_list.vue
+++ /dev/null
@@ -1,1057 +0,0 @@
-
-
-
-
-
-
- 批量分配
-
-
- 异常退回
-
-
- 作废数据
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
-
-
- 清除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 申请现场检验:
-
-
- 否
-
-
- 是
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 定期检验
- 监督检验
- 首次检验
- 制造检验
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{
- scope.row.allotNum
- }}
- /
- {{
- scope.row.totalNum
- }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 执行分配
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/allot/components/jidian_list.vue b/src/views/allot/components/jidian_list.vue
deleted file mode 100644
index c04dada..0000000
--- a/src/views/allot/components/jidian_list.vue
+++ /dev/null
@@ -1,784 +0,0 @@
-
-
-
-
-
-
- 批量分配
-
-
- 标注现场检验
-
-
-
- 取消现场检验
-
-
- 标注部分设备现场检验
-
-
- 异常退回
-
-
- 作废数据
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
-
-
- 清除
-
-
-
-
-
-
-
-
-
-
-
-
-
- 申请现场检验:
-
-
- 否
-
-
- 是
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 电梯({{ scope.row.shebeileixing }})
- {{ scope.row.shebeizhonglei }}
-
-
-
-
- 定期检验
- 监督检验
- 首次检验
- 制造检验
-
-
-
-
-
-
- {{ scope.row.weibaodanwei }}
- {{ scope.row.shigongdanwei }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.allotNum }} / {{ scope.row.totalNum }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 执行分配
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提交
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提交
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/allot/list.vue b/src/views/allot/list.vue
index e7ce191..e1b5bde 100644
--- a/src/views/allot/list.vue
+++ b/src/views/allot/list.vue
@@ -1,65 +1,977 @@
-
-
+
+
+
+
+
+ 批量分配
+
+
+ 异常退回
+
+
+ 作废数据
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+ 清除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 定期检验
+ 监督检验
+ 首次检验
+ 制造检验
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ scope.row.allotNum
+ }}
+ /
+ {{
+ scope.row.totalNum
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 执行分配
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/bjd/dt_list.vue b/src/views/bjd/dt_list.vue
index ee0ffb9..8663f91 100644
--- a/src/views/bjd/dt_list.vue
+++ b/src/views/bjd/dt_list.vue
@@ -73,7 +73,7 @@
受理人员:
-
+
只看自己
@@ -148,9 +148,8 @@