Prechádzať zdrojové kódy

修改平台融资产品表格按钮样式

zhanglb 4 rokov pred
rodič
commit
d36b9d04ad

+ 5 - 8
front-vue/src/views/service/financeProduct/financeProduct.vue

@@ -75,26 +75,23 @@
                 <el-table-column label="最短账期" align="center" prop="zfpShortestPeriod" :show-overflow-tooltip="true"  v-if="uncheckList.zfpShortestPeriod" />
                 <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" fixed="right">
                     <template slot-scope="scope">
-                        <el-button size="mini" type="text" icon="el-icon-view" @click="handleInfo(scope.row)" v-hasPermi="['service:financeProduct:query']">详情</el-button>
-                        <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['service:financeProduct:edit']">修改</el-button>
+                        <el-button class="zap-button-plain" size="mini" @click="handleInfo(scope.row)" v-hasPermi="['service:financeProduct:query']">详情</el-button>
+                        <el-button class="zap-button-success" size="mini" @click="handleUpdate(scope.row)" v-hasPermi="['service:financeProduct:edit']">修改</el-button>
                         <el-button
+                            class="zap-button-confirmation"
                             size="mini"
-                            type="text"
-                            icon="el-icon-edit"
                             @click="handleChange(scope.row)"
                             v-if="scope.row.zfpStatus == '01'"
                             v-hasPermi="['service:financeProduct:change']">停用</el-button>
                         <el-button
+                            class="zap-button-primary"
                             size="mini"
-                            type="text"
-                            icon="el-icon-edit"
                             @click="handleChange(scope.row)"
                             v-if="scope.row.zfpStatus == '00'"
                             v-hasPermi="['service:financeProduct:change']">启用</el-button>
                         <el-button
+                            class="zap-button-confirmation"
                             size="mini"
-                            type="text"
-                            icon="el-icon-delete"
                             @click="handleDel(scope.row)"
                             v-if="scope.row.zfpStatus == '00'"
                             v-hasPermi="['service:financeProduct:delete']">删除</el-button>