Ver código fonte

fix:列表样式修改

ly 10 meses atrás
pai
commit
92134dde23
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      src/views/business/production/onceWork/index.vue

+ 3 - 3
src/views/business/production/onceWork/index.vue

@@ -64,8 +64,8 @@
         <el-switch v-model="oneself" @change="handleOneself" />
       </el-form-item> -->
       <el-form-item>
-        <el-button type="primary" icon="Search" @click="handleQuery">搜索</el-button>
-        <el-button icon="Refresh" @click="resetQuery">重置</el-button>
+        <el-button type="primary" icon="Search" size="small" @click="handleQuery">搜索</el-button>
+        <el-button icon="Refresh" size="small" @click="resetQuery">重置</el-button>
       </el-form-item>
     </el-form>
 
@@ -218,7 +218,7 @@
           <div v-else>
             <el-button link type="primary" size="small" @click="viewResult(scope.row,true)"
             >{{resultLable(scope.row)}}</el-button>
-            <el-button v-if="(scope.row.record !== null || scope.row.record.status!==3) && scope.row.record.handlerId  ===  useUserStore().user.userId"  link type="primary" icon="Edit" size="small" style="margin: 0"
+            <el-button v-if="(scope.row.record !== null && scope.row.record.status!==3) && scope.row.record.handlerId  ===  useUserStore().user.userId"  link type="primary" icon="Edit" size="small" style="margin: 0"
                        @click="viewResult(scope.row,false)" />
             <el-button v-if="scope.row.record !== null && scope.row.record.status === 3" v-hasPermi="['business:production:onceWork:perEdit']"  link type="primary" icon="Edit" size="small" style="margin: 0"
                        @click="viewResult(scope.row,false)" />