|
@@ -112,7 +112,7 @@
|
|
|
</span>
|
|
|
</el-select>
|
|
|
|
|
|
- <selectCat v-if="user.userNameNeedTranslate == 1" :size="'small'" :subject="users" :subjectId="addForm.ownerId" :distinction="'1'" :disabled="true" @selectCal="selectCal"></selectCat>
|
|
|
+ <selectCat v-if="user.userNameNeedTranslate == 1" :size="'medium'" :widthStr="'240'" :subject="users" :subjectId="addForm.ownerId" :distinction="'1'" :disabled="true" @selectCal="selectCal"></selectCat>
|
|
|
|
|
|
</el-form-item>
|
|
|
<!-- 电话 -->
|
|
@@ -128,7 +128,7 @@
|
|
|
</el-form-item>
|
|
|
<!-- 选择审批人 -->
|
|
|
<el-form-item :label="$t('approver')" style="width:300px" prop="projectAuditorJson">
|
|
|
- <el-select style="display:inline-block;width:250px;" multiple v-model="addForm.projectAuditorJson" :placeholder="$t('defaultText.pleaseChoose')">
|
|
|
+ <el-select style="display:inline-block;width:250px;" multiple v-model="addForm.projectAuditorJson" :placeholder="$t('defaultText.pleaseChoose')" v-if="user.userNameNeedTranslate != 1">
|
|
|
<el-option
|
|
|
v-for="item in approverList"
|
|
|
:key="item.id"
|
|
@@ -137,7 +137,7 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
|
|
|
- <!-- <selectCat v-if="user.userNameNeedTranslate != 1" :size="'small'" :subject="users" :subjectId="addForm.ownerId" :distinction="'1'" :disabled="false" @selectCal="selectCal"></selectCat> -->
|
|
|
+ <selectCat v-if="user.userNameNeedTranslate == 1" :size="'medium'" :multiSelect="true" :widthStr="'250'" :subject="users" :subjectId="addForm.ownerId" :distinction="'2'" @selectCal="selectCal"></selectCat>
|
|
|
</el-form-item>
|
|
|
<!-- 时间选择 -->
|
|
|
<el-form-item :label="flg ? $t('optiondate') : $t('other.timeSelection')" style="width: 100%;">
|
|
@@ -1913,7 +1913,11 @@ export default {
|
|
|
this.addForm.ownerId = obj.id
|
|
|
this.txselts(obj.other, obj.id)
|
|
|
} else if(obj.distinction == '2') {
|
|
|
-
|
|
|
+ let arr = []
|
|
|
+ for(let i in obj.arrUserList) {
|
|
|
+ arr.push(obj.arrUserList[i].id)
|
|
|
+ }
|
|
|
+ this.addForm.projectAuditorJson = arr
|
|
|
} else if(obj.distinction == '3') {
|
|
|
this.ownerIds = obj.id
|
|
|
this.chufas()
|