Просмотр исходного кода

feat:操作按钮 根据处理状态显示

“wangyihan” 1 год назад
Родитель
Сommit
c93bafb2e8

+ 1 - 1
src/views/system/fallsolve/index.vue

@@ -80,7 +80,7 @@
         <template slot-scope="scope">
           <el-button size="mini" type="text" icon="el-icon-view" @click="handleSee(scope.row)">查看</el-button>
           <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
-            v-hasPermi="['system:solve:edit']">处理</el-button>
+            v-hasPermi="['system:solve:edit']" v-if="scope.row.solve_status != 1">处理</el-button>
           <!-- <el-button
             size="mini"
             type="text"

+ 1 - 1
src/views/system/healthsolve/index.vue

@@ -80,7 +80,7 @@
         <template slot-scope="scope">
           <el-button size="mini" type="text" icon="el-icon-view" @click="handleSee(scope.row)">查看</el-button>
           <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
-            v-hasPermi="['system:solve:edit']">处理</el-button>
+            v-hasPermi="['system:solve:edit']" v-if="scope.row.solve_status != 1">处理</el-button>
           <!-- <el-button
             size="mini"
             type="text"

+ 1 - 1
src/views/system/othersolve/index.vue

@@ -80,7 +80,7 @@
         <template slot-scope="scope">
           <el-button size="mini" type="text" icon="el-icon-view" @click="handleSee(scope.row)">查看</el-button>
           <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
-            v-hasPermi="['system:solve:edit']">处理</el-button>
+            v-hasPermi="['system:solve:edit']" v-if="scope.row.solve_status != 1">处理</el-button>
           <!-- <el-button
             size="mini"
             type="text"

+ 1 - 1
src/views/system/profile/index.vue

@@ -53,7 +53,7 @@
     <!-- 表单 -->
     <el-table v-loading="loading" :data="profileList" @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="id" align="center" prop="id" />
+      <!-- <el-table-column label="id" align="center" prop="id" /> -->
       <el-table-column label="姓名" align="center" prop="name" />
       <el-table-column label="性别" align="center" prop="sex">
         <!-- <template slot-scope="scope">

+ 1 - 1
src/views/system/railsolve/index.vue

@@ -80,7 +80,7 @@
         <template slot-scope="scope">
           <el-button size="mini" type="text" icon="el-icon-view" @click="handleSee(scope.row)">查看</el-button>
           <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
-            v-hasPermi="['system:solve:edit']">处理</el-button>
+            v-hasPermi="['system:solve:edit']" v-if="scope.row.solve_status != 1">处理</el-button>
           <!-- <el-button
             size="mini"
             type="text"

+ 1 - 1
src/views/system/solve/index.vue

@@ -80,7 +80,7 @@
         <template slot-scope="scope">
           <el-button size="mini" type="text" icon="el-icon-view" @click="handleSee(scope.row)">查看</el-button>
           <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
-            v-hasPermi="['system:solve:edit']">处理</el-button>
+            v-hasPermi="['system:solve:edit']" v-if="scope.row.solve_status != 1">处理</el-button>
           <!-- <el-button
             size="mini"
             type="text"