소스 검색

增加工号

Lijy 2 년 전
부모
커밋
1fa3209a66
1개의 변경된 파일15개의 추가작업 그리고 1개의 파일을 삭제
  1. 15 1
      fhKeeper/formulahousekeeper/timesheet_h5/src/views/task/editask.vue

+ 15 - 1
fhKeeper/formulahousekeeper/timesheet_h5/src/views/task/editask.vue

@@ -1,5 +1,5 @@
 <template>
-    <div>
+    <div class="editaskBox">
         <van-nav-bar :title="title" left-text="返回" @click-left="back" fixed left-arrow />
         <div class="content">
             <van-form>
@@ -76,6 +76,7 @@
                             <van-radio v-for="uitem in executor.searchList" :key="uitem.id" :name="uitem" style="padding:10px">
                                 <span v-if="user.userNameNeedTranslate != 1">{{uitem.name}}</span>
                                 <span v-else><ww-open-data type='userName' :openid='uitem.name'></ww-open-data></span>
+                                <span class="xinmingghao">{{uitem.jobNumber}}</span>
                             </van-radio>
                         </van-radio-group>
                     <van-button style="width:100%;position: -webkit-sticky;position: sticky;bottom: 0;" @click="searchExecutor()">确定</van-button>
@@ -409,4 +410,17 @@ export default {
         color: #c03131;
     }
 }
+.xinmingghao {
+    overflow: hidden;
+    text-overflow: ellipsis;
+    width: 200px;
+    display: inline-block;
+    float: right;
+}
+</style>
+<style>
+    .editaskBox .van-radio__label {
+        width: 100%;
+        display: inline-block;
+    }
 </style>