ZhangXianQiang
2024-04-28 d387848d15a40fb16c8a6eefb007d5f7411c5dbc
src/views/system/calculate/rule/index.vue
@@ -8,7 +8,6 @@
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['system:rule:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
@@ -32,7 +31,7 @@
      :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
    >
      <el-table-column label="规则名称" prop="name" />
      <el-table-column label="单位id" align="center" prop="unitId" >
      <el-table-column label="单位" align="center" prop="unitId" >
        <template slot-scope="scope">
          <div v-if="scope.row.unitId == 2">成都x运维</div>
        </template>
@@ -46,21 +45,21 @@
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['system:rule:edit']"
            v-hasPermi="['calculate:rule:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-plus"
            @click="handleAdd(scope.row)"
            v-hasPermi="['system:rule:add']"
            v-hasPermi="['calculate:rule:add']"
          >新增</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['system:rule:remove']"
            v-hasPermi="['calculate:rule:remove']"
          >删除</el-button>
        </template>
      </el-table-column>