Ver Fonte

bug-fix

cxmo há 11 meses atrás
pai
commit
a416c80c63

+ 2 - 2
src/views/approve_manage/components/flowNode/approveNode.vue

@@ -8,8 +8,8 @@
             </div>
             <div class="content" @click="showDrawer">
                 <ul class="approver-list" v-if="flowNode.approvers.length">
-                    <li class="list-item" v-for="item in flowNode.approvers" :key="item.ItemId">
-                        {{item.ItemName}}、
+                    <li class="list-item" v-for="(item,index) in flowNode.approvers" :key="item.ItemId">
+                        {{item.ItemName}}{{index===flowNode.approvers.length-1?'':''}}
                     </li>
                 </ul>
                 <span v-else style="color:#0052D9;display: flex;align-items: center;">

+ 1 - 1
src/views/approve_manage/components/rejectDialog.vue

@@ -10,7 +10,7 @@
         center
     >
         <div class="dialog-content-wrap">
-            <el-input type="textarea" v-model="content" :disabled="!isEdit" :rows="10" placeholder="请输入驳回理由"></el-input>
+            <el-input type="textarea" v-model="content" :disabled="!isEdit" :rows="10" :placeholder="isEdit?'请输入驳回理由':'无'"></el-input>
         </div>
         <div class="dialog-btn-wrap">