diff --git a/src/layout/components_new/Sidebar/newsSiderApp.vue b/src/layout/components_new/Sidebar/newsSiderApp.vue
index 66f744e..d360366 100644
--- a/src/layout/components_new/Sidebar/newsSiderApp.vue
+++ b/src/layout/components_new/Sidebar/newsSiderApp.vue
@@ -14,7 +14,7 @@
-
+
{{ item.meta.title }}
diff --git a/src/views/systemMaintenance/buttonManagement/configData.js b/src/views/systemMaintenance/buttonManagement/configData.js
index 8a52254..32ac59d 100644
--- a/src/views/systemMaintenance/buttonManagement/configData.js
+++ b/src/views/systemMaintenance/buttonManagement/configData.js
@@ -1,157 +1,174 @@
// 表头配置
const tableColumnJson = [
- {
- label: '按钮编号',
- prop: 'code',
- tooltip: true,
- },
- {
- label: '按钮中文编码',
- prop: 'nameEN',
- tooltip: true,
- },
- {
- label: '按钮英文编码',
- prop: 'nameEN',
- tooltip: true,
- },
- {
- label: '按钮格式',
- prop: 'style',
- tooltip: true,
- },
- {
- label: '按钮图标',
- prop: 'icoName',
- tooltip: true
- },
- {
- label: '按钮方法',
- prop: 'btnFunction',
- tooltip: true
- },
- {
- label: '按钮顺序',
- prop: 'sort',
- tooltip: true,
- },
- {
- label: '备注',
- prop: 'remark',
- tooltip: true
- },
- {
- label: '创建时间',
- prop: 'createTime',
- tooltip: true
- },
- // {
- // label: '删除标识',
- // prop: 'IsDelete',
- // tooltip: true
- // },
+ {
+ label: '按钮编号',
+ prop: 'code',
+ tooltip: true,
+ },
+ {
+ label: '按钮中文编码',
+ prop: 'nameCh',
+ tooltip: true,
+ },
+ {
+ label: '按钮英文编码',
+ prop: 'nameEn',
+ tooltip: true,
+ },
+ {
+ label: '按钮格式',
+ prop: 'styles',
+ tooltip: true,
+ },
+ {
+ label: '按钮图标',
+ prop: 'iconName',
+ tooltip: true
+ },
+ {
+ label: '按钮方法',
+ prop: 'btnFunction',
+ tooltip: true
+ },
+ {
+ label: '按钮顺序',
+ prop: 'sorts',
+ tooltip: true,
+ },
+ {
+ label: '备注',
+ prop: 'remark',
+ tooltip: true
+ },
+ {
+ label: '创建时间',
+ prop: 'createTime',
+ tooltip: true
+ },
+ // {
+ // label: '删除标识',
+ // prop: 'IsDelete',
+ // tooltip: true
+ // },
]
// 详情页面结构JSON
-const formRow = [{
- elCol: [{
- label: '按钮编号',
- prop: 'Code',
- tag: 'elInput',
- },
- {
- label: '中文名称',
- prop: 'nameCN',
- tag: 'elInput',
- },
- ]
- },
- {
- elCol: [{
- label: '英文名称',
- prop: 'nameEN',
- tag: 'elInput'
- },
- {
- label: '调用方法',
- prop: 'btnFunction',
- tag: 'elInput',
- },
- ]
- },
- {
- elCol: [{
- label: '样式',
- prop: 'style',
- tag: 'elInput',
- },
- {
- label: '图标',
- prop: 'icoName',
- tag: 'elInput',
- },
- ]
- },
- {
- elCol: [{
- label: '顺序',
- prop: 'sort',
- tag: 'elInput',
- }
- ]
- },
- {
- elCol: [{
- label: '备注',
- prop: 'remark',
- tag: 'elInput',
- span:24,
- type:'textarea'
- }
- ]
- },
-]
-const roleOptions = [{
- label: '超级管理员',
- value: 1
- },
- {
- label: '业务员',
- value: 2
- },
- {
- label: '管理员',
- value: 3
- },
- {
- label: '开发成员',
- value: 4
- },
- {
- label: '项目经理',
- value: 5
- },
- {
- label: '实施人员',
- value: 6
- },
- {
- label: '财务',
- value: 7
- },
- {
- label: '总经理',
- value: 8
- },
- {
- label: '副总',
- value: 9
- }
-]
-const rules = {
-};
+const formRow = [
+ {
+ elCol: [
+ {
+ label: "按钮编号",
+ prop: "code",
+ tag: "elInput",
+ },
+ {
+ label: "中文名称",
+ prop: "nameCh",
+ tag: "elInput",
+ },
+ ],
+ },
+ {
+ elCol: [
+ {
+ label: "英文名称",
+ prop: "nameEn",
+ tag: "elInput",
+ },
+ {
+ label: "调用方法",
+ prop: "btnFunction",
+ tag: "elInput",
+ },
+ ],
+ },
+ {
+ elCol: [
+ {
+ label: "样式",
+ prop: "styles",
+ tag: "elInput",
+ },
+ {
+ label: "图标",
+ prop: "iconName",
+ tag: "elInput",
+ },
+ ],
+ },
+ {
+ elCol: [
+ {
+ label: "顺序",
+ prop: "sorts",
+ tag: "elInput",
+ },
+ ],
+ },
+ // {
+ // elCol: [
+ // {
+ // label: "接口名称",
+ // prop: "actionName",
+ // tag: "elInput",
+ // span: 24,
+ // type: "textarea",
+ // },
+ // ],
+ // },
+ {
+ elCol: [
+ {
+ label: "备注",
+ prop: "remark",
+ tag: "elInput",
+ span: 24,
+ type: "textarea",
+ },
+ ],
+ },
+];
+const roleOptions = [
+ {
+ label: "超级管理员",
+ value: 1,
+ },
+ {
+ label: "业务员",
+ value: 2,
+ },
+ {
+ label: "管理员",
+ value: 3,
+ },
+ {
+ label: "开发成员",
+ value: 4,
+ },
+ {
+ label: "项目经理",
+ value: 5,
+ },
+ {
+ label: "实施人员",
+ value: 6,
+ },
+ {
+ label: "财务",
+ value: 7,
+ },
+ {
+ label: "总经理",
+ value: 8,
+ },
+ {
+ label: "副总",
+ value: 9,
+ },
+];
+const rules = {};
export default {
- formRow,
- rules,
- tableColumnJson
-}
+ formRow,
+ rules,
+ tableColumnJson,
+};
diff --git a/src/views/systemMaintenance/buttonManagement/index.vue b/src/views/systemMaintenance/buttonManagement/index.vue
index 00b22fa..b051ef6 100644
--- a/src/views/systemMaintenance/buttonManagement/index.vue
+++ b/src/views/systemMaintenance/buttonManagement/index.vue
@@ -1,263 +1,277 @@
-
diff --git a/src/views/systemMaintenance/menuManagement/configData.js b/src/views/systemMaintenance/menuManagement/configData.js
index 9bdd43e..eb26168 100644
--- a/src/views/systemMaintenance/menuManagement/configData.js
+++ b/src/views/systemMaintenance/menuManagement/configData.js
@@ -1,156 +1,173 @@
// 详情页面结构JSON
const formRow = [{
- elCol: [{
- label: '父节点',
- prop: 'upIds',
- tag: 'elTreeSelect',
- options:[],
- },
- {
- label: '等级',
- prop: 'lvl',
- disabled:true,
- tag: 'elInputNumber',
- },
- ]
- },
- {
- elCol: [{
- label: '菜单名称',
- prop: 'title',
- tag: 'elInput',
- },
- {
- label: '菜单英文名称',
- prop: 'name',
- tag: 'elInput',
- },
- ]
- },
- {
- elCol: [{
- label: '文件路径',
- prop: 'component',
- tag: 'elInput',
- },
- {
- label: '菜单图标',
- prop: 'icon',
- tag: 'elInput',
- },
- ]
- },
- {
- elCol: [{
- label: '页面路径',
- prop: 'path',
- tag: 'elInput',
- },
- {label: '菜单编码',
- prop: 'code',
- tag: 'elInput',
- },
- ]
- },
- {
- elCol: [
- {
- label: '打开方式',
- prop: 'openType',
- tag: 'elRadio',
- options: [{
- label: '菜单',
- value: '1'
- },{
- label: '弹窗',
- value: '2'
- }
- ]
- },
- {
- label: '菜单顺序',
- prop: 'sorts',
- tag: 'elInputNumber',
- },
- ]
- },
- {
- elCol: [{
- label: '操作级别',
- prop: 'level',
- tag: 'elRadio',
- options: [{
- label: 'SuperAdmin',
- value: '1'
- },{
- label: 'admin',
- value: '2'
- },{
- label: 'user',
- value: '3'
- }
- ]
- },
- {
- label: '显示',
- prop: 'hidden',
- tag: 'elRadio',
- options: [{
- label: '是',
- value: 'false'
- },{
- label: '否',
- value: 'true'
- }
- ]
- },
-
- // {
- // label: '操作权限',
- // prop: 'telphone',
- // tag: 'elRadio',
- // options: [{
- // label: '是',
- // value: '1'
- // },{
- // label: '否',
- // value: '2'
- // }
- // ]
- // },
- ]
- },
+ elCol: [{
+ label: '父节点',
+ prop: 'parentMenuName',
+ tag: 'elDialog',
+ span:24,
+ },
+ // {
+ // label: '菜单顺序',
+ // prop: 'mc_Sort',
+ // tag: 'elInput',
+ // rules:true
+ // // type:'number'
+ // },
+ ]
+},
+ {
+ elCol: [{
+ label: '菜单名称',
+ prop: 'menuName',
+ tag: 'elInput',
+ },
+ {
+ label: '菜单英文名称',
+ prop: 'menuEnglishName',
+ tag: 'elInput',
+ },
+ ]
+ },
+ {
+ elCol: [{
+ label: '菜单路径',
+ prop: 'route',
+ tag: 'elInput',
+ },
+ {
+ label: '菜单图标',
+ prop: 'menuIcon',
+ tag: 'elInput',
+ },
+ ]
+ },
+ {
+ elCol: [{
+ label: '页面路径',
+ prop: 'menuPage',
+ tag: 'elInput',
+ },
+ ]
+ },
+ {
+ elCol: [
+ {
+ label: '打开方式',
+ prop: 'showType',
+ tag: 'elRadio',
+ options: [{
+ label: '菜单',
+ value: "1"
+ },{
+ label: '弹窗',
+ value: "2"
+ }
+ ]
+ },
+ {
+ label: '显示',
+ prop: 'visibles',
+ tag: 'elRadio',
+ options: [{
+ label: '是',
+ value: "1"
+ },{
+ label: '否',
+ value: "0",
+ }
+ ]
+ },
+ ]
+ },
+ // {
+ // elCol: [{
+ // label: '功能权限',
+ // prop: 'birthday',
+ // tag: 'elRadio',
+ // options: [{
+ // label: '是',
+ // value: '1'
+ // },{
+ // label: '否',
+ // value: '2'
+ // }
+ // ]
+ // },
+ // {
+ // label: '操作权限',
+ // prop: 'telphone',
+ // tag: 'elRadio',
+ // options: [{
+ // label: '是',
+ // value: '1'
+ // },{
+ // label: '否',
+ // value: '2'
+ // }
+ // ]
+ // },
+ // ]
+ // },
+]
+const roleOptions = [{
+ label: '超级管理员',
+ value: 1
+},
+ {
+ label: '业务员',
+ value: 2
+ },
+ {
+ label: '管理员',
+ value: 3
+ },
+ {
+ label: '开发成员',
+ value: 4
+ },
+ {
+ label: '项目经理',
+ value: 5
+ },
+ {
+ label: '实施人员',
+ value: 6
+ },
+ {
+ label: '财务',
+ value: 7
+ },
+ {
+ label: '总经理',
+ value: 8
+ },
+ {
+ label: '副总',
+ value: 9
+ }
]
const rules = {
- title: [{
- required: true,
- message: '请输入名称',
- trigger: 'change'
- }],
- component: [{
- required: true,
- message: '请输入文件路径',
- trigger: 'change'
- }],
- path: [{
- required: true,
- message: '请输入路由路径',
- trigger: 'change'
- }],
- code: [{
- required: true,
- message: '请输入编码',
- trigger: 'change'
- }],
- openType: [{
- required: true,
- message: '请选择打开方式',
- trigger: 'change'
- }],
+ villageId: [{
+ required: true,
+ message: '请选择村/社区名称',
+ trigger: 'change'
+ }],
+ registerTime: [{
+ required: true,
+ message: '请选择登记时间',
+ trigger: 'change'
+ }],
};
+// 详情显示图片配置
+const showImgJson = {
+ span: 24,
+ text: '现场照片',
+ field: 'photoUrls',
+};
export default {
- formRow,
- rules
-}
+ showImgJson,
+ formRow,
+ rules
+}
diff --git a/src/views/systemMaintenance/menuManagement/index.vue b/src/views/systemMaintenance/menuManagement/index.vue
index b54e976..9781cd5 100644
--- a/src/views/systemMaintenance/menuManagement/index.vue
+++ b/src/views/systemMaintenance/menuManagement/index.vue
@@ -3,81 +3,49 @@
* @date: 2022-09-09
-->
-
-
+
+
+
+
+
+
- >
-
-
-
-
-
\ No newline at end of file
+
+// 表头配置
+const tableColumnJson = [
+{
+label: '用户账号',
+prop: 'u_LoginCode',
+tooltip: true,
+},
+{
+label: '用户姓名',
+prop: 'p_PersonName',
+tooltip: true,
+},
+{
+label: '所属部门',
+prop: 'o_OrganName',
+tooltip: true,
+},
+{
+label: '手机号',
+prop: 'p_Telphone',
+tooltip: true
+},
+{
+label: '状态',
+prop: 'stateNote',
+tooltip: true
+},
+
+]
+
+export default {
+tableColumnJson,
+}
diff --git a/src/views/systemSettings/jurisdictionManage/userJurisdiction/configData.js b/src/views/systemSettings/jurisdictionManage/userJurisdiction/configData.js
index 7dd458a..c51b2e9 100644
--- a/src/views/systemSettings/jurisdictionManage/userJurisdiction/configData.js
+++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/configData.js
@@ -1,34 +1,34 @@
// 表头配置
const tableColumnJson = [
- {
- label: '用户账号',
- prop: 'u_LoginCode',
- tooltip: true,
- },
- {
- label: '用户姓名',
- prop: 'p_PersonName',
- tooltip: true,
- },
- {
- label: '所属部门',
- prop: 'o_OrganName',
- tooltip: true,
- },
- {
- label: '手机号',
- prop: 'p_Telphone',
- tooltip: true
- },
- {
- label: '状态',
- prop: 'stateNote',
- tooltip: true
- },
+ {
+ label: '用户账号',
+ prop: 'loginCode',
+ tooltip: true,
+ },
+ {
+ label: '用户姓名',
+ prop: 'personName',
+ tooltip: true,
+ },
+ {
+ label: '所属部门',
+ prop: 'organName',
+ tooltip: true,
+ },
+ {
+ label: '手机号',
+ prop: 'mobilePhone',
+ tooltip: true
+ },
+ {
+ label: '状态',
+ prop: 'state',
+ tooltip: true
+ },
]
export default {
- tableColumnJson,
+ tableColumnJson,
}
diff --git a/src/views/systemSettings/jurisdictionManage/userJurisdiction/dataPermissions.vue b/src/views/systemSettings/jurisdictionManage/userJurisdiction/dataPermissions.vue
new file mode 100644
index 0000000..4e208d8
--- /dev/null
+++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/dataPermissions.vue
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/systemSettings/jurisdictionManage/userJurisdiction/dataSetting.vue b/src/views/systemSettings/jurisdictionManage/userJurisdiction/dataSetting.vue
index ddadc2f..9131b67 100644
--- a/src/views/systemSettings/jurisdictionManage/userJurisdiction/dataSetting.vue
+++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/dataSetting.vue
@@ -1,114 +1,114 @@
-
+
+.dataSetting {
+ color: #000;
+ .recordText {
+ border: 1px solid #fff;
+ width: 80px;
+ padding: 8px 0;
+ text-align: center;
+ font-size: 12px;
+ cursor: pointer;
+ background: #f2f2f2;
+ color: #e0e0e0;
+ margin:3px;
+ }
+
+ .recordText.active {
+ background: $activeColor;
+ color: #fff;
+ }
+}
+
diff --git a/src/views/systemSettings/jurisdictionManage/userJurisdiction/index.vue b/src/views/systemSettings/jurisdictionManage/userJurisdiction/index.vue
index 86e6faf..b585919 100644
--- a/src/views/systemSettings/jurisdictionManage/userJurisdiction/index.vue
+++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/index.vue
@@ -1,460 +1,525 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
diff --git a/src/views/systemSettings/jurisdictionManage/userJurisdiction/jurisdictionSetting.vue b/src/views/systemSettings/jurisdictionManage/userJurisdiction/jurisdictionSetting.vue
index 99dfaba..846e73a 100644
--- a/src/views/systemSettings/jurisdictionManage/userJurisdiction/jurisdictionSetting.vue
+++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/jurisdictionSetting.vue
@@ -1,13 +1,13 @@
-
+
diff --git a/src/views/systemSettings/jurisdictionManage/userJurisdiction/layOutPermissions.vue b/src/views/systemSettings/jurisdictionManage/userJurisdiction/layOutPermissions.vue
new file mode 100644
index 0000000..cec1c56
--- /dev/null
+++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/layOutPermissions.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
diff --git a/src/views/systemSettings/jurisdictionManage/userJurisdiction/menuSetting.vue b/src/views/systemSettings/jurisdictionManage/userJurisdiction/menuSetting.vue
index c822f0c..e01f43f 100644
--- a/src/views/systemSettings/jurisdictionManage/userJurisdiction/menuSetting.vue
+++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/menuSetting.vue
@@ -1,131 +1,131 @@
-
+}
+
diff --git a/src/views/systemSettings/jurisdictionManage/userJurisdiction/newSetting.vue b/src/views/systemSettings/jurisdictionManage/userJurisdiction/newSetting.vue
index e944bc1..66d1946 100644
--- a/src/views/systemSettings/jurisdictionManage/userJurisdiction/newSetting.vue
+++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/newSetting.vue
@@ -1,410 +1,410 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+$activeColor: var(--bg-color, "#00aaff");
+.el-icon-star-on{
+ /* color: #00aa00; */
+ color: $activeColor;
+}
+
diff --git a/src/views/systemSettings/jurisdictionManage/userJurisdiction/rightDialog.vue b/src/views/systemSettings/jurisdictionManage/userJurisdiction/rightDialog.vue
new file mode 100644
index 0000000..dfafb77
--- /dev/null
+++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/rightDialog.vue
@@ -0,0 +1,392 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.nameCh }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/systemSettings/userSettings/PersonnelSettings/index.vue b/src/views/systemSettings/userSettings/PersonnelSettings/index.vue
index 3049def..7390979 100644
--- a/src/views/systemSettings/userSettings/PersonnelSettings/index.vue
+++ b/src/views/systemSettings/userSettings/PersonnelSettings/index.vue
@@ -227,8 +227,8 @@ export default {
let params = {
id: id
}
- let res = await PersonDelData(params)
- if (res.code == 1) {
+ let res = await authApi('sysPersonService','','deleteEntity','',params)
+ if (res.status == 200) {
this.$vmNews('删除成功', 'success')
this.resetTable()
// this.pageModel.page = 1
@@ -456,7 +456,14 @@ export default {
let params = {
...data,
}
- let res = await authApi("sysPersonService","","saveEntity","",params)
+ let res
+ console.log(params,'params')
+ if(params.id){
+ res = await authApi("sysPersonService","","updateEntity","",params)
+ }else{
+ res = await authApi("sysPersonService","","saveEntity","",params)
+
+ }
if (res.status == 200) {
this.$vmNews('保存成功', 'success')
this.addDialog = false
diff --git a/src/views/systemSettings/userSettings/userInformation/configData.js b/src/views/systemSettings/userSettings/userInformation/configData.js
index 8a1ce38..145accc 100644
--- a/src/views/systemSettings/userSettings/userInformation/configData.js
+++ b/src/views/systemSettings/userSettings/userInformation/configData.js
@@ -1,527 +1,243 @@
+
// 页面操作按钮配置
const fucDataJson = [{
- name: '导出',
- type: 'danger',
- icon: 'el-icon-position'
- },
+ name: '导出',
+ type: 'danger',
+ icon: 'el-icon-position'
+},
]
// 表头配置
-const tableColumnJson = [{
- label: '显示名称',
- prop: 'viewName',
- tooltip: true,
- },
- {
- label: '登录名',
- prop: 'loginName',
- tooltip: true,
- // other: {
- // color: '#4C9CFF',
- // isClick: true
- // }
- },
- {
- label: '密码超期时间',
- prop: 'expirationDate',
- tooltip: true,
- },
- {
- label: '入职时间',
- prop: 'entryTime',
- tooltip: true,
- },
- {
- label: '是否启用',
- prop: 'state',
- tooltip: true
- },
- {
- label: '电子邮箱',
- prop: 'email',
- tooltip: true
- },
- {
- label: '在职状态',
- prop: 'useState',
- tooltip: true,
- },
+const personColumn = [
+ {
+ label: '所属部门',
+ prop: 'organName',
+ tooltip: true,
+ },
+ {
+ label: '工号',
+ prop: 'personCode',
+ tooltip: true,
+ // other: {
+ // color: '#4C9CFF',
+ // isClick: true
+ // }
+ },
+ {
+ label: '姓名',
+ prop: 'personName',
+ tooltip: true,
+ },
+ {
+ label: '入职时间',
+ prop: 'entryTime',
+ tooltip: true,
+ },
+ // {
+ // label: '离职时间',
+ // prop: 'number',
+ // tooltip: true
+ // },
+ // {
+ // label: '性别',
+ // prop: 'sex',
+ // tooltip: true
+ // },
+ // {
+ // label: '学历',
+ // prop: 'Degree',
+ // tooltip: true,
+ // },
+ // {
+ // label: '职务',
+ // prop: 'Post',
+ // tooltip: true,
+ // },
+ // {
+ // label: '级别 ',
+ // prop: 'illegalType',
+ // tooltip: true,
+ // },
+ // {
+ // label: '生日',
+ // prop: 'BirthDay',
+ // tooltip: true,
+ // },
+ {
+ label: '固定电话 ',
+ prop: 'mobilePhone',
+ tooltip: true,
+ },
+ // {
+ // label: '籍贯 ',
+ // prop: 'areaCovered',
+ // tooltip: true,
+ // },
+ // {
+ // label: '身份证',
+ // prop: 'areaBuilding',
+ // tooltip: true,
+ // },
+ {
+ label: '电子邮箱',
+ prop: 'email',
+ tooltip: true,
+ },
+ {
+ label: '出生年月',
+ prop: 'birthDay',
+ tooltip: true,
+ },
+ {
+ label: '是否用户分配',
+ prop: 'state',
+ tooltip: true,
+ },
]
// 表头配置
-const personColumn = [{
- label: '用户账号',
- prop: 'u_LoginCode',
- tooltip: true,
- },
- {
- label: '用户姓名',
- prop: 'p_PersonName',
- tooltip: true,
- },
- {
- label: '所属部门',
- prop: 'o_OrganName',
- tooltip: true,
- },
- {
- label: '手机号',
- prop: 'p_Telphone',
- tooltip: true
- },
- {
- label: '状态',
- prop: 'stateNote',
- tooltip: true
- },
+const tableColumnJson = [
+ {
+ label: '用户账号',
+ prop: 'loginCode',
+ tooltip: true,
+ },
+ {
+ label: '用户姓名',
+ prop: 'personName',
+ tooltip: true,
+ },
+ {
+ label: '所属部门',
+ prop: 'organName',
+ tooltip: true,
+ },
+ {
+ label: '手机号',
+ prop: 'mobilePhone',
+ tooltip: true
+ },
+ {
+ label: '状态',
+ prop: 'state',
+ tooltip: true
+ },
]
// 详情页面结构JSON
const formRow1 = [{
- elCol: [{
- label: '选择人员',
- prop: 'p_PersonName',
- tag: 'elDialog',
- // disabled:false
- },
- {
- label: '登录账号',
- prop: 'u_LoginCode',
- tag: 'elInput',
- // placeholder:'自动带入',
- // disabled:true
- },
- ]
-}, {
- elCol: [{
- label: '描述',
- prop: 'u_Remark',
- tag: 'elInput',
- type: 'textarea',
- span: 24
- }, ]
-}]
+ elCol: [{
+ label: '选择人员',
+ prop: 'personName',
+ tag: 'elDialog',
+ // disabled:false
+ },
+ {
+ label: '登录账号',
+ prop: 'loginCode',
+ tag: 'elInput',
+ // placeholder:'自动带入',
+ // disabled:true
+ },
+ ]
+},{
+ elCol: [{
+ label: '描述',
+ prop: 'remark',
+ tag: 'elInput',
+ type:'textarea',
+ span:24
+ },
+ ]
+}
+]
const formRow2 = [{
- elCol: [{
- label: '用户名',
- prop: 'p_PersonName',
- tag: 'elDialog',
- // disabled:false
- },
- {
- label: '登录账号',
- prop: 'u_LoginCode',
- tag: 'elInput',
- // placeholder:'自动带入',
- // disabled:true
- },
- ]
-}, {
- elCol: [{
- label: '描述',
- prop: 'u_Remark',
- tag: 'elInput',
- type: 'textarea',
- span: 24
- }, ]
-}]
+ elCol: [{
+ label: '用户名',
+ prop: 'p_PersonName',
+ tag: 'elDialog',
+ // disabled:false
+ },
+ {
+ label: '登录账号',
+ prop: 'u_LoginCode',
+ tag: 'elInput',
+ // placeholder:'自动带入',
+ // disabled:true
+ },
+ ]
+},{
+ elCol: [{
+ label: '描述',
+ prop: 'u_Remark',
+ tag: 'elInput',
+ type:'textarea',
+ span:24
+ },
+ ]
+}
+]
+const roleOptions = [{
+ label: '超级管理员',
+ value: 1
+},
+ {
+ label: '业务员',
+ value: 2
+ },
+ {
+ label: '管理员',
+ value: 3
+ },
+ {
+ label: '开发成员',
+ value: 4
+ },
+ {
+ label: '项目经理',
+ value: 5
+ },
+ {
+ label: '实施人员',
+ value: 6
+ },
+ {
+ label: '财务',
+ value: 7
+ },
+ {
+ label: '总经理',
+ value: 8
+ },
+ {
+ label: '副总',
+ value: 9
+ }
+]
const rules = {
- villageId: [{
- required: true,
- message: '请选择村/社区名称',
- trigger: 'change'
- }],
- registerTime: [{
- required: true,
- message: '请选择登记时间',
- trigger: 'change'
- }],
+ villageId: [{
+ required: true,
+ message: '请选择村/社区名称',
+ trigger: 'change'
+ }],
+ registerTime: [{
+ required: true,
+ message: '请选择登记时间',
+ trigger: 'change'
+ }],
};
// 详情显示图片配置
const showImgJson = {
- span: 24,
- text: '现场照片',
- field: 'photoUrls',
+ span: 24,
+ text: '现场照片',
+ field: 'photoUrls',
};
-const formRow = [
- {
- elCol: [{
- label: '显示名称',
- prop: 'viewName',
- tag: 'elInput',
- }, {
- label: '登录名',
- prop: 'loginName',
- tag: 'elInput',
- disabled: false
- }]
- },
- {
- elCol: [{
- label: '密码',
- prop: 'password',
- tag: 'elInput',
- type: 'password'
- }, {
- label: '加密策略',
- prop: 'encryptionPolicy',
- tag: 'elInput',
- }]
- },
- {
- elCol: [{
- label: '密码超时时间',
- prop: 'expirationDate',
- tag: 'elDatePicker',
- type: 'datetime'
- }, {
- label: '密码次数',
- prop: 'pawFrequency',
- tag: 'elInputNumber',
- }]
- }, {
- elCol: [{
- label: '人员编号 ',
- prop: 'staffId',
- tag: 'elInput',
- },
- {
- label: '头像路径',
- prop: 'iconUrl',
- tag: 'elInput',
- disabled: false
- }
- ]
- },
- {
- elCol: [{
- label: '是否是内部',
- prop: 'builtIn',
- tag: 'elRadio',
- options: [{
- label: '是',
- value: '1'
- },
- {
- label: '否',
- value: '0'
- },
- ]
- }, {
- label: '是否启用',
- prop: 'state',
- tag: 'elRadio',
- options: [{
- label: '启用',
- value: '1'
- },
- {
- label: '停用',
- value: '0'
- },
- ]
- }]
- },
- {
- elCol: [{
- label: '模块操作级别',
- prop: 'level',
- tag: 'elSelect',
- options: [{
- label: 'SuperAdmin',
- value: '1'
- },{
- label: 'admin',
- value: '2'
- },{
- label: 'user',
- value: '3'
- }
- ]
-
- }, {
- label: '电子邮件',
- prop: 'email',
- tag: 'elInput',
- }]
- },
- {
- elCol: [{
- label: '手机号码',
- prop: 'phone',
- tag: 'elInput',
- }, {
- label: '职务级别',
- prop: 'userLvl',
- tag: 'elSelect',
- options: [
- {
- label: '管理员',
- value: '0'
- },
- {
- label: '访客',
- value: '1'
- },
- {
- label: '员工',
- value: '2'
- },
- ]
- }]
- },
- {
- elCol: [{
- label: '性别',
- prop: 'sex',
- tag: 'elRadio',
- options: [{
- label: '男',
- value: '0'
- },
- {
- label: '女',
- value: '1'
- },
- ]
- }, {
- label: '锁定状态',
- prop: 'lockState',
- tag: 'elRadio',
- options: [{
- label: '锁定',
- value: '0'
- },
- {
- label: '未锁定',
- value: '1'
- },
- ]
- }]
- },
- {
- elCol: [{
- label: '在职状态',
- prop: 'useState',
- tag: 'elRadio',
- options: [{
- label: '在职',
- value: '1'
- },
- {
- label: '离职',
- value: '2'
- },
- ]
- }, {
- label: '微信token',
- prop: 'wechatToken',
- tag: 'elInput',
- disabled: true
- }]
- },
- {
- elCol: [{
- label: '是否可以登录',
- prop: 'isLoginable',
- tag: 'elRadio',
- options: [{
- label: '是',
- value: '1'
- },
- {
- label: '否',
- value: '0'
- },
- ]
- }, {
- label: '是否虚拟账号',
- prop: 'isVirtual',
- tag: 'elRadio',
- options: [{
- label: '是',
- value: '1'
- },
- {
- label: '否',
- value: '0'
- },
- ]
- }]
- },
- {
- elCol: [{
- label: '是否被分配',
- prop: 'isAssigned',
- tag: 'elRadio',
- options: [{
- label: '是',
- value: '1'
- },
- {
- label: '否',
- value: '0'
- },
- ]
- }, {
- label: '是否管理员',
- prop: 'isAdmin',
- tag: 'elRadio',
- options: [{
- label: '是',
- value: '1'
- },
- {
- label: '否',
- value: '0'
- },
- ]
- }]
- },
- {
- elCol: [{
- label: '枚举',
- prop: 'memberType',
- tag: 'elInput',
- tag: 'elRadio',
- options: [{
- label: '正式',
- value: '1'
- },
- {
- label: '非正式',
- value: '0'
- },
- ]
- }, {
- label: '是否被删除',
- prop: 'isDeleted',
- tag: 'elRadio',
- options: [{
- label: '删除',
- value: '1'
- },
- {
- label: '未删除',
- value: '0'
- },
- ]
- }]
- },
- {
- elCol: [{
- label: '内外标识',
- prop: 'externalType',
- tag: 'elRadio',
- options: [{
- label: '外部人',
- value: '1'
- },
- {
- label: '内部人',
- value: '0'
- },
- ]
- }, {
- label: '编号',
- prop: 'memberCode',
- tag: 'elInput',
- }]
- },
- {
- elCol: [{
- label: '出生日期',
- prop: 'birthDate',
- tag: 'elDatePicker',
- type: 'datetime'
- }, {
- label: '办公电话',
- prop: 'officeTel',
- tag: 'elInput',
- }]
- },
-
- {
- elCol: [{
- label: '人员照片地址',
- prop: 'photoAddress',
- tag: 'elInput',
- disabled: true
- }, {
- label: '所属部门',
- prop: 'department',
- tag: 'elTreeSelect',
- options:[],
- }]
- },
- {
- elCol: [{
- label: '排序编号',
- prop: 'sorts',
- tag: 'elInputNumber',
- }, {
- label: '工作地',
- prop: 'workplace',
- tag: 'elInput',
- }]
- },
- {
- elCol: [{
- label: '主岗',
- prop: 'majorPosition',
- tag: 'elInput',
- }, {
- label: '副岗',
- prop: 'deputyPost',
- tag: 'elInput',
- }]
- },
- {
- elCol: [{
- label: '人员类型',
- prop: 'userType',
- tag: 'elSelect',
- options:[
- {label:'超级管理员',value:'1'},
- {label:'管理员',value:'2'},
- {label:'业务员',value:'3'},
- ]
- }, {
- label: '人员状态',
- prop: 'personnelStatus',
- tag: 'elInput',
- tag: 'elRadio',
- options: [{
- label: '启用',
- value: '1'
- },
- {
- label: '停用',
- value: '0'
- },
- ]
- }]
- },
- {
- elCol: [{
- label: '入职时间',
- prop: 'entryTime',
- tag: 'elDatePicker',
- type: 'datetime'
- }, {
- label: '汇报人',
- prop: 'reporter',
- tag: 'elInput',
- }]
- },
-]
export default {
- fucDataJson,
- tableColumnJson,
- showImgJson,
- formRow1,
- formRow2,
- rules,
- personColumn,
- formRow
-}
+ fucDataJson,
+ tableColumnJson,
+ showImgJson,
+ formRow1,
+ formRow2,
+ rules,
+ personColumn
+}
diff --git a/src/views/systemSettings/userSettings/userInformation/index.vue b/src/views/systemSettings/userSettings/userInformation/index.vue
index 2f66179..e99a743 100644
--- a/src/views/systemSettings/userSettings/userInformation/index.vue
+++ b/src/views/systemSettings/userSettings/userInformation/index.vue
@@ -1,273 +1,588 @@
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ row.row.state == 0 ? '启动' : '停用' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-