diff --git a/src/views/modules/supplierPerformance/myPerformanceEvaluateRequest.vue b/src/views/modules/supplierPerformance/myPerformanceEvaluateRequest.vue
index d50b53b..f97e76e 100644
--- a/src/views/modules/supplierPerformance/myPerformanceEvaluateRequest.vue
+++ b/src/views/modules/supplierPerformance/myPerformanceEvaluateRequest.vue
@@ -2,7 +2,7 @@
-
+
@@ -36,13 +36,11 @@
-
-
-
-
-
-
-
+
@@ -54,7 +52,7 @@
-
+
@@ -80,7 +78,7 @@
@@ -113,7 +111,7 @@
-
+
@@ -135,7 +133,7 @@
-
@@ -152,7 +150,7 @@
指标信息
-
+
@@ -296,6 +294,10 @@ import {
} from '@/api/supplierPerformance/performanceEvaluateRequestBuild.js'
import Chooselist from '@/views/modules/common/Chooselist_eam'
import {getTemplateIndicators} from "../../../api/supplierPerformance/performanceIndicatorTemplate";
+import {
+ PERF_TASK_STATUS_OPTIONS,
+ PERF_TASK_STATUS_DEFAULT
+} from './supplierPerformanceStatusOptions.js'
export default {
components: {
@@ -310,6 +312,7 @@ export default {
pageIndex: 1,
pageSize: 20,
totalPage: 0,
+ taskStatusOptions: PERF_TASK_STATUS_OPTIONS,
searchData: {
site: this.$store.state.user.site,
username: this.$store.state.user.name,
@@ -401,7 +404,7 @@ export default {
calcHeight() { this.$nextTick(()=> { this.height = window.innerHeight - 40 }) },
getList() {
this.loading = true
- if (this.searchData.statusList.length === 0) this.searchData.statusList = ['未开始','进行中','已完成','已审核','待审批','审批通过','审批拒绝']
+ if (this.searchData.statusList.length === 0) this.searchData.statusList = [...PERF_TASK_STATUS_DEFAULT]
const params = { ...this.searchData, statusList: this.searchData.statusList, page: this.pageIndex, limit: this.pageSize,selectType: 1 }
searchEvaluateRequestList(params).then(({data}) => {
if (data && (data.code === 0 || data.code === '0')) {
@@ -486,10 +489,10 @@ export default {
}
const hasScored = indicators.some(i => Number(i.score) > 0)
if (hasScored) {
- this.$message.error('该请求存在已评分指标 ,禁止删除')
+ this.$message.error('该考核任务存在已评分指标,禁止删除')
return
}
- this.$confirm('确认删除该请求: ' + row.requestNo + ' ?', '提示', { type: 'warning' }).then(() => {
+ this.$confirm('确认删除该考核任务: ' + row.requestNo + ' ?', '提示', { type: 'warning' }).then(() => {
deleteEvaluateRequest({ id: row.id, site }).then(({data: delData}) => {
if (delData && (delData.code === 0 || delData.code === '0')) { this.$message.success('删除成功'); this.getList() }
else { this.$message.error((delData && delData.msg) || '删除失败') }
diff --git a/src/views/modules/supplierPerformance/perMyScore.vue b/src/views/modules/supplierPerformance/perMyScore.vue
index 70dc3ba..d8bf6c8 100644
--- a/src/views/modules/supplierPerformance/perMyScore.vue
+++ b/src/views/modules/supplierPerformance/perMyScore.vue
@@ -2,7 +2,7 @@
-
+
@@ -35,13 +35,11 @@
-
-
-
-
-
-
-
+
@@ -58,7 +56,7 @@
评分
-
+
@@ -75,7 +73,7 @@
@@ -93,7 +91,7 @@
-
+
@@ -109,7 +107,7 @@
- 季度供应商绩效评级请求
+ 考核单