|
|
@ -173,7 +173,7 @@ |
|
|
|
<span v-text="getIndex(scope.$index)" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column align="center" label="处理人" prop="nickname" min-width="40" /> |
|
|
|
<el-table-column :formatter="formatter.getChineseName" align="center" label="处理人" prop="userId" min-width="40" /> |
|
|
|
</el-table> |
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="dialogFormVisible = false"> |
|
|
@ -823,12 +823,14 @@ export default { |
|
|
|
this.batchSendTo(isQianming, linkname, idStr) |
|
|
|
} |
|
|
|
}, |
|
|
|
batchSendTo(isQianming, linkname, idStr) { |
|
|
|
batchSendTo(isQianming, flowstatus, idStr) { |
|
|
|
if (isQianming) { |
|
|
|
this.dialogSignVisible = true |
|
|
|
this.flowstatus = linkname |
|
|
|
this.flowstatus = flowstatus |
|
|
|
return false |
|
|
|
} |
|
|
|
const departmentId = this.multipleSelection[0].departmentId |
|
|
|
const bglx = this.multipleSelection[0].bglx |
|
|
|
// 获取下一环节人员之前先确认是否已经签名 |
|
|
|
if (this.multipleSelection[0].flowstatus === 2 && (this.multipleSelection[0].shebeizhongleidaima === 'F000' || this.multipleSelection[0].bglx === 2)) { |
|
|
|
this.end(this.ysjlId, this.multipleSelection, false) // 验证是否属于办结操作,是直接办结。 |
|
|
@ -838,11 +840,12 @@ export default { |
|
|
|
return false |
|
|
|
} |
|
|
|
this.api({ |
|
|
|
url: '/flow/getUser', |
|
|
|
url: '/flow/getNextLinkUsers', |
|
|
|
method: 'get', |
|
|
|
params: { |
|
|
|
id: idStr, |
|
|
|
flowstatus: linkname |
|
|
|
bglx: bglx, |
|
|
|
flowstatus: flowstatus + 1, |
|
|
|
departmentId: departmentId |
|
|
|
} |
|
|
|
}).then(data => { |
|
|
|
this.flowUserList = data |
|
|
@ -1065,6 +1068,9 @@ export default { |
|
|
|
ids: this.ysjlId, |
|
|
|
riqi: this.passForm.signDate, |
|
|
|
flowstatus: this.flowstatus |
|
|
|
}, |
|
|
|
paramsSerializer: function(params) { |
|
|
|
return require('qs').stringify(params, { indices: false }) |
|
|
|
} |
|
|
|
}).then(() => { |
|
|
|
this.$message({ |
|
|
@ -1186,18 +1192,17 @@ export default { |
|
|
|
this.$message('请在列表选择要签名的数据。') |
|
|
|
return false |
|
|
|
} |
|
|
|
let idStr = this.multipleSelection[0].id |
|
|
|
const linkname = this.multipleSelection[0].flowstatus |
|
|
|
for (let i = 1; i < this.multipleSelection.length; i++) { |
|
|
|
idStr = idStr + ',' + this.multipleSelection[i].id |
|
|
|
if (linkname !== this.multipleSelection[i].flowstatus) { |
|
|
|
this.ysjlId = [] |
|
|
|
const flowstatus = this.multipleSelection[0].flowstatus |
|
|
|
for (let i = 0; i < this.multipleSelection.length; i++) { |
|
|
|
this.ysjlId.push(this.multipleSelection[i].id) |
|
|
|
if (flowstatus !== this.multipleSelection[i].flowstatus) { |
|
|
|
this.$message('请选择同环节签名!') |
|
|
|
return false |
|
|
|
} |
|
|
|
} |
|
|
|
this.ysjlId = idStr |
|
|
|
this.isBatchSign = true |
|
|
|
this.flowstatus = linkname |
|
|
|
this.flowstatus = flowstatus |
|
|
|
this.dialogSignVisible = true |
|
|
|
}, |
|
|
|
clearSignName() { |
|
|
|