|
@@ -222,7 +222,7 @@ import deleteIcon from '../../assets/btnIcon/delete.png'
|
|
|
import exportIcon from '../../assets/btnIcon/export.png'
|
|
|
import importIcon from '../../assets/btnIcon/import.png'
|
|
|
import {apiGetorganizationratinglist, apiGetorganizationratingsave,apiGetOrganizationListAll,apiGetbinsectionList,
|
|
|
-apiPostorganizationratingDelete, apiPostIsdoAction} from '../../api/api'
|
|
|
+apiPostorganizationratingDelete, apiPostIsdoAction, apiGetorganizationyearratingHeader} from '../../api/api'
|
|
|
export default {
|
|
|
components: {
|
|
|
importDailog,
|
|
@@ -314,19 +314,32 @@ export default {
|
|
|
this.rowObj = row
|
|
|
this.rowkeyId = keyId
|
|
|
this.instanceChild = allData
|
|
|
- this.receiptMsg = {
|
|
|
- code: row.responsibilityCode,
|
|
|
- des: row.des,
|
|
|
- stage: row.stage,
|
|
|
- createName: row.createName,
|
|
|
- createDate: row.createTime,
|
|
|
- year: row.year,
|
|
|
- recStage: '有效'
|
|
|
- }
|
|
|
this.getevaluRatingDiaList(row, keyId)
|
|
|
+ this.getUnitRatingHeader(keyId)
|
|
|
this.getOrganizetionData()
|
|
|
this.getDataDictionary()
|
|
|
},
|
|
|
+ // 查询头部信息
|
|
|
+ getUnitRatingHeader(id) {
|
|
|
+ let that = this
|
|
|
+ let params = {
|
|
|
+ id: id
|
|
|
+ }
|
|
|
+ apiGetorganizationyearratingHeader(params).then(datas =>{
|
|
|
+ if (datas && datas.data) {
|
|
|
+ let item = datas.data
|
|
|
+ that.receiptMsg = {
|
|
|
+ code: item.responsibilityCode,
|
|
|
+ des: item.des,
|
|
|
+ stage: item.stage,
|
|
|
+ createName: item.createName,
|
|
|
+ createDate: item.createTime,
|
|
|
+ year: item.year,
|
|
|
+ recStage: '有效'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
// 查询列表页面
|
|
|
getevaluRatingDiaList(row, id) {
|
|
|
let that = this
|
|
@@ -429,26 +442,26 @@ export default {
|
|
|
let that = this
|
|
|
let actionCS = ''
|
|
|
if (type === 'agree') {
|
|
|
- if (that.rowMsg.taskType === 'SIGN') {
|
|
|
+ if (that.rowObj.taskType === 'SIGN') {
|
|
|
actionCS = 'signAgree'
|
|
|
- } else if (that.rowMsg.taskType === 'NORMAL') {
|
|
|
+ } else if (that.rowObj.taskType === 'NORMAL') {
|
|
|
actionCS = 'agree'
|
|
|
}
|
|
|
} else {
|
|
|
- if (that.rowMsg.taskType === 'SIGN') {
|
|
|
+ if (that.rowObj.taskType === 'SIGN') {
|
|
|
actionCS = 'signReject'
|
|
|
- } else if (that.rowMsg.taskType === 'NORMAL') {
|
|
|
+ } else if (that.rowObj.taskType === 'NORMAL') {
|
|
|
actionCS = 'reject'
|
|
|
}
|
|
|
}
|
|
|
let params = {
|
|
|
- taskId: that.rowMsg.id, //任务ID
|
|
|
- nodeId: that.rowMsg.nodeId, //节点ID
|
|
|
+ taskId: that.rowObj.id, //任务ID
|
|
|
+ nodeId: that.rowObj.nodeId, //节点ID
|
|
|
action: actionCS, //固定值
|
|
|
- instanceId: that.rowMsg.instId, //流程实例ID
|
|
|
+ instanceId: that.rowObj.instId, //流程实例ID
|
|
|
opinion: that.descMsg, //审批意见
|
|
|
iamCode: window.localStorage.getItem('code'), //认证后code值
|
|
|
- taskName: that.rowMsg.name,
|
|
|
+ taskName: that.rowObj.name,
|
|
|
defKey: that.instanceChild.defKey,
|
|
|
bizKey: that.instanceChild.bizKey
|
|
|
}
|