|
@@ -1414,16 +1414,29 @@ const signLoading1 = ref(false)
|
|
|
const cancelresign1 = ()=>{
|
|
|
resignModalRadio1.value = 0
|
|
|
resignModal1.value = false
|
|
|
+ checkTaskUserIds.value = []
|
|
|
+
|
|
|
}
|
|
|
|
|
|
const signClick1 = async () => {
|
|
|
const rows = tableCheckedKeys.value
|
|
|
//获取任务id
|
|
|
const ids = arrToId(rows)
|
|
|
+
|
|
|
+ if (resignModalRadio1.value === 1) {
|
|
|
+ if (checkTaskUserIds.value.length === 0) {
|
|
|
+ return window.$message?.warning('请选择用户')
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ checkTaskUserIds.value = []
|
|
|
+ }
|
|
|
//发起请求
|
|
|
signLoading1.value = true
|
|
|
+
|
|
|
+
|
|
|
const { error, code, msg } = await queryApi.reSigningEVisa1({
|
|
|
- userIds: checkTaskUserIds.value,
|
|
|
+ userIds: checkTaskUserIds.value.length === 1 ? checkTaskUserIds.value[0] : checkTaskUserIds.value.join(','),
|
|
|
+
|
|
|
ids: ids,
|
|
|
|
|
|
|