yrik 4 年之前
父节点
当前提交
9908d6c232

+ 1 - 0
ruoyi-ui/src/components/HistoricalProcess/index.vue

@@ -374,6 +374,7 @@ export default {
   .table {
     flex: 1;
     display: flex;
+    color:#d81d04;
   }
 }
 </style>

+ 8 - 11
ruoyi-ui/src/views/system/editing/index.vue

@@ -3,7 +3,11 @@
     <!-- 头部 -->
     <div class="eniting_header">
       <!-- <p class="p">表编辑</p> -->
-      <div class="imge_tab"><img src="../../../assets/images/pic_sy_ytj.png" alt="" v-if="imgShoew"></div>
+      <div class="imge_tab">
+        <img src="../../../assets/images/pic_sy_ytj.png" alt="" v-if="imgShoew == 2" >
+        <img src="../../../assets/images/pic_sy_shz.png" alt="" v-if="imgShoew == 4" >
+        <img src="../../../assets/images/pic_sy_ybh.png" alt="" v-if="imgShoew == 3" >
+      </div>
       <div class="ppl">
         <p v-for="(item,index) in tabldie" :key="index" @click="enditTab(index)">
           <img src="../../../assets/images/icon_tbtab_normal.png" alt="" class="index_headerImg" v-if="num !== index">
@@ -95,7 +99,7 @@
         },
         jeigneu: [],
         jeigneutwo: [],
-        imgShoew:false
+        imgShoew:1
       };
     },
     mounted() {
@@ -196,15 +200,8 @@
           // 图片的显示隐藏
           if(this.queryData.showData.length !==0){
            this.queryData.showData.filter(route => {
-               if(route.hrChildren.length !== 0){
-                 if(route.hrChildren[0].readonly !== null){
-                   if(route.hrChildren[0].readonly == true){
-                         this.imgShoew = true
-                   }else{
-                     this.imgShoew = false
-                   }
-                 }
-
+               if(route.cssClass !== null){
+                 this.imgShoew = route.cssClass
                }
            })
           }

+ 8 - 11
ruoyi-ui/src/views/system/form/index.vue

@@ -1,7 +1,11 @@
 <template>
   <div class="tabForm">
     <div class="tabForm_header">
-      <div class="imge_tab"><img src="../../../assets/images/pic_sy_ytj.png" alt="" v-if="imgShoew"></div>
+      <div class="imge_tab">
+        <img src="../../../assets/images/pic_sy_ytj.png" alt="" v-if="imgShoew == 2" >
+        <img src="../../../assets/images/pic_sy_shz.png" alt="" v-if="imgShoew == 4" >
+        <img src="../../../assets/images/pic_sy_ybh.png" alt="" v-if="imgShoew == 3" >
+      </div>
       <div class="table_headerBtun" v-if="queryData.buttonList">
         <el-button type="primary" size="small" plain @click="handleQuery(item)" v-for="(item,index) in queryData.buttonList.split('')" :key="index">{{item | btnConversion}}</el-button>
         <el-button type="primary" size="small" plain @click="handleQuery('sx')">刷新</el-button>
@@ -153,7 +157,7 @@
           table:'',
           idList:[]
         },
-        imgShoew:false
+        imgShoew:1
       };
     },
     filters:{
@@ -242,15 +246,8 @@
           // 图片的显示隐藏
           if(this.queryData.showData.length !==0){
            this.queryData.showData.filter(route => {
-               if(route.hrChildren.length !== 0){
-                 if(route.hrChildren[0].readonly !== null){
-                  if(route.hrChildren[0].readonly == true){
-                        this.imgShoew = true
-                  }else{
-                    this.imgShoew = false
-                  }
-                 }
-
+               if(route.cssClass !== null){
+                 this.imgShoew = route.cssClass
                }
            })
           }

+ 2 - 0
ruoyi-ui/src/views/system/surface/index.vue

@@ -25,6 +25,8 @@
             <template slot-scope="scope">
               <img class="img_icon" v-if="item.htmlType=='imageUpload' && scope.row[scope.column.property]" @click="imgBtn(JSON.parse(scope.row[scope.column.property])[0].url)"
                 :src="JSON.parse(scope.row[scope.column.property])[0].url" alt="">
+              <!-- :style="scope.row.list_class" scope.row[scope.column.property] -->
+              <span  :style="scope.row.list_class" v-else-if="item.columnComment == '状态' || item.columnComment == '提交' " >{{ scope.row[scope.column.property] }}</span>
               <span  v-else>{{ scope.row[scope.column.property] }}</span>
             </template>
           </el-table-column>

+ 9 - 9
ruoyi-ui/src/views/system/table/index.vue

@@ -3,7 +3,11 @@
     <div class="table_header">
       <!-- <p>单表</p>
       <el-divider></el-divider> -->
-      <div class="imge_tab"><img src="../../../assets/images/pic_sy_ytj.png" alt="" v-if="imgShoew" ></div>
+      <div class="imge_tab">
+        <img src="../../../assets/images/pic_sy_ytj.png" alt="" v-if="imgShoew == 2" >
+         <img src="../../../assets/images/pic_sy_shz.png" alt="" v-if="imgShoew == 4" >
+          <img src="../../../assets/images/pic_sy_ybh.png" alt="" v-if="imgShoew == 3" >
+      </div>
       <div class="table_headerBtun" v-if="queryData.buttonList">
         <el-button type="primary" size="mini" plain v-for="(item,index) in jeigneutwo" :key="index" @click="handleQuery(item)">{{item}}</el-button>
       </div>
@@ -85,7 +89,7 @@
         jeigneutwo:[],
         xidugje:0,
         tijeq:0,
-        imgShoew:false
+        imgShoew:0
       };
     },
     // filters:{
@@ -285,13 +289,9 @@
          // 图片的显示隐藏
          if(this.queryData.showData.length !==0){
           this.queryData.showData.filter(route => {
-              if(route.hrChildren.length !== 0){
-                 if(route.hrChildren[0].readonly == true){
-                       this.imgShoew = true
-                 }else{
-                   this.imgShoew = false
-                 }
-              }
+            if(route.cssClass !== null){
+              this.imgShoew = route.cssClass
+            }
           })
          }
         })