From c005793e6c1ec755362aeef1a8039f5c71338bf8 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Sat, 8 Feb 2020 13:16:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E7=AE=A1=E7=90=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/custom/evaluatedept.vue | 5 +++- .../modules/custom/evaluatedeptroute.vue | 30 +++++++++++++++++++ src/views/modules/custom/evaluateinfo.vue | 2 +- src/views/modules/custom/evaluateofficer.vue | 11 +++++++ src/views/modules/custom/evaluateoption.vue | 7 ++++- 5 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 src/views/modules/custom/evaluatedeptroute.vue diff --git a/src/views/modules/custom/evaluatedept.vue b/src/views/modules/custom/evaluatedept.vue index 49e147aa..f5703725 100644 --- a/src/views/modules/custom/evaluatedept.vue +++ b/src/views/modules/custom/evaluatedept.vue @@ -72,10 +72,13 @@ export default { AddOrUpdate, Evaluateofficer }, + created: function () { + this.getDataList() + }, methods: { manageHandle (deptId) { this.$parent.selectComponent = 'Evaluateofficer' - this.$router.push({ path: '/custom-evaluateofficer', query: { deptId: deptId } }) + this.$router.push({ path: '/custom-evaluatedeptroute', query: { deptId: deptId } }) } } } diff --git a/src/views/modules/custom/evaluatedeptroute.vue b/src/views/modules/custom/evaluatedeptroute.vue new file mode 100644 index 00000000..3d3e8761 --- /dev/null +++ b/src/views/modules/custom/evaluatedeptroute.vue @@ -0,0 +1,30 @@ + + + + diff --git a/src/views/modules/custom/evaluateinfo.vue b/src/views/modules/custom/evaluateinfo.vue index c10964e0..37cd71e4 100644 --- a/src/views/modules/custom/evaluateinfo.vue +++ b/src/views/modules/custom/evaluateinfo.vue @@ -46,7 +46,7 @@ - s + diff --git a/src/views/modules/custom/evaluateofficer.vue b/src/views/modules/custom/evaluateofficer.vue index f5f58c37..5fcebfc6 100644 --- a/src/views/modules/custom/evaluateofficer.vue +++ b/src/views/modules/custom/evaluateofficer.vue @@ -5,6 +5,11 @@ +
+ + 返回 + +
@@ -115,6 +120,7 @@ export default { mounted () { // this.dataForm.id = this.$route.query.id this.dataForm.deptId = this.$route.query.deptId + this.getDataList() }, components: { AddOrUpdate, @@ -131,6 +137,11 @@ export default { return '男' } }, + backToDeptList () { + this.$emit('refreshDataList') + this.$parent.selectComponent = 'Evaluatedept' + this.$router.push({ path: '/custom-evaluatedeptroute'}) + }, evaluateofficerAddHandle (deptId) { this.evaluateofficerAddVisible = true this.$nextTick(() => { diff --git a/src/views/modules/custom/evaluateoption.vue b/src/views/modules/custom/evaluateoption.vue index 00a5bd9d..9c92d10c 100644 --- a/src/views/modules/custom/evaluateoption.vue +++ b/src/views/modules/custom/evaluateoption.vue @@ -26,7 +26,12 @@ - + + + +