-
-
-
+
{
currentRow.value = row
currentIndex.value = index
- if(row.companyName){
+ if (row.companyName) {
let userObj = {
id: row.researchPersonnelId,
name: row.researchPersonnel,
companyName: row.companyName,
accountType: row.accountType,
}
- userList.value=[userObj]
- }else if(!row.researchPersonnel){
- userList.value=[]
+ userList.value = [userObj]
+ } else if (!row.researchPersonnel) {
+ userList.value = []
}
nextTick(() => {
userPicker.value.showUserPicker()
@@ -233,7 +236,7 @@ const selected = (select) => {
item.accountType = select[0].accountType
}
})
- userList.value=select
+ userList.value = select
}
const getResearchOptions = async () => {
const res = await getResearchUser()
@@ -370,7 +373,7 @@ const handleResubmit = (instance) => {
allocationId: formData.value.allocationId,
shareName: formData.value.shareName,
apportionmentMonth: formData.value.apportionmentMonth,
- usrAllocations:formData.value.tableData,
+ usrAllocations: formData.value.tableData,
deploymentId: processInstanceData.value.deploymentId,
}
// console.log('params', params, formData.value.tableData)
diff --git a/src/views/project-demand/requirement/add.vue b/src/views/project-demand/requirement/add.vue
index 3e04626..3b79949 100644
--- a/src/views/project-demand/requirement/add.vue
+++ b/src/views/project-demand/requirement/add.vue
@@ -99,7 +99,15 @@
/>