diff --git a/src/api/apiChunks/index.js b/src/api/apiChunks/index.js index 41e020d..10a33e9 100644 --- a/src/api/apiChunks/index.js +++ b/src/api/apiChunks/index.js @@ -4,7 +4,7 @@ import request from '@/utils/request' // 动态模版请求 export function getApiModuleApi(obj, data = {}) { return request({ - url: '/kangarooDataCenter/entranceController/option', + url: 'kangarooDataCenter/entranceController/option', method: 'post', headers: obj, data @@ -12,7 +12,7 @@ export function getApiModuleApi(obj, data = {}) { } export function getApiResultApi(data = {}) { return request({ - url: '/kangarooDataCenter/entranceController/option ', + url: 'kangarooDataCenter/entranceController/option ', method: 'post', headers: { tl: "appApiService", @@ -24,10 +24,10 @@ export function getApiResultApi(data = {}) { } export function getExcelApi(obj, data = {}) { return request({ - url: '/kangarooDataCenter/entranceController/option ', + url: 'kangarooDataCenter/entranceController/option ', method: 'post', responseType: "blob", headers: obj, data }) -} \ No newline at end of file +} diff --git a/src/api/apis/auth.js b/src/api/apis/auth.js index b7ed7da..27c9106 100644 --- a/src/api/apis/auth.js +++ b/src/api/apis/auth.js @@ -2,7 +2,7 @@ import request from "@/utils/request"; export function authApi(tl,as,dj,url = '',data){ return request({ - url: '/kangarooDataCenter/entranceController/option' + url, + url: 'kangarooDataCenter/entranceController/option' + url, headers: { tl:tl, as:as, diff --git a/src/api/apis/detailData.js b/src/api/apis/detailData.js index fb5b1d6..d92bf1b 100644 --- a/src/api/apis/detailData.js +++ b/src/api/apis/detailData.js @@ -3,9 +3,9 @@ import request from '@/utils/request' // 获取全部插件列表 export function option(obj, data = {}) { return request({ - url: '/kangarooDataCenter/entranceController/option', + url: 'kangarooDataCenter/entranceController/option', method: 'post', headers: obj, data }) -} \ No newline at end of file +} diff --git a/src/api/integrationOption/integrationOption.js b/src/api/integrationOption/integrationOption.js index 68957f8..dbb7d00 100644 --- a/src/api/integrationOption/integrationOption.js +++ b/src/api/integrationOption/integrationOption.js @@ -3,9 +3,9 @@ import request from '@/utils/request' export function getUserModuleApi(obj, data = {}) { return request({ - url: '/kangarooDataCenter/entranceController/option', + url: 'kangarooDataCenter/entranceController/option', method: 'post', headers: obj, data }) -} \ No newline at end of file +} diff --git a/src/api/login.js b/src/api/login.js index 2135a3f..7b4d071 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -7,7 +7,7 @@ import request from '@/utils/request' // 登录方法 export function login(login_name, password) { const data = { - login_name, + loginCode:login_name, password, } return request({ @@ -61,4 +61,4 @@ export function getCodeImg() { method: 'get', timeout: 20000 }) -} \ No newline at end of file +} diff --git a/src/api/system/integrationOption.js b/src/api/system/integrationOption.js index 15b513d..71ef1d7 100644 --- a/src/api/system/integrationOption.js +++ b/src/api/system/integrationOption.js @@ -3,9 +3,9 @@ import request from '@/utils/request' // 集成应用请求 export function getPagesApi(obj, data = {}) { return request({ - url: '/kangarooDataCenter/entranceController/option', + url: 'kangarooDataCenter/entranceController/option', method: 'post', headers: obj, data }) -} \ No newline at end of file +} diff --git a/src/components/TopNav/index.vue b/src/components/TopNav/index.vue index a909615..638ecef 100644 --- a/src/components/TopNav/index.vue +++ b/src/components/TopNav/index.vue @@ -6,7 +6,7 @@ > @@ -19,9 +19,8 @@ :index="item.path" :key="index" v-if="index >= visibleNumber" - > - {{ item.meta.title }} + > + {{ item.meta.title }} diff --git a/src/components/base/BaseMenuTree/index.vue b/src/components/base/BaseMenuTree/index.vue index 97fc934..b240c09 100644 --- a/src/components/base/BaseMenuTree/index.vue +++ b/src/components/base/BaseMenuTree/index.vue @@ -6,98 +6,20 @@ @@ -108,108 +30,45 @@ export default { // 是否默认展开所有节点 expandAll: { type: Boolean, - default: true, - }, - // 操作按钮 - treeButton: { - type: Boolean, - default: false, - }, - // 操作按钮 - filterButtonShow: { - type: Boolean, - default: false, + default: true }, // 是否显示保存按钮 isSaveBtn: { type: Boolean, - default: false, + default: false }, // 是否显示全选按钮 Allshow: { type: Boolean, - default: false, + default: false }, // 是否显示多选按钮 showCheckbox: { type: Boolean, - default: false, + default: false }, // 是否居中 isCenter: { type: Boolean, - default: true, - }, - // 是否显示筛选 - filterShow: { - type: Boolean, - default: false, + default: true }, menuData: { type: Array, default: () => { - return []; - }, + return [] + } }, setting: { type: Boolean, - default: false, - }, - treeLoading: { - type: Boolean, - default: false, - }, - appendButton: { - type: Boolean, - default: true, - }, - reviseButton: { - type: Boolean, - default: true, - }, - removeButton: { - type: Boolean, - default: true, - }, - nodeLabel: { - type: String, - default: "", - }, - treeProps: { - type: Object, - default() { - return { - children: "children", - label: "label", - }; - }, - }, - // 树高度 - treeBodyHeight: { - type: [Number, String], - default: "calc(100% - 22px)", - }, - }, - watch: { - defaultTheme: { - handler: function (val, oldVal) { - this.theme = val; - // document.getElementsByTagName('body')[0].style.setProperty('--active', val) - - // let arr = document.getElementsByClassName('.el-tree-node:focus>.el-tree-node__content') - // $('.el-tree-node:focus>.el-tree-node__content').css('color',val) - }, - immediate: true, - }, - filterText(val) { - this.$refs.elTree.filter(val); + default: false }, }, data() { return { - filterText: "", - theme: "", + theme: '', powerDlog: false, + // 菜单数据 + // menuData: [], // 回显选中ids selectData: [], // 树状图设置 @@ -217,70 +76,52 @@ export default { // label: 'menuName', // children: 'id', // }, - // treeProps: { - // children: 'children', - // label: 'label' - // }, - + treeProps: { + children: 'children', + label: 'label' + }, // PC菜单全选 checkedAllPc: false, // 防连点 outing: false, - }; + treeLoading: false, + } + }, + created() { }, + mounted() { }, - created() {}, - mounted() {}, computed: { defaultTheme() { - return this.$store.state.settings.theme; + return this.$store.state.settings.theme + }, + }, + watch: { + defaultTheme: { + handler: function (val, oldVal) { + this.theme = val + // document.getElementsByTagName('body')[0].style.setProperty('--active', val) + + // let arr = document.getElementsByClassName('.el-tree-node:focus>.el-tree-node__content') + // $('.el-tree-node:focus>.el-tree-node__content').css('color',val) + }, + immediate: true, }, }, methods: { - setCurrentKey(selectId) { - this.$nextTick(() => { - this.$refs.elTree.setCurrentKey(selectId); - }); - }, - dbTree() { - this.setCurrentKey(null); - }, - // 添加 - append(node, data) { - this.$emit("append", data); - }, - // 编辑 - revise(node, data) { - this.$emit("revise", data); - }, - // 删除 - remove(node, data) { - this.$emit("remove", data); - }, - add() { - this.$emit("add"); - }, - filterNode(value, data, node) { - if (!value) return true; - let nodeData = - this.nodeLabel == "" - ? data[this.treeProps.label] - : data[this.treeProps.label][this.nodeLabel]; - return nodeData.indexOf(value) !== -1; - }, buttonL(el) { - el.active = !el.active; - this.$forceUpdate(); + el.active = !el.active + this.$forceUpdate() }, setData(id) { - this.selectData.push(id); + this.selectData.push(id) }, saveMenuUser() { let allKeys = this.getKey(); - this.$emit("onSaveMenu", allKeys); + this.$emit('onSaveMenu', allKeys); }, // 获取选中的key值 getKey() { - return this.$refs.elTree.getCheckedKeys(); + return this.$refs.elTree.getCheckedKeys() }, // 初始数据 initData() { @@ -292,15 +133,15 @@ export default { }, // 关闭弹窗 handleClose() { - this.powerDlog = false; - this.initData(); + this.powerDlog = false + this.initData() }, // 全选、反选 changePcAll() { this.checkedAllPc = !this.checkedAllPc; let selectData = []; if (this.checkedAllPc) { - selectData = this.cycleData(this.menuData); + selectData = this.cycleData(this.menuData) } this.selectData = selectData; }, @@ -316,40 +157,39 @@ export default { function cycle(data) { if (!data || data.length == 0) { - return false; + return false } else { for (var i = 0, len = data.length; i < len; i++) { - let item = data[i]; + let item = data[i] if (isSelect && item.selected == 1) { - newData.push(item.id); + newData.push(item.id) } if (!isSelect) { - newData.push(item.id); + newData.push(item.id) } - cycle(item.id); + cycle(item.id) } } } - cycle(outData); - return newData; + cycle(outData) + return newData }, getData(childIds) { let newData = []; - function cycle(data) { - data.forEach((el) => { - childIds.forEach((item) => { + data.forEach(el => { + childIds.forEach(item => { if (el.id == item) { - newData.push(el); + newData.push(el) } - }); + }) if (el.children != null && el.children && el.children.length) { - cycle(el.children, childIds); + cycle(el.children, childIds) } - }); + }) } - cycle(this.menuData, childIds); - return newData; + cycle(this.menuData, childIds) + return newData }, /** * @description 节点选中状态发生变化时的回调 @@ -359,55 +199,48 @@ export default { * @param { Boolean } checked 当前节点是否选中 */ checkChange(nodeDode, checked) { - let getHalfCheckedKeys = this.$refs.elTree - .getCheckedKeys() - .concat(this.$refs.elTree.getHalfCheckedKeys()); + let getHalfCheckedKeys = this.$refs.elTree.getCheckedKeys().concat(this.$refs.elTree.getHalfCheckedKeys()) // let getHalfCheckedKeys = this.$refs.elTree.getHalfCheckedKeys() - let childIds = - getHalfCheckedKeys.length != 0 ? getHalfCheckedKeys : this.selectData; - let checkdata = this.getData(childIds); - this.$emit("checkChange", childIds, checkdata); - return; + let childIds = getHalfCheckedKeys.length != 0 ? getHalfCheckedKeys : this.selectData + let checkdata = this.getData(childIds) + this.$emit('checkChange', childIds, checkdata) + return + + let id = nodeDode.id; // let childIds = this.cycleData(id) + console.log(id) // 循环设置子项是否选中 - childIds.forEach((item) => { - this.$refs.elTree.setChecked(item, checked); - }); + childIds.forEach(item => { + this.$refs.elTree.setChecked(item, checked) + }) }, // 点击事件 handleNodeClick(data) { - this.$emit("handleNodeClick", data); + this.$emit('handleNodeClick', data); }, - }, -}; + + } +} diff --git a/src/components/base/baseLayout/index.vue b/src/components/base/baseLayout/index.vue index 65d292e..59d8bc4 100644 --- a/src/components/base/baseLayout/index.vue +++ b/src/components/base/baseLayout/index.vue @@ -5,142 +5,219 @@ --> @@ -148,7 +225,6 @@ diff --git a/src/components/base/baseNewForm/index.vue b/src/components/base/baseNewForm/index.vue index 7a80daa..dedd948 100644 --- a/src/components/base/baseNewForm/index.vue +++ b/src/components/base/baseNewForm/index.vue @@ -4,541 +4,541 @@ * @date: 2022-08-24 --> diff --git a/src/components/base/baseOrganization/index.vue b/src/components/base/baseOrganization/index.vue index cc2d85e..95975e9 100644 --- a/src/components/base/baseOrganization/index.vue +++ b/src/components/base/baseOrganization/index.vue @@ -21,7 +21,7 @@
- +
@@ -100,6 +100,7 @@ export default { }, // 菜单树选中 handleNodeClick(data) { + console.log(data) this.organizationForm = data }, // 清空form @@ -126,4 +127,4 @@ export default { border-radius: 5px; } } - \ No newline at end of file + diff --git a/src/components/base/basePerson/index.vue b/src/components/base/basePerson/index.vue index 8a3167c..a1b7051 100644 --- a/src/components/base/basePerson/index.vue +++ b/src/components/base/basePerson/index.vue @@ -29,6 +29,7 @@ + + \ No newline at end of file diff --git a/src/views/doraChunk/components/menuChunk/index copy.vue b/src/views/doraChunk/components/menuChunk/index copy.vue new file mode 100644 index 0000000..4d02ae8 --- /dev/null +++ b/src/views/doraChunk/components/menuChunk/index copy.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/src/views/doraChunk/components/menuChunk/index.vue b/src/views/doraChunk/components/menuChunk/index.vue new file mode 100644 index 0000000..e7dbc5d --- /dev/null +++ b/src/views/doraChunk/components/menuChunk/index.vue @@ -0,0 +1,120 @@ + + + + + diff --git a/src/views/doraChunk/components/optionsChunk/index.vue b/src/views/doraChunk/components/optionsChunk/index.vue new file mode 100644 index 0000000..30ae3e9 --- /dev/null +++ b/src/views/doraChunk/components/optionsChunk/index.vue @@ -0,0 +1,169 @@ + + + + + diff --git a/src/views/doraChunk/config/indexChunkConfig.js b/src/views/doraChunk/config/indexChunkConfig.js new file mode 100644 index 0000000..6b5a3ef --- /dev/null +++ b/src/views/doraChunk/config/indexChunkConfig.js @@ -0,0 +1,206 @@ +/** + * huyitong 2023-09-05 + * tag:"layOutChunk"首页模块 + * name:"左侧拖拽菜单显示名" + * icon:“左侧拖拽菜单显示icon” + * min:最小宽度 + * width:初始宽度 + * defaultWidth:默认宽度(还原默认用) + * componentName:组件名(需去@/components/index.js提前注册) + * alignCenter:是否居中 + */ +const config = [ + // { + // name: "今日数据概览-普通员工", + // componentName: "employeeTodayData", + // width: 60, + // defaultWidth: 60, + // min: 10, + // icon: "el-icon-picture-outline-round", + // tag: "layOutChunk", + // alignCenter: false, + // }, + { + name: "任务预警", + componentName: "taskWarning", + width: 32, + defaultWidth: 32, + min: 10, + icon: "el-icon-picture-outline-round", + tag: "layOutChunk", + alignCenter: false, + }, + { + name: "合同预警", + componentName: "contractWarning", + width: 32, + defaultWidth: 32, + min: 10, + icon: "el-icon-picture-outline-round", + tag: "layOutChunk", + alignCenter: false, + }, + { + name: "待审工作", + componentName: "agencyReviewWork", + width: 32, + defaultWidth: 32, + min: 10, + icon: "el-icon-picture-outline-round", + tag: "layOutChunk", + alignCenter: false, + }, + { + name: "项目预警", + componentName: "projectWarning", + width: 32, + defaultWidth: 32, + min: 10, + icon: "el-icon-picture-outline-round", + tag: "layOutChunk", + alignCenter: false, + }, + { + name: "交接单未立项", + componentName: "contractHandover", + width: 16, + defaultWidth: 16, + min: 10, + icon: "el-icon-picture-outline-round", + tag: "layOutChunk", + alignCenter: false, + }, + { + name: "本月任务数", + componentName: "employeeMonthTask", + width: 35, + min: 10, + defaultWidth: 35, + icon: "el-icon-menu", + tag: "layOutChunk", + alignCenter: false, + }, + { + name: "本周任务", + componentName: "employeeWeekTask", + width: 60, + min: 10, + defaultWidth: 60, + icon: "el-icon-s-cooperation", + tag: "layOutChunk", + alignCenter: false, + }, + { + name: "快捷操作区", + componentName: "quickOperation", + width: 35, + min: 10, + defaultWidth: 35, + icon: "el-icon-s-cooperation", + tag: "layOutChunk", + alignCenter: false, + }, + { + name: "我的周计划", + componentName: "weekPlan", + width: 35, + min: 10, + defaultWidth: 35, + icon: "el-icon-s-release", + tag: "layOutChunk", + alignCenter: false, + }, + { + name: "我的审批", + componentName: "approval", + width: 35, + min: 10, + defaultWidth: 35, + icon: "el-icon-date", + tag: "layOutChunk", + alignCenter: false, + }, + // { + // name: "今日数据概览-项目经理", + // componentName: "projectManagerTodayData", + // width: 60, + // defaultWidth: 60, + // min: 10, + // icon: "el-icon-s-check", + // tag: "layOutChunk", + // alignCenter: false, + // }, + { + name: "未处理问题", + componentName: "projectManagerProblem", + width: 35, + min: 10, + defaultWidth: 35, + icon: "el-icon-s-claim", + tag: "layOutChunk", + alignCenter: false, + }, + { + name: "项目阶段预警", + componentName: "projectManagerProjectWarning", + width: 60, + defaultWidth: 60, + min: 10, + icon: "el-icon-picture-outline-round", + tag: "littleModule", + alignCenter: false, + }, + { + name: "重点项目跟进", + componentName: "keyProject", + width: 60, + defaultWidth: 60, + min: 10, + icon: "el-icon-picture-outline-round", + tag: "littleModule", + alignCenter: false, + }, + // { + // name: "今日数据概览-业务员", + // componentName: "salesManTodayData", + // width: 60, + // defaultWidth: 60, + // min: 10, + // icon: "el-icon-picture-outline-round", + // tag: "littleModule", + // alignCenter: false, + // }, + { + name: "回款认领", + componentName: "salesMamRefundClaim", + width: 60, + defaultWidth: 60, + min: 10, + icon: "el-icon-picture-outline-round", + tag: "littleModule", + alignCenter: false, + }, + { + name: "合同收款预警", + componentName: "salesManCollectionWarning", + width: 60, + defaultWidth: 60, + min: 10, + icon: "el-icon-picture-outline-round", + tag: "littleModule", + alignCenter: false, + }, + { + name: "今日天气", + componentName: "weatherChunk", + width: 35, + defaultWidth: 35, + min: 10, + icon: "el-icon-picture-outline-round", + tag: "littleModule", + alignCenter: false, + }, +]; +export default { + config, +}; diff --git a/src/views/doraChunk/config/littleModule.js b/src/views/doraChunk/config/littleModule.js new file mode 100644 index 0000000..65362b1 --- /dev/null +++ b/src/views/doraChunk/config/littleModule.js @@ -0,0 +1,6 @@ +const config = [ + +] +export default { + config, +}; \ No newline at end of file diff --git a/src/views/doraChunk/index.vue b/src/views/doraChunk/index.vue new file mode 100644 index 0000000..5fa8b95 --- /dev/null +++ b/src/views/doraChunk/index.vue @@ -0,0 +1,137 @@ + + + + + diff --git a/src/views/newIntegrationTask/foregroundTask/baseNewSelect.vue b/src/views/newIntegrationTask/foregroundTask/baseNewSelect.vue index 3304fa5..d314abb 100644 --- a/src/views/newIntegrationTask/foregroundTask/baseNewSelect.vue +++ b/src/views/newIntegrationTask/foregroundTask/baseNewSelect.vue @@ -46,7 +46,7 @@
{{ showValue }}
diff --git a/src/views/newIntegrationTask/foregroundTask/configData.js b/src/views/newIntegrationTask/foregroundTask/configData.js index 0a753c7..1297b10 100644 --- a/src/views/newIntegrationTask/foregroundTask/configData.js +++ b/src/views/newIntegrationTask/foregroundTask/configData.js @@ -106,10 +106,25 @@ const formRowShow = [ }] }, ] +const operationTableColumn= [ + { + label: '本次推送的执行时间', + prop: 'create_time', + }, + { + label: '本次推送的入参', + prop: 'inParameter', + }, + { + label: '推送人名称', + prop: 'create_user_id', + }, +] export default { tableColumnData, formRow, basicsRules, formRowShow, - tableVersionColumn + tableVersionColumn, + operationTableColumn } diff --git a/src/views/newIntegrationTask/foregroundTask/index.vue b/src/views/newIntegrationTask/foregroundTask/index.vue index 04a1cd6..0f08633 100644 --- a/src/views/newIntegrationTask/foregroundTask/index.vue +++ b/src/views/newIntegrationTask/foregroundTask/index.vue @@ -74,7 +74,7 @@ export default { { color: "#6a9af1", - text: "编辑", + text: "重推", }, { color: "#d67a74", @@ -137,15 +137,15 @@ export default { add() { this.$refs.rightDialog.openDialog("add"); }, - // 表格操作事件 查看 编辑 删除 + // 表格操作事件 查看 重推 删除 onFunc(index, row,item) { // 查看 if (item.text==='查看') { this.openLoading("detail"); this.$refs.rightDialog.openDialog("show", row); } - // 编辑 - if (item.text==='编辑') { + // 重推 + if (item.text==='重推') { this.openLoading("detail"); this.$refs.rightDialog.openDialog("edit", row); } diff --git a/src/views/newIntegrationTask/foregroundTask/rightDialog.vue b/src/views/newIntegrationTask/foregroundTask/rightDialog.vue index 274bedc..af0beb2 100644 --- a/src/views/newIntegrationTask/foregroundTask/rightDialog.vue +++ b/src/views/newIntegrationTask/foregroundTask/rightDialog.vue @@ -42,7 +42,7 @@ :funData="funData" @onFunc="onFunc" > - + + +
@@ -141,6 +193,8 @@ export default { isEdit: false, select_dist:{}, plugNameOptions:[], + tableColumn:configData.operationTableColumn,//操作记录 + tableData:[], }; }, mounted() { @@ -215,14 +269,9 @@ export default { openDialog(type, row) { this.queryProductClassfy(); this.formRow = configData.formRow; - this.submitShow = true; + this.submitShow = true; this.isEdit = false - this.funData = [ - { - color: "#ff0000", - text: "删除", - } - ] + this.funData = [] // 新增 if (type == "add") { this.dialogTitle = "新增"; @@ -270,6 +319,7 @@ export default { this.$set(item,'endDate',item.argValue.split("/")[1]) } }) + this.tableData=res.attribute.sysIntegratedForegroundTaskParameterEntities // let result = []; // this.tableVersionData = Object.assign([], result); }); @@ -389,6 +439,10 @@ export default { \ No newline at end of file + .recordText.active { + background: $activeColor; + color: #fff; + } +} + + diff --git a/src/views/systemSettings/jurisdictionManage/roleJurisdiction/configData.js b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/configData.js index 21431e0..7842fff 100644 --- a/src/views/systemSettings/jurisdictionManage/roleJurisdiction/configData.js +++ b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/configData.js @@ -1,44 +1,40 @@ -// 搜索配置 -const searchModelJson = [ - -] -// 页面操作按钮配置 -const fucDataJson = [{ - name: '导出', - type: 'danger', - icon: 'el-icon-position' - }, - -] -// 表头配置 -const tableColumnJson = [ - { - label: '角色编码', - prop: 'r_RoleCode', - tooltip: true, - // sortable:true - }, - { - label: '角色名称', - prop: 'r_RoleName', - tooltip: true, - }, - { - label: '顺序', - prop: 'r_Sort', - tooltip: true, - }, - { - label: '角色描述', - prop: 'r_Description', - tooltip: true, - }, -] - - - -export default { - searchModelJson, - fucDataJson, - tableColumnJson, +// 搜索配置 +const searchModelJson = [ + +] +// 页面操作按钮配置 +const fucDataJson = [{ + name: '导出', + type: 'danger', + icon: 'el-icon-position' +}, + +] +// 表头配置 +const tableColumnJson = [ + { + label: '角色编号', + prop: 'roleCode', + tooltip: true, + sortable: true, + }, + { + label: '角色名称', + prop: 'roleName', + tooltip: true, + sortable: true, + }, + { + label: '角色描述 ', + prop: 'description', + tooltip: true, + }, +] + + + +export default { + searchModelJson, + fucDataJson, + tableColumnJson, } diff --git a/src/views/systemSettings/jurisdictionManage/roleJurisdiction/dataPermissions.vue b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/dataPermissions.vue new file mode 100644 index 0000000..0bc9b92 --- /dev/null +++ b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/dataPermissions.vue @@ -0,0 +1,122 @@ + + + + diff --git a/src/views/systemSettings/jurisdictionManage/roleJurisdiction/dataSetting.vue b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/dataSetting.vue index aa47802..a7e5a2d 100644 --- a/src/views/systemSettings/jurisdictionManage/roleJurisdiction/dataSetting.vue +++ b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/dataSetting.vue @@ -1,115 +1,116 @@ - - - - + + + + diff --git a/src/views/systemSettings/jurisdictionManage/roleJurisdiction/index.vue b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/index.vue index a617d02..342511d 100644 --- a/src/views/systemSettings/jurisdictionManage/roleJurisdiction/index.vue +++ b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/index.vue @@ -1,445 +1,467 @@ - - - - - + + + + + diff --git a/src/views/systemSettings/jurisdictionManage/roleJurisdiction/jurisdictionSetting.vue b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/jurisdictionSetting.vue index 6df296b..fc0a5bf 100644 --- a/src/views/systemSettings/jurisdictionManage/roleJurisdiction/jurisdictionSetting.vue +++ b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/jurisdictionSetting.vue @@ -1,116 +1,116 @@ - - - - - + + + + + diff --git a/src/views/systemSettings/jurisdictionManage/roleJurisdiction/layOutPermissions.vue b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/layOutPermissions.vue new file mode 100644 index 0000000..cec1c56 --- /dev/null +++ b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/layOutPermissions.vue @@ -0,0 +1,121 @@ + + + + diff --git a/src/views/systemSettings/jurisdictionManage/roleJurisdiction/rightDialog.vue b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/rightDialog.vue new file mode 100644 index 0000000..499e429 --- /dev/null +++ b/src/views/systemSettings/jurisdictionManage/roleJurisdiction/rightDialog.vue @@ -0,0 +1,392 @@ + + + + diff --git a/src/views/systemSettings/jurisdictionManage/userJurisdiction/buttonSetting.vue b/src/views/systemSettings/jurisdictionManage/userJurisdiction/buttonSetting.vue index a11dd2c..a58ce80 100644 --- a/src/views/systemSettings/jurisdictionManage/userJurisdiction/buttonSetting.vue +++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/buttonSetting.vue @@ -1,104 +1,34 @@ - - - - - \ 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..a80b2fb --- /dev/null +++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/dataPermissions.vue @@ -0,0 +1,127 @@ + + + + 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..1664fe0 100644 --- a/src/views/systemSettings/jurisdictionManage/userJurisdiction/index.vue +++ b/src/views/systemSettings/jurisdictionManage/userJurisdiction/index.vue @@ -1,460 +1,513 @@ - - 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 @@ + + + + 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 @@ + + + + diff --git a/src/views/systemSettings/organization/configData.js b/src/views/systemSettings/organization/configData.js index c3919af..2917aad 100644 --- a/src/views/systemSettings/organization/configData.js +++ b/src/views/systemSettings/organization/configData.js @@ -1,120 +1,184 @@ // 表头配置 -const tableColumnJson = [{ - label: '所属部门', - prop: 'o_OrganName', - tooltip: true, - }, - { - label: '工号', - prop: 'p_PersonCode', - tooltip: true, - }, - { - label: '姓名', - prop: 'p_PersonName', - tooltip: true, - }, - { - label: '入职时间', - prop: 'EntryTime', - tooltip: true, - }, +const tableColumnJson = [ + { + label: '所属部门', + prop: 'organName', + tooltip: true, + }, + { + label: '工号', + prop: 'personCode', + tooltip: true, + }, + { + label: '姓名', + prop: 'personName', + tooltip: true, + }, + { + label: '入职时间', + prop: 'entryTime', + tooltip: true, + }, - // { - // label: '固定电话 ', - // prop: 'p_MoiblePhone', - // tooltip: true, - // }, - // { - // label: '电子邮箱', - // prop: 'p_Email', - // tooltip: true, - // }, - { - label: '出生年月', - prop: 'p_BirthDay', - tooltip: true, - }, - { - label: '是否用户分配', - prop: 'isuser', - tooltip: true, - width: 150 - }, + // { + // label: '固定电话 ', + // prop: 'p_MoiblePhone', + // tooltip: true, + // }, + // { + // label: '电子邮箱', + // prop: 'p_Email', + // tooltip: true, + // }, + { + label: '出生年月', + prop: 'p_BirthDay', + tooltip: true, + }, + { + label: '是否用户分配', + prop: 'isuser', + tooltip: true, + width:150 + }, ] // 详情页面结构JSON const formRow = [{ - elCol: [{ - label: '上级机构', - prop: 'upId', - tag: 'elTreeSelect', - options:[] - }] - }, - { - elCol: [{ - label: '机构名称', - prop: 'orgName', - tag: 'elInput', - }] - }, - { - elCol: [{ - label: '部门编码', - prop: 'orgCode', - tag: 'elInput', - }] - }, - { - elCol: [{ - label: '类型', - prop: 'orgType', - tag: 'elRadio', - options: [{ - label: '集团', - value: '1' - }, { - label: '公司', - value: '2' - }, { - label: '部门', - value: '3' - }] - }] - }, - { - elCol: [{ - label: '机构顺序', - prop: 'sorts', - tag: 'elInputNumber', - rules: true - }] + elCol: [{ + label: '上级机构', + prop: 'parentOrganName', + tag: 'elDialog', + disabled:true, + } + ] +}, + { + elCol: [{ + label: '机构名称', + prop: 'organName', + tag: 'elInput', + } + ] + }, + { + elCol: [{ + label: '部门编码', + prop: 'organCode', + tag: 'elInput', + } + ] + }, + { + elCol: [{ + label: '负责人', + prop: 'managerName', + tag: 'elDialog', + } + ] + }, + { + elCol: [{ + label: '是否公司', + prop: 'company', + tag: 'elRadio', + options: [{ + label: '是', + value: "1" + },{ + label: '否', + value: "0" + } + ] + } + ] + }, + { + elCol: [{ + label: '是否启用', + prop: 'state', + tag: 'elRadio', + options: [{ + label: '是', + value: "1" + },{ + label: '否', + value: "0" + } + ] + } + ] + }, + { + elCol: [{ + label: '备注', + prop: 'remark', + tag: 'elInput', + type:'textarea', + span:24 + }] - }, - { - elCol: [{ - label: '等级', - prop: 'lvl', - tag: 'elInput', - disabled: true - }] - - }, + }, +] +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 = { - orgName: [{ - required: true, - message: '请输入机构名称', - trigger: 'change' - }], - orgCode: [{ - 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, - tableColumnJson + showImgJson, + formRow, + rules, + tableColumnJson } diff --git a/src/views/systemSettings/organization/index.vue b/src/views/systemSettings/organization/index.vue index fa5af26..7c5bf57 100644 --- a/src/views/systemSettings/organization/index.vue +++ b/src/views/systemSettings/organization/index.vue @@ -2,243 +2,310 @@ * @name: 组织机构 --> diff --git a/src/views/systemSettings/userSettings/roleSettings/index.vue b/src/views/systemSettings/userSettings/roleSettings/index.vue index fc077ef..88be1e3 100644 --- a/src/views/systemSettings/userSettings/roleSettings/index.vue +++ b/src/views/systemSettings/userSettings/roleSettings/index.vue @@ -1,207 +1,315 @@ 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 @@ - diff --git a/vue.config.js b/vue.config.js index e563bd4..e291c8d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -39,9 +39,9 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://hzya.ufyct.com:9067/`, + // target: `http://hzya.ufyct.com:9067/`, // target: `http://127.0.0.1:9081/`, - // target: `http://192.168.2.78:9999`, + target: `http://192.168.2.78:9999`, changeOrigin: true, pathRewrite: { ["^" + process.env.VUE_APP_BASE_API]: "",