| | |
| | | icon="el-icon-plus" |
| | | size="mini" |
| | | @click="handleAdd" |
| | | v-hasPermi="['system:rule:add']" |
| | | >新增</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | |
| | | :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> |
| | |
| | | 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> |