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