浏览代码

调整创建任务的执行人

Lijy 2 年之前
父节点
当前提交
99280f92b2
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      fhKeeper/formulahousekeeper/timesheet/src/views/project/projectInside.vue

+ 4 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/project/projectInside.vue

@@ -332,7 +332,10 @@
                 <div style="border: 1px solid #ddd;margin:5px 0;padding:5px 0;">
                 <el-form-item :label="'执行人'+(index+1)" v-for="(executorItem, index) in addForm.executorListFront" :key="index">
                     <el-select v-model="executorItem.executorId" :disabled="(addForm.id != null && user.id != addForm.createrId && currentProject.inchargerId != user.id) && !permissions.projectManagement" size="small" filterable clearable placeholder="请选择执行人" style="width:40%;" @change="$forceUpdate()">
-                        <el-option v-for="item in users" :key="item.id" :label="item.name" :value="item.id"></el-option>
+                        <el-option v-for="item in users" :key="item.id" :label="item.name" :value="item.id">
+                             <span style="float: left">{{ item.name }}</span>
+                             <span style="float: right; color: #8492a6; font-size: 13px;margin-left: 20px">{{ item.jobNumber }}</span>
+                        </el-option>
                     </el-select>
                     <span style="margin-left:30px;margin-right:10px;">计划工时</span>
                     <el-input-number size="small" :disabled="(addForm.id != null && user.id != addForm.createrId && currentProject.inchargerId != user.id) && !permissions.projectManagement" v-model="gstimday[index]" style="width:16%;" :min="1" :max="100"  placeholder="请输入计划工作时长,单位天" @change="chggstim(0,index)"></el-input-number ><span style="margin-left:5px;">天</span>