diff --git a/src/api/admin.js b/src/api/admin.js index fa0cc84e..75b8844f 100644 --- a/src/api/admin.js +++ b/src/api/admin.js @@ -342,3 +342,11 @@ export function addNewUserSendEmail(data) { data }) } +// 用户追溯 +export function getUserJoinedTrialList(data) { + return request({ + url: `/TrialMaintenance/getUserJoinedTrialList`, + method: 'post', + data + }) +} diff --git a/src/api/dictionary.js b/src/api/dictionary.js index 75e05240..d0ac4ede 100644 --- a/src/api/dictionary.js +++ b/src/api/dictionary.js @@ -1069,4 +1069,27 @@ export function batchAddEnrollOrPdEmailConfig(params) { method: 'post', params }) +} +// 文件记录-系统文件列表 +export function getSysFileTypeList(data) { + return request({ + url: `/SysFileType/getSysFileTypeList`, + method: 'post', + data + }) +} +// 文件记录-新增/编辑系统文件 +export function addOrUpdateSysFileType(data) { + return request({ + url: `/SysFileType/addOrUpdateSysFileType`, + method: 'post', + data + }) +} +// 文件记录-删除系统文件 +export function deleteSysFileType(id) { + return request({ + url: `/SysFileType/deleteSysFileType/${id}`, + method: 'delete' + }) } \ No newline at end of file diff --git a/src/components/BaseForm/search-form.vue b/src/components/BaseForm/search-form.vue index f1f99380..0cb296ce 100644 --- a/src/components/BaseForm/search-form.vue +++ b/src/components/BaseForm/search-form.vue @@ -146,17 +146,19 @@ - - - {{ item.label }} - +
+ + + {{ item.label }} + +
@@ -174,11 +176,11 @@ export default { }, labelWidth: { type: String, - default: "", + default: '', }, size: { type: String, - default: "mini", + default: 'mini', }, searchForm: { type: Array, @@ -196,10 +198,10 @@ export default { methods: { handleClick(emitKey) { // emit事件 - this.$emit(`${emitKey}`); + this.$emit(`${emitKey}`) }, }, -}; +} \ No newline at end of file diff --git a/src/views/dictionary/template/index.vue b/src/views/dictionary/template/index.vue index 6dd5e340..62f19a95 100644 --- a/src/views/dictionary/template/index.vue +++ b/src/views/dictionary/template/index.vue @@ -6,52 +6,84 @@ - + - + - + - + - + - + - + - + + + + + diff --git a/src/views/system/user/edit/index.vue b/src/views/system/user/edit/index.vue index 2be70da6..b481efe1 100644 --- a/src/views/system/user/edit/index.vue +++ b/src/views/system/user/edit/index.vue @@ -7,23 +7,31 @@ + + + diff --git a/src/views/system/user/list/index.vue b/src/views/system/user/list/index.vue index 81c1b10c..58b75ba4 100644 --- a/src/views/system/user/list/index.vue +++ b/src/views/system/user/list/index.vue @@ -55,9 +55,9 @@ {{ Array.isArray(scope.row.UserRoleList) && scope.row.UserRoleList.length > 0 - ? scope.row.UserRoleList.map((item) => item.UserTypeShortName).join( - ', ' - ) + ? scope.row.UserRoleList.filter((item) => !item.IsUserRoleDisabled) + .map((item) => item.UserTypeShortName) + .join(', ') : '' }} @@ -396,13 +396,13 @@ export default { label: this.$t('common:button:search'), type: 'primary', emitKey: 'search', - icon: 'el-icon-search' + icon: 'el-icon-search', }, { label: this.$t('common:button:reset'), type: 'primary', emitKey: 'reset', - icon: 'el-icon-refresh-left' + icon: 'el-icon-refresh-left', }, { label: this.$t('common:button:new'),