From 0543fbccc7b5b328f5870c7dbf58ff2b1a687c58 Mon Sep 17 00:00:00 2001
From: quyixiao <2621048238@qq.com>
Date: Tue, 18 Aug 2020 18:30:54 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/api_result.js | 4 +
.../modules/result/record/lzresultrecord.vue | 65 ++--
.../result/record/lzresultrecordapp.vue | 336 ++++++++++++++++++
.../record/recorddetail-add-or-update.vue | 148 ++++++--
.../modules/result/record/recorddetail.vue | 75 +++-
5 files changed, 546 insertions(+), 82 deletions(-)
create mode 100644 src/views/modules/result/record/lzresultrecordapp.vue
diff --git a/src/api/api_result.js b/src/api/api_result.js
index d3e329f..70080a8 100644
--- a/src/api/api_result.js
+++ b/src/api/api_result.js
@@ -24,3 +24,7 @@ export const recorddetailAddOrUpdate = params => {
export const recorddetailDelete = params => {
return http({url: '/lz_management/user/lzresultrecord/recorddetailDelete/' + params, method: 'post'})
}
+
+export const weightCheck = params => {
+ return http({url: '/lz_management/user/lzresultrecord/weightCheck', method: 'post', params})
+}
diff --git a/src/views/modules/result/record/lzresultrecord.vue b/src/views/modules/result/record/lzresultrecord.vue
index babf45a..8b3e6f0 100644
--- a/src/views/modules/result/record/lzresultrecord.vue
+++ b/src/views/modules/result/record/lzresultrecord.vue
@@ -2,45 +2,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
查询
+
+ 新增目标
+ 新增业绩
+
- 详情
+ 详情
删除
@@ -142,7 +107,6 @@
import AddOrUpdate from './lzresultrecord-add-or-update'
import {apiGetResultRecordList, departmentQuery} from '@/api/api_result'
import {getDataForMonth} from '@/utils'
-import {isURL} from '@/utils/validate'
export default {
filters: {
@@ -259,7 +223,8 @@ export default {
'department2': this.dataForm.department2,
'department3': this.dataForm.department3,
'name': this.dataForm.name,
- 'remark': this.dataForm.remark
+ 'remark': this.dataForm.remark,
+ 'isSelf': 1
}).then(data => {
if (data && data.code === 0) {
this.dataList = data.page.list
@@ -296,8 +261,8 @@ export default {
this.dataListSelections = val
},
//
- addOrUpdateHandle (id) {
- this.$router.push({name: 'recorddetail',query: {id}}, () => {
+ addOrUpdateHandle (id, type) {
+ this.$router.push({name: 'recorddetail', query: {id: id, type: type}}, () => {
this.mainTabsActiveName = this.$route.name
})
},
@@ -334,3 +299,15 @@ export default {
}
}
+
+
+
+
diff --git a/src/views/modules/result/record/lzresultrecordapp.vue b/src/views/modules/result/record/lzresultrecordapp.vue
new file mode 100644
index 0000000..babf45a
--- /dev/null
+++ b/src/views/modules/result/record/lzresultrecordapp.vue
@@ -0,0 +1,336 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ i.title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.monthTime | formaterDate }}
+
+
+
+
+
+
+ {{ scope.row.status | getStatusStr }}
+
+
+
+
+
+
+
+
+ 详情
+ 删除
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/result/record/recorddetail-add-or-update.vue b/src/views/modules/result/record/recorddetail-add-or-update.vue
index 038a64d..aef1c4b 100644
--- a/src/views/modules/result/record/recorddetail-add-or-update.vue
+++ b/src/views/modules/result/record/recorddetail-add-or-update.vue
@@ -6,10 +6,10 @@
-
+
-
-
+
+
@@ -17,13 +17,27 @@
-
-
+
+
+
+
+
+
-
+
+
+ {{ this.dataForm.acquireScore }}
+
+
-
+
+
@@ -36,19 +50,55 @@