From fb3028dd67c7924d058b0ef66514f771e5f9eb0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E9=A3=9E?= Date: Mon, 17 Feb 2020 16:40:46 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E5=B9=B2=E9=83=A8=E8=AF=84=E4=BB=B7?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/img/like.png | Bin 0 -> 900 bytes src/assets/img/oppose.png | Bin 0 -> 806 bytes src/views/modules/custom/evaluatecount.vue | 32 +++ .../custom/evaluatedept-add-or-update.vue | 166 ++++++++++++++++ src/views/modules/custom/evaluatedept.vue | 85 ++++++++ .../modules/custom/evaluatedeptcount.vue | 126 ++++++++++++ .../modules/custom/evaluatedeptroute.vue | 29 +++ src/views/modules/custom/evaluateinfo.vue | 151 +++++++++++++++ .../custom/evaluateofficer-add-or-update.vue | 156 +++++++++++++++ .../modules/custom/evaluateofficer-add.vue | 160 +++++++++++++++ src/views/modules/custom/evaluateofficer.vue | 182 ++++++++++++++++++ .../modules/custom/evaluateofficercount.vue | 127 ++++++++++++ .../custom/evaluateoption-add-or-update.vue | 141 ++++++++++++++ src/views/modules/custom/evaluateoption.vue | 135 +++++++++++++ .../custom/evaluaterole-add-or-update.vue | 120 ++++++++++++ .../modules/custom/evaluaterole-switch.vue | 69 +++++++ src/views/modules/custom/evaluaterole.vue | 74 +++++++ 17 files changed, 1753 insertions(+) create mode 100644 src/assets/img/like.png create mode 100644 src/assets/img/oppose.png create mode 100644 src/views/modules/custom/evaluatecount.vue create mode 100644 src/views/modules/custom/evaluatedept-add-or-update.vue create mode 100644 src/views/modules/custom/evaluatedept.vue create mode 100644 src/views/modules/custom/evaluatedeptcount.vue create mode 100644 src/views/modules/custom/evaluatedeptroute.vue create mode 100644 src/views/modules/custom/evaluateinfo.vue create mode 100644 src/views/modules/custom/evaluateofficer-add-or-update.vue create mode 100644 src/views/modules/custom/evaluateofficer-add.vue create mode 100644 src/views/modules/custom/evaluateofficer.vue create mode 100644 src/views/modules/custom/evaluateofficercount.vue create mode 100644 src/views/modules/custom/evaluateoption-add-or-update.vue create mode 100644 src/views/modules/custom/evaluateoption.vue create mode 100644 src/views/modules/custom/evaluaterole-add-or-update.vue create mode 100644 src/views/modules/custom/evaluaterole-switch.vue create mode 100644 src/views/modules/custom/evaluaterole.vue diff --git a/src/assets/img/like.png b/src/assets/img/like.png new file mode 100644 index 0000000000000000000000000000000000000000..18a712e70cee428f630977ef80440e87fe284dbd GIT binary patch literal 900 zcmV-~1AF|5P)MpjSGUphhsL~K_KrH z;-UfK(BBVoC!jY891<`M@CpF;nk0R@uK=?n7&_znb0l>6`E2u*b2t}={sSOihcIny zy05PQ^~m2za6hD1jLmkHVsXWP5Ds6HipOg^gcCF&G>uKeUd79}Rdqpo=L>khmZUq{LXF6q5}aow{RZI2#Q+56h+<~Uw%+Rm z))62M{Tl^L60C~)z&o2A$cNn9>A3F#`lDcGww=VOGNAx3j)J6grEBHVr|Xp66*lqL zGQg$N;!$@3uKUj7uaeG|ZjoF^;l44O9%%oMH(QQilQeK1s`!@h_6#NWei%HTYMR#yfV0M?m4O4yZ$dBl719x7vzrGFP#^Wi={jFXnyK0B{=oxO z{72~UrLwh+&7T@LKpX|-!8Wn@{%Aw=y$fswm!5O{(-MX}n+;ci^800001KIqEP)GT6vw}B#%-6#*4;!iF*0|yNTZM-s7sKrl+~fagNN!+)XrE?L_s0iUW^Kf+CO@% zqtwwX3cT2@NTM`$))0ycs~K5xHFf93Y;Ksly1S5W2j}{Ge?GtOd%yRFkmrx`oFB^o z*(<%kE2A z0XTwckO1%OWR8IPk_fd7;eakzb!P;aF|dciM?|Iv3FQRTXlJB>xxOh1{7V2cnKP(9 z2H;`FeO-}`FFim=^?+eQjA*h{y5s$66jhq9J5}b)jiMbJk)d1hqWcP{805cZO4t0yczc*rH9UHhsz&tfF*rsLUTbpI6A*D$+i;R#U3206Jb0BFrdj&^`a}_2t=BQ_%54u7vLkt zDFPY+eyGXrql*s^itHxlzB!3vlgvAQDDJ^U2S{{&Alytu4FD + + + + + + + diff --git a/src/views/modules/custom/evaluatedept-add-or-update.vue b/src/views/modules/custom/evaluatedept-add-or-update.vue new file mode 100644 index 00000000..872a4522 --- /dev/null +++ b/src/views/modules/custom/evaluatedept-add-or-update.vue @@ -0,0 +1,166 @@ + + + diff --git a/src/views/modules/custom/evaluatedept.vue b/src/views/modules/custom/evaluatedept.vue new file mode 100644 index 00000000..f5703725 --- /dev/null +++ b/src/views/modules/custom/evaluatedept.vue @@ -0,0 +1,85 @@ + + + diff --git a/src/views/modules/custom/evaluatedeptcount.vue b/src/views/modules/custom/evaluatedeptcount.vue new file mode 100644 index 00000000..f4d728a9 --- /dev/null +++ b/src/views/modules/custom/evaluatedeptcount.vue @@ -0,0 +1,126 @@ + + + diff --git a/src/views/modules/custom/evaluatedeptroute.vue b/src/views/modules/custom/evaluatedeptroute.vue new file mode 100644 index 00000000..81491838 --- /dev/null +++ b/src/views/modules/custom/evaluatedeptroute.vue @@ -0,0 +1,29 @@ + + + + diff --git a/src/views/modules/custom/evaluateinfo.vue b/src/views/modules/custom/evaluateinfo.vue new file mode 100644 index 00000000..37cd71e4 --- /dev/null +++ b/src/views/modules/custom/evaluateinfo.vue @@ -0,0 +1,151 @@ + + + diff --git a/src/views/modules/custom/evaluateofficer-add-or-update.vue b/src/views/modules/custom/evaluateofficer-add-or-update.vue new file mode 100644 index 00000000..7b40d359 --- /dev/null +++ b/src/views/modules/custom/evaluateofficer-add-or-update.vue @@ -0,0 +1,156 @@ + + + diff --git a/src/views/modules/custom/evaluateofficer-add.vue b/src/views/modules/custom/evaluateofficer-add.vue new file mode 100644 index 00000000..a1ca7739 --- /dev/null +++ b/src/views/modules/custom/evaluateofficer-add.vue @@ -0,0 +1,160 @@ + + + diff --git a/src/views/modules/custom/evaluateofficer.vue b/src/views/modules/custom/evaluateofficer.vue new file mode 100644 index 00000000..5fcebfc6 --- /dev/null +++ b/src/views/modules/custom/evaluateofficer.vue @@ -0,0 +1,182 @@ + + + diff --git a/src/views/modules/custom/evaluateofficercount.vue b/src/views/modules/custom/evaluateofficercount.vue new file mode 100644 index 00000000..26501997 --- /dev/null +++ b/src/views/modules/custom/evaluateofficercount.vue @@ -0,0 +1,127 @@ + + + diff --git a/src/views/modules/custom/evaluateoption-add-or-update.vue b/src/views/modules/custom/evaluateoption-add-or-update.vue new file mode 100644 index 00000000..d7154b88 --- /dev/null +++ b/src/views/modules/custom/evaluateoption-add-or-update.vue @@ -0,0 +1,141 @@ + + + diff --git a/src/views/modules/custom/evaluateoption.vue b/src/views/modules/custom/evaluateoption.vue new file mode 100644 index 00000000..79be1e8b --- /dev/null +++ b/src/views/modules/custom/evaluateoption.vue @@ -0,0 +1,135 @@ + + + diff --git a/src/views/modules/custom/evaluaterole-add-or-update.vue b/src/views/modules/custom/evaluaterole-add-or-update.vue new file mode 100644 index 00000000..b8fe255f --- /dev/null +++ b/src/views/modules/custom/evaluaterole-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/src/views/modules/custom/evaluaterole-switch.vue b/src/views/modules/custom/evaluaterole-switch.vue new file mode 100644 index 00000000..51b2368b --- /dev/null +++ b/src/views/modules/custom/evaluaterole-switch.vue @@ -0,0 +1,69 @@ + + + diff --git a/src/views/modules/custom/evaluaterole.vue b/src/views/modules/custom/evaluaterole.vue new file mode 100644 index 00000000..2080f4a1 --- /dev/null +++ b/src/views/modules/custom/evaluaterole.vue @@ -0,0 +1,74 @@ + + + From 7933110d369cdb61144d63abc6aa87018cca59c2 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Mon, 17 Feb 2020 21:25:46 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E5=B9=B2=E9=83=A8=E8=AF=84=E4=BB=B7?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=A4=B1=E8=B4=A5=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/custom/evaluateofficer.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/views/modules/custom/evaluateofficer.vue b/src/views/modules/custom/evaluateofficer.vue index 5fcebfc6..5f4975d9 100644 --- a/src/views/modules/custom/evaluateofficer.vue +++ b/src/views/modules/custom/evaluateofficer.vue @@ -140,7 +140,7 @@ export default { backToDeptList () { this.$emit('refreshDataList') this.$parent.selectComponent = 'Evaluatedept' - this.$router.push({ path: '/custom-evaluatedeptroute'}) + this.$router.push({ path: '/custom-evaluatedeptroute' }) }, evaluateofficerAddHandle (deptId) { this.evaluateofficerAddVisible = true @@ -150,11 +150,11 @@ export default { }) }, beforeUpload (file) { - if(confirm('上传会覆盖之前数据,是否继续?')==true){ - return true - }else{ - return false - } + if (confirm('上传会覆盖之前数据,是否继续?') === true) { + return true + } else { + return false + } }, errorExceed (file, fileList) { this.$message.error('上传失败请重试') @@ -163,6 +163,9 @@ export default { this.getDataList()// 刷新列表 this.dataListLoading = false this.$refs.upload.clearFiles() + if (response.code !== 0) { + this.$message.error('上传失败请重试') + } if (response.data !== null && response.data.length > 0) { this.faultDataVisible = true this.errordataList = response.data From 045bc9a3a778d05521c9b7b75e7adfbf13c23087 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Tue, 18 Feb 2020 11:38:45 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E5=B9=B2=E9=83=A8=E8=AF=84=E4=BB=B7?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=8A=9F=E8=83=BD=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/custom/evaluateofficer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/modules/custom/evaluateofficer.vue b/src/views/modules/custom/evaluateofficer.vue index 5f4975d9..6ebe8716 100644 --- a/src/views/modules/custom/evaluateofficer.vue +++ b/src/views/modules/custom/evaluateofficer.vue @@ -164,7 +164,7 @@ export default { this.dataListLoading = false this.$refs.upload.clearFiles() if (response.code !== 0) { - this.$message.error('上传失败请重试') + this.$message.error(response.data) } if (response.data !== null && response.data.length > 0) { this.faultDataVisible = true From 672e1401cd62c2e11e074ec3e499ebdc126ca092 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Tue, 18 Feb 2020 13:32:00 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E8=A1=97=E9=81=93=E5=B9=B2=E9=83=A8?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=8A=A0=E5=BA=8F=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/custom/evaluatedept.vue | 7 ++++++- src/views/modules/custom/evaluateofficer.vue | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/views/modules/custom/evaluatedept.vue b/src/views/modules/custom/evaluatedept.vue index f5703725..7aefd292 100644 --- a/src/views/modules/custom/evaluatedept.vue +++ b/src/views/modules/custom/evaluatedept.vue @@ -19,7 +19,12 @@ - + + + + diff --git a/src/views/modules/custom/evaluateofficer.vue b/src/views/modules/custom/evaluateofficer.vue index 6ebe8716..7967e7cb 100644 --- a/src/views/modules/custom/evaluateofficer.vue +++ b/src/views/modules/custom/evaluateofficer.vue @@ -62,7 +62,12 @@ - + + + + From a1763139235b1153b93e748458f09c1e13819ec3 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Tue, 18 Feb 2020 16:44:37 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E8=BE=93=E5=85=A5=E9=95=BF=E5=BA=A6?= =?UTF-8?q?=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/custom/evaluateofficer-add-or-update.vue | 4 ++-- src/views/modules/custom/evaluateofficer-add.vue | 4 ++-- src/views/modules/custom/evaluateoption-add-or-update.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/modules/custom/evaluateofficer-add-or-update.vue b/src/views/modules/custom/evaluateofficer-add-or-update.vue index 7b40d359..7f6fb67b 100644 --- a/src/views/modules/custom/evaluateofficer-add-or-update.vue +++ b/src/views/modules/custom/evaluateofficer-add-or-update.vue @@ -5,7 +5,7 @@ - + @@ -14,7 +14,7 @@ - + - - - - - + + + Date: Thu, 20 Feb 2020 09:41:45 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E5=B9=B2=E9=83=A8=E8=AF=84=E4=BB=B7?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/custom/evaluatedept.vue | 24 +++++++++++++++++++++++ src/views/modules/custom/evaluateinfo.vue | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/views/modules/custom/evaluatedept.vue b/src/views/modules/custom/evaluatedept.vue index 7aefd292..ea3d1d78 100644 --- a/src/views/modules/custom/evaluatedept.vue +++ b/src/views/modules/custom/evaluatedept.vue @@ -11,6 +11,9 @@ {{ $t('query') }} + + 同步 + {{ $t('add') }} @@ -84,6 +87,27 @@ export default { manageHandle (deptId) { this.$parent.selectComponent = 'Evaluateofficer' this.$router.push({ path: '/custom-evaluatedeptroute', query: { deptId: deptId } }) + }, + deptUpdate () { + this.$confirm(this.$t('prompt.info', { 'handle': this.$t('update') }), this.$t('prompt.title'), { + confirmButtonText: this.$t('confirm'), + cancelButtonText: this.$t('cancel'), + type: 'warning' + }).then(() => { + this.$http.get(`/custom/evaluatedept/deptUpdate`).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.$message({ + message: this.$t('prompt.success'), + type: 'success', + duration: 500, + onClose: () => { + this.getDataList() + } + }) + }).catch(() => { }) + }).catch(() => { }) } } } diff --git a/src/views/modules/custom/evaluateinfo.vue b/src/views/modules/custom/evaluateinfo.vue index 553b9c32..d3c9a249 100644 --- a/src/views/modules/custom/evaluateinfo.vue +++ b/src/views/modules/custom/evaluateinfo.vue @@ -71,7 +71,7 @@ - +