-
-
{{i.name}}
+
+
+ {{k.name}}
+
+
+ {{i.name}}
+
-
-
-
+
+
+ 管理
+
+
+ {{i.name}}
+
+
-
@@ -187,15 +152,34 @@ export default {
data () {
return {
authList: [
+ {
+ info: !this.info,
+ ground: true,
+ list: [{
+ name: '同 意',
+ type: 'primary',
+ info: !this.info,
+ permis: 'keyCheck',
+ click: this.handleTongyi
+ }, {
+ name: '驳 回',
+ type: '',
+ info: !this.info,
+ permis: 'reject',
+ click: this.handleBohui
+ }]
+ },
{
name: '催办',
plain: true,
- type: 'primary',
+ isManage: true,
+ type: '',
info: !this.info,
permis: 'toFast',
click: this.handleCuiban
}, {
name: '重置流程',
+ isManage: true,
plain: true,
type: 'primary',
info: !this.info,
@@ -209,12 +193,6 @@ export default {
info: !this.info,
permis: 'resultInput',
click: this.handleJieguo
- }, {
- name: '修改目标',
- type: 'primary',
- info: !this.info,
- permis: 'changeResult',
- click: this.handleZhiding
},
{
name: '开始评分',
@@ -231,17 +209,11 @@ export default {
click: this.handleZhiding
},
{
- name: '同 意',
- type: 'primary',
+ name: '调整目标',
+ type: '',
info: !this.info,
- permis: 'keyCheck',
- click: this.handleTongyi
- }, {
- name: '驳 回',
- type: 'primary',
- info: !this.info,
- permis: 'reject',
- click: this.handleBohui
+ permis: 'changeResult',
+ click: this.handleZhiding
}, {
name: '跳过',
info: !!this.info,
@@ -252,6 +224,7 @@ export default {
}, {
name: '跳过',
info: !this.info,
+ isManage: true,
plain: true,
type: 'primary',
permis: 'tiaozhuang',
@@ -267,7 +240,7 @@ export default {
name: '转 交',
plain: true,
info: !this.info,
- type: 'primary',
+ type: '',
permis: 'transfer',
click: this.handleZhuanjiao
}
@@ -395,19 +368,19 @@ export default {
}
}
- const obj = { status: 1, menuName: '同意了', comment: this.form.comment }
- const params = Object.assign({}, { resultRecordId: this.obj.id || '' }, obj)
- let res = await apiSaveapproval(params)
- if (res.code !== 200) {
- this.$message.error(res.msg || '出错了 ')
- return
- }
- this.obj.commentId = res.commentId
let res1 = await apiSaveDetail(this.obj)
if (res1.code !== 200) {
this.$message.error(res1.msg)
return
}
+ const obj = { status: 1, menuName: '同意了', comment: this.form.comment }
+ const params = Object.assign({}, { resultRecordId: this.obj.id || '' }, obj)
+ params.commentId = res1.commentId || ''
+ let res = await apiSaveapproval(params)
+ if (res.code !== 200) {
+ this.$message.error(res.msg || '出错了 ')
+ return
+ }
this.$message({
message: res.msg,
type: 'success'
@@ -489,7 +462,7 @@ export default {
handleZhiding () {
this.$router.push({
name: 'assessment-goals',
- query: {
+ query: {...this.formList.auth,
id: this.resultRecordId || ''
}
})
diff --git a/src/views/kpi/assessment/performance/components/imgs/kr.png b/src/views/kpi/assessment/performance/components/imgs/kr.png
new file mode 100644
index 0000000..b6ca949
Binary files /dev/null and b/src/views/kpi/assessment/performance/components/imgs/kr.png differ
diff --git a/src/views/kpi/assessment/performance/components/imgs/mubiao.png b/src/views/kpi/assessment/performance/components/imgs/mubiao.png
new file mode 100644
index 0000000..09218ec
Binary files /dev/null and b/src/views/kpi/assessment/performance/components/imgs/mubiao.png differ
diff --git a/src/views/kpi/assessment/performance/components/imgs/pinglun.png b/src/views/kpi/assessment/performance/components/imgs/pinglun.png
new file mode 100644
index 0000000..4d9d65b
Binary files /dev/null and b/src/views/kpi/assessment/performance/components/imgs/pinglun.png differ
diff --git a/src/views/kpi/assessment/performance/components/imgs/zanwukr.png b/src/views/kpi/assessment/performance/components/imgs/zanwukr.png
new file mode 100644
index 0000000..a7e455f
Binary files /dev/null and b/src/views/kpi/assessment/performance/components/imgs/zanwukr.png differ
diff --git a/src/views/kpi/assessment/performance/components/pinglun.vue b/src/views/kpi/assessment/performance/components/pinglun.vue
index a9c1ac2..3c0c6e4 100644
--- a/src/views/kpi/assessment/performance/components/pinglun.vue
+++ b/src/views/kpi/assessment/performance/components/pinglun.vue
@@ -22,9 +22,9 @@
#