@@ -90,6 +90,13 @@
slot="userTypeName">
<el-tag>{{row.userTypeName}}</el-tag>
</template>
+
+ <template slot-scope="{row}"
+ slot="workingStatus">
+ <div :style="row.workingStatus == 1 ? 'color: red;' : ''">{{row.workingStatus == 0 ? '启用' : '禁用'}}</div>
+ </template>
</avue-crud>
<el-dialog title="用户角色配置"
append-to-body
@@ -345,6 +352,24 @@
trigger: "blur"
}]
},
+ {
+ label: "用户状态",
+ prop: "workingStatus",
+ type: "select",
+ dicData: [
+ label: "启用",
+ value: '0'
+ },
+ label: "禁用",
+ value: '1'
+ }
+ ],
+ hide: false,
+ slot: true,
+ display: false
],
group: [
{
@@ -495,6 +520,22 @@
hide: true
+ hide: true
label: "账号状态",
prop: "statusName",
hide: true,