From 8defa15fefb60a47da911a9babd6923a8f146313 Mon Sep 17 00:00:00 2001
From: weicd <weicd@yhzhg.cn>
Date: Thu, 02 Feb 2023 06:44:20 +0000
Subject: [PATCH] Merge branch 'master' of http://192.168.1.110:5678/r/pms-upgrade into weicd 改名
---
eladmin-web-master/src/views/system/userCompany/index.vue | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/eladmin-web-master/src/views/system/company/index.vue b/eladmin-web-master/src/views/system/userCompany/index.vue
similarity index 86%
rename from eladmin-web-master/src/views/system/company/index.vue
rename to eladmin-web-master/src/views/system/userCompany/index.vue
index c80dfd7..6533bc0 100644
--- a/eladmin-web-master/src/views/system/company/index.vue
+++ b/eladmin-web-master/src/views/system/userCompany/index.vue
@@ -42,7 +42,7 @@
</el-table-column>
<el-table-column prop="description" label="描述" />
<el-table-column prop="createTime" label="创建日期" />
- <el-table-column v-if="checkPer(['admin','systemSetting:edit','systemSetting:del'])" label="操作" width="150px" align="center">
+ <el-table-column v-if="checkPer(['admin','sysUserCompany:edit','sysUserCompany:del'])" label="操作" width="150px" align="center">
<template slot-scope="scope">
<udOperation
:data="scope.row"
@@ -58,7 +58,7 @@
</template>
<script>
-import crudSystemSetting from '@/api/system/systemSetting'
+import crudSysUserCompany from '@/api/system/sysUserCompany'
import CRUD, { presenter, header, form, crud } from '@crud/crud'
import rrOperation from '@crud/RR.operation'
import crudOperation from '@crud/CRUD.operation'
@@ -67,19 +67,19 @@
const defaultForm = { id: null, name: null, description: null, label: null, value: null, createBy: null, updateBy: null, createTime: null, updateTime: null }
export default {
- name: 'SystemSetting',
+ name: 'SysUserCompany',
components: { pagination, crudOperation, rrOperation, udOperation },
mixins: [presenter(), header(), form(defaultForm), crud()],
cruds() {
- return CRUD({ title: '公司管理', url: 'api/systemSetting', idField: 'id', sort: 'id,desc', crudMethod: { ...crudSystemSetting }})
+ return CRUD({ title: '公司管理', url: 'api/sysUserCompany', idField: 'id', sort: 'id,desc', crudMethod: { ...crudSysUserCompany }})
},
data() {
return {
permission: {
- add: ['admin', 'systemSetting:add'],
- edit: ['admin', 'systemSetting:edit'],
- del: ['admin', 'systemSetting:del'],
- download: ['admin', 'systemSetting:download']
+ add: ['admin', 'sysUserCompany:add'],
+ edit: ['admin', 'sysUserCompany:edit'],
+ del: ['admin', 'sysUserCompany:del'],
+ download: ['admin', 'sysUserCompany:download']
},
rules: {
label: [
--
Gitblit v1.9.3