Преглед на файлове

我的流程-结果-字段显示调整

jbb преди 1 година
родител
ревизия
9f8fc12072
променени са 2 файла, в които са добавени 9 реда и са изтрити 8 реда
  1. 5 4
      src/views/activiti/applyList.vue
  2. 4 4
      src/views/dashboard/MyoaTabs.vue

+ 5 - 4
src/views/activiti/applyList.vue

@@ -142,22 +142,23 @@
             <template slot-scope="t, r">
               <!--未提交-->
               <template v-if="r.result == 0">
-                <a style="color:#f4a261" >未提交</a>
+                <!-- <a style="color:#f4a261" >未提交</a> -->
+                <a style="color:gray" >未提交</a>
               </template>
 
               <!-- 处理中 -->
               <template v-if="r.result == 1">
-                <a style="color:#108ee9" >处理中</a>
+                <a style="color:#f4a261" >处理中</a>
               </template>
 
               <!-- 已通过 -->
               <template v-if="r.result == 2">
-                <a style="color:#87d068" >已通过</a>
+                <a style="color:green" >已通过</a>
               </template>
 
               <!-- 已驳回 -->
               <template v-if="r.result == 3">
-                <a style="color:gray" >已驳回</a>
+                <a style="color:red" >已驳回</a>
               </template>
             </template>
           </a-table-column>

+ 4 - 4
src/views/dashboard/MyoaTabs.vue

@@ -113,10 +113,10 @@ export default {
                             resultCode = '<span style="color:#37a2da;">处理中</span>'
                         }
                         if (item.result == '2') {
-                            resultCode = '<span style="color:green;">通过</span>'
+                            resultCode = '<span style="color:green;">通过</span>'
                         }
                         if (item.result == '3') {
-                            resultCode = '<span style="color:red;">驳回</span>'
+                            resultCode = '<span style="color:red;">驳回</span>'
                         }
 
                         // var list = [item.id, item.title, item.processName, item.description,item.currTaskName, resultCode, item.applyTime]
@@ -147,9 +147,9 @@ export default {
                     this.doneList.map(item => {
                         var reallyResult = ''
                         if (item.deleteReason == '审批通过') {
-                            reallyResult = '<span style="color:green">过</span>'
+                            reallyResult = '<span style="color:green">过</span>'
                         } else if(item.deleteReason == '审批驳回'){
-                            reallyResult = '<span style="color:red">驳回</span>'
+                            reallyResult = '<span style="color:red">驳回</span>'
                         }else{
                           reallyResult = item.deleteReason
                         }