diff --git a/back/src/views/modules/sys/user.vue b/back/src/views/modules/sys/user.vue index 5fbacc01..c77ab078 100644 --- a/back/src/views/modules/sys/user.vue +++ b/back/src/views/modules/sys/user.vue @@ -1,209 +1,92 @@ @@ -214,7 +97,7 @@ import AddOrUpdate from './user-add-or-update' import qs from 'qs' export default { mixins: [mixinViewModule], - data () { + data() { return { mixinViewModuleOptions: { getDataListURL: '/sys/user/page', @@ -235,30 +118,33 @@ export default { components: { AddOrUpdate }, - created () { + created() { this.getPostList() }, methods: { - reset () { + reset() { + this.dataForm.username = '' + this.dataForm.real_name = '' + this.dataForm.deptId = '' + this.dataForm.postId = '' + this.dataForm.gender = '' + if (this.$refs.renDeptTree) { + this.$refs.renDeptTree.showDeptName = ''; + } this.$http .get( this.mixinViewModuleOptions.getDataListURL + - '?' + - qs.stringify({ - page: 1, - limit: 10, - username: '', - deptId: '', - postId: '', - gender: '' - }) + '?' + + qs.stringify({ + page: 1, + limit: 10, + username: '', + deptId: '', + postId: '', + gender: '' + }) ) .then(({ data: res }) => { - this.dataForm.username = '' - this.dataForm.real_name = '' - this.dataForm.deptId = '' - this.dataForm.postId = '' - this.dataForm.gender = '' if (res.code !== 0) { this.dataList = [] this.total = 0 @@ -279,7 +165,7 @@ export default { this.dataListLoading = false }) }, - getPostList () { + getPostList() { this.$http .get('/sys/post/list') .then(({ data: res }) => { @@ -288,7 +174,7 @@ export default { } this.postList = res.data }) - .catch(() => {}) + .catch(() => { }) } } } diff --git a/front/public/static/config/basicConfig.js b/front/public/static/config/basicConfig.js index 98099ffc..82af318a 100644 --- a/front/public/static/config/basicConfig.js +++ b/front/public/static/config/basicConfig.js @@ -1,8 +1,8 @@ /* * @Author: hisense.wuhongjian * @Date: 2020-07-07 16:03:23 - * @LastEditors: Light - * @LastEditTime: 2022-10-22 11:08:16 + * @LastEditors: hisense.wuhongjian + * @LastEditTime: 2022-10-24 11:50:52 * @Description: 系统静态参数配置 */ var _global = {} @@ -13,7 +13,7 @@ var CONFIGITEM = { // version: 'zhanTingDev', // 展厅dev (2022-09-13:姜永超让添加) // version: 'qingdao', // 测试 //version: 'frp', // 内网穿透 - vNum: 'v0.8.7.2', + vNum: 'v0.8.14.2', configData: { // 青岛市大数据局 qingdao: { @@ -27,8 +27,8 @@ var CONFIGITEM = { backUrl: 'http://15.72.183.90:8001', previewUrl: 'http://15.72.183.90:7008/', //frontUrl: 'http://15.72.183.90:7008/document/#/devModelFile/', - //apiURL: 'http://15.72.183.90:8000/renren-admin', - // websocketURL: '15.72.183.90:8000/renren-admin', + apiURL: 'http://15.72.183.90:8000/renren-admin', + websocketURL: '15.72.183.90:8000/renren-admin', // websocketURL: '192.168.124.233:8888/renren-admin', POI_URL: 'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address', @@ -87,7 +87,7 @@ var CONFIGITEM = { }, backUrl: 'http://localhost:8001', previewUrl: 'http://192.168.124.243:9796/', - websocketURL: '192.168.124.243:8888/renren-admin', + websocketURL: '192.168.124.254:8888/renren-admin', // websocketURL: '10.18.1.99:8889/renren-admin', POI_URL: 'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address', diff --git a/front/src/api/personalCenter.js b/front/src/api/personalCenter.js index 5410444e..ebeae89d 100644 --- a/front/src/api/personalCenter.js +++ b/front/src/api/personalCenter.js @@ -308,4 +308,4 @@ export function getDeviceDetail(deviceId) { url: `/device/${deviceId}`, method: 'get', }) -} \ No newline at end of file +} diff --git a/front/src/views/capacitySquare/components/algorithm.vue b/front/src/views/capacitySquare/components/algorithm.vue index 406a7ffa..ec9112c5 100644 --- a/front/src/views/capacitySquare/components/algorithm.vue +++ b/front/src/views/capacitySquare/components/algorithm.vue @@ -53,9 +53,9 @@ }).then((res) => { dictList.value = ['全部'] res.data.data.list.map((val) => { - if (val.dictLabel !== '其他') { - dictList.value.push(val.dictLabel) - } + // if (val.dictLabel !== '其他') { + dictList.value.push(val.dictLabel) + // } }) }) const params = { diff --git a/front/src/views/capacitySquare/components/application.vue b/front/src/views/capacitySquare/components/application.vue index e73ff94e..d5b07b34 100644 --- a/front/src/views/capacitySquare/components/application.vue +++ b/front/src/views/capacitySquare/components/application.vue @@ -1,8 +1,8 @@