ZhangXianQiang
2024-04-19 5dc2118eddbda91c965a14dd57255229cab60da1
src/views/system/template/default/index.vue
@@ -42,6 +42,7 @@
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['platform:template:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -51,6 +52,7 @@
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          v-hasPermi="['platform:template:edit']"
          @click="handleUpdate"
        >修改</el-button>
      </el-col>
@@ -61,6 +63,7 @@
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          v-hasPermi="['platform:template:remove']"
          @click="handleDelete"
        >删除</el-button>
      </el-col>
@@ -70,6 +73,7 @@
          plain
          icon="el-icon-download"
          size="mini"
          v-hasPermi="['platform:template:export']"
          @click="handleExport"
        >导出</el-button>
      </el-col>
@@ -94,12 +98,14 @@
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['platform:template:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['platform:template:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
@@ -154,7 +160,7 @@
                </div>
              </div>
              <div class="row-right">
                  <div>数值</div>
                  <div>扣分系数</div>
                  <div class="margin-5">
                    <el-input type="number" v-model="form.weight"/>
                  </div>