diff --git a/back/public/config/basicConfig.js b/back/public/config/basicConfig.js index 1c343995..091d9be3 100644 --- a/back/public/config/basicConfig.js +++ b/back/public/config/basicConfig.js @@ -1,8 +1,8 @@ /* * @Author: hisense.wuhongjian * @Date: 2022-08-25 14:37:49 - * @LastEditors: Light - * @LastEditTime: 2022-10-31 09:16:10 + * @LastEditors: hisense.wuhongjian + * @LastEditTime: 2022-11-01 15:37:21 * @Description: 告诉大家这是什么 */ var _global = {} @@ -17,34 +17,34 @@ var CONFIGITEM = { // 青岛市大数据局 qingdao: { previewUrl: 'http://15.72.183.90:7008/', - apiURL: 'http://15.72.183.90:8000/renren-admin', - websocketURL: 'ws://15.72.183.90:8000/renren-admin/websocket' + apiURL: 'http://15.72.183.90:8000/ucs-admin', + websocketURL: 'ws://15.72.183.90:8000/ucs-admin/websocket' }, // 西海岸大数据局 xihaian: { previewUrl: 'http://10.134.135.9:9796/', - // apiURL: 'http://10.134.135.9:8888/renren-admin', - // apiURL: 'http://10.16.5.35:8888/renren-admin', // 李志成-研发 - apiURL: 'http://192.168.124.236:8888/renren-admin', - // apiURL: 'http://192.168.124.254:8888/renren-admin', // 李志成-远雄 - websocketURL: 'ws://10.134.135.9:8888/renren-admin/websocket' + // apiURL: 'http://10.134.135.9:8888/ucs-admin', + // apiURL: 'http://10.16.5.35:8888/ucs-admin', // 李志成-研发 + apiURL: 'http://192.168.124.236:8888/ucs-admin', + // apiURL: 'http://192.168.124.254:8888/ucs-admin', // 李志成-远雄 + websocketURL: 'ws://10.134.135.9:8888/ucs-admin/websocket' }, // 测试 test: { previewUrl: 'http://192.168.124.243:9796/', - apiURL: 'http://192.168.124.243:8888/renren-admin', - websocketURL: 'ws://192.168.124.243:8888/renren-admin/websocket' + apiURL: 'http://192.168.124.243:8888/ucs-admin', + websocketURL: 'ws://192.168.124.243:8888/ucs-admin/websocket' }, // 内网穿透 frp: { previewUrl: 'http://124.222.94.39:9796/', - apiURL: 'http://124.222.94.39:8888/renren-admin', - websocketURL: 'ws://124.222.94.39:8888/renren-admin/websocket' + apiURL: 'http://124.222.94.39:8888/ucs-admin', + websocketURL: 'ws://124.222.94.39:8888/ucs-admin/websocket' }, dev: { previewUrl: 'http://localhost:8080/', - apiURL: 'http://192.168.124.243:8888/renren-admin', - websocketURL: 'ws://192.168.243.243:8888/renren-admin/websocket' + apiURL: 'http://192.168.124.236:8888/ucs-admin', + websocketURL: 'ws://192.168.243.236:8888/ucs-admin/websocket' } } } diff --git a/back/src/router/index.js b/back/src/router/index.js index 299a5852..6945f87b 100644 --- a/back/src/router/index.js +++ b/back/src/router/index.js @@ -105,7 +105,6 @@ router.beforeEach((to, from, next) => { return next({ name: 'login' }) } window.SITE_CONFIG.menuList = res.data.filter(item => item.site === 0) - debugger fnAddDynamicMenuRoutes(window.SITE_CONFIG.menuList) next({ ...to, replace: true }) }).catch(() => { @@ -138,7 +137,6 @@ function fnCurrentRouteIsPageRoute (route, pageRoutes = []) { */ function fnAddDynamicMenuRoutes (menuList = [], routes = []) { var temp = [] - debugger for (var i = 0; i < menuList.length; i++) { if (menuList[i].children && menuList[i].children.length >= 1) { temp = temp.concat(menuList[i].children) diff --git a/back/src/utils/request.js b/back/src/utils/request.js index 5e057959..14820e3c 100644 --- a/back/src/utils/request.js +++ b/back/src/utils/request.js @@ -14,7 +14,7 @@ import isPlainObject from 'lodash/isPlainObject' const http = axios.create({ baseURL: window.SITE_CONFIG.apiURL, - // baseURL: 'http://15.2.21.238:8888/renren-admin/', + // baseURL: 'http://15.2.21.238:8888/ucs-admin/', timeout: 1000 * 180, withCredentials: true }) diff --git a/back/src/views/main-navbar.vue b/back/src/views/main-navbar.vue index 7be568af..56ceb43b 100644 --- a/back/src/views/main-navbar.vue +++ b/back/src/views/main-navbar.vue @@ -222,7 +222,7 @@ export default { .aui-navbar__header { width: 25%; .aui-navbar__brand { - margin-left: 20px; + margin-left: -30px; a { font-size: 22px; color: #ffffff; diff --git a/back/src/views/modules/ability/shipinziyuan.vue b/back/src/views/modules/ability/shipinziyuan.vue index 3e2d31dc..d39f3da2 100644 --- a/back/src/views/modules/ability/shipinziyuan.vue +++ b/back/src/views/modules/ability/shipinziyuan.vue @@ -77,12 +77,6 @@ width="150" > @@ -211,9 +212,9 @@ export default { "e": "市南区" }, { - "a": "青岛一建青岛公共卫生中心大门", + "a": "一建公共卫生中心大门", "b": "101_37020201581314000519", - "c": "青岛一建青岛公共卫生中心", + "c": "一建公共卫生中心", "d": "市住房城乡建设局", "e": "市南区" }, diff --git a/back/src/views/modules/ability/shujuziyuan.vue b/back/src/views/modules/ability/shujuziyuan.vue index ca345074..c63e97f8 100644 --- a/back/src/views/modules/ability/shujuziyuan.vue +++ b/back/src/views/modules/ability/shujuziyuan.vue @@ -19,7 +19,7 @@ 上架盘点入库 @@ -52,19 +52,19 @@ > @@ -76,13 +76,8 @@ align="center" width="150" > + @@ -220,71 +222,71 @@ export default { "a": "供水营业网点信息", "b": "307013109015000204", "c": "供水营业网点信息", - "d": "青岛西海岸新区城市管理局(区水务局)", - "e ": "2022-10-28" + "d": "西海岸新区城市管理局(区水务局)", + "e": "张虎" }, { "a": "新建体育公园、笼式场地", "b": "307013100673000036", "c": "新建体育公园、笼式场地", - "d": "青岛市体育局", - "e ": "2022-10-28" + "d": "体育局", + "e": "张虎" }, { "a": "西海岸新区供水领域自然人欠费信息", "b": "307013109015000211", "c": "西海岸新区供水领域自然人欠费信息", - "d": "青岛西海岸新区城市管理局(区水务局)", - "e ": "2022-10-28" + "d": "西海岸新区城市管理局(区水务局)", + "e": "李阳" }, { - "a": "青岛西海岸新区交通运输局", + "a": "西海岸新区交通运输局", "b": "307013109071000108", "c": "公交站点查询", - "d": "青岛西海岸新区交通运输局", - "e ": "2022-10-27" + "d": "西海岸新区交通运输局", + "e": "李阳" }, { "a": "全市主要经济指标", "b": "307013107004000062", "c": "胶州市国民经济分行业数据", "d": "胶州市统计局", - "e ": "2022-10-13" + "e": "李阳" }, { "a": "乡村之星信息", "b": "307013100000000187", "c": "乡村之星信息", - "d": "青岛市农业农村局", - "e ": "2022-10-13" + "d": "农业农村局", + "e": "李阳" }, { "a": "建设项目环境影响评价审批信息", "b": "307013107777000033", "c": "建设单位、建设项目、审批文号", - "d": "青岛市生态环境局胶州分局", - "e ": "2022-10-13" + "d": "生态环境局胶州分局", + "e": "王二生" }, { "a": "新时代文明实践阵地信息表", "b": "307013108760000022", "c": "镇街、阵地名称、专管员、联系电话", "d": "莱西市夏格庄镇人民政府", - "e ": "2022-09-29" + "e": "王二生" }, { "a": "泊里镇非物质文化遗产信息", "b": "307013109000000067", "c": "泊里镇非物质文化遗产的名称、简介等信息", - "d": "青岛市黄岛区泊里镇人民政府", - "e ": "2022-10-11" + "d": "黄岛区泊里镇人民政府", + "e": "王二生" }, { "a": "人才住房建设情况", "b": "307013100482000025", "c": "人才住房项目数量、人才住房房屋套数、人才住房面积、人才住房目标任务房屋套数、人才住房房屋总面积", - "d": "青岛市住房和城乡建设局", - "e ": "2022-09-18" + "d": "住房和城乡建设局", + "e": "王二生" } ], diff --git a/back/src/views/modules/abilityStatistics/index.vue b/back/src/views/modules/abilityStatistics/index.vue index ac6bb284..d55a4e06 100644 --- a/back/src/views/modules/abilityStatistics/index.vue +++ b/back/src/views/modules/abilityStatistics/index.vue @@ -26,7 +26,7 @@ 日期: - @@ -161,7 +161,7 @@ - + @@ -321,7 +321,7 @@ export default { { name: '基础设施', key: 3 }, { name: '数据资源', key: 4 }, { name: '知识库', key: 5 }, - { name: '会议室', value: 6 } + { name: '会客厅', value: 6 } ], tableData: [], tableDataClone: [], @@ -347,9 +347,9 @@ export default { { name: '开发组件', value: 3 }, { name: '业务组件', value: 4 }, { name: '应用资源', value: 5 }, - { name: '会议室', value: 6 } + { name: '会客厅', value: 6 } ], // 类型备选列表 - typeOptions1: [// 能力上架隐藏会议室 + typeOptions1: [// 能力上架隐藏会客厅 { name: '智能算法', value: 1 }, { name: '图层服务', value: 2 }, { name: '开发组件', value: 3 }, @@ -909,8 +909,10 @@ export default { // 点击查询按钮查询数据 getDataList() { if (this.value1 && this.value1.length > 0) { - this.startDate = this.handleTime(this.value1[0], 'yyyy-MM-dd') - this.endDate = this.handleTime(this.value1[1], 'yyyy-MM-dd') + // this.startDate = this.handleTime(this.value1[0], 'yyyy-MM-dd') + // this.endDate = this.handleTime(this.value1[1], 'yyyy-MM-dd') + this.startDate = this.value1[0] + this.endDate = this.value1[1] } else { this.startDate = '' this.endDate = '' diff --git a/back/src/views/modules/sys/dept.vue b/back/src/views/modules/sys/dept.vue index b2c3d076..56fe60cc 100644 --- a/back/src/views/modules/sys/dept.vue +++ b/back/src/views/modules/sys/dept.vue @@ -3,22 +3,36 @@
- {{ $t('add') }} + {{ $t('add') }} + - - + + + + + +
@@ -31,12 +45,16 @@ import AddOrUpdate from './dept-add-or-update' import qs from 'qs' export default { mixins: [mixinViewModule], - data () { + data() { return { mixinViewModuleOptions: { getDataListURL: '/sys/dept/list', deleteURL: '/sys/dept' - } + }, + total: 0, + limit: 10, + page: 1, + dataList: [] } }, components: { @@ -45,16 +63,35 @@ export default { watch: { dataList: { handler: function () { - this.init() + this.getData() } } }, methods: { - init () { - debugger - this.$http.get('/sys/dept/list').then((res) => { - res.data.data.map((item, index) => { - if (item.district != null || item.children.length > 0) { + // 分页, 每页条数 + pageSizeChangeHandle (val) { + this.page = 1 + this.limit = val + this.getData() + }, + // 分页, 当前页 + pageCurrentChangeHandle (val) { + this.page = val + this.getData() + }, + getData() { + // debugger + let _data = { + limt: this.limit, + page: this.page, + } + this.$http.get('sys/dept/page', { + params: _data + }).then((res) => { + this.total = res.data.data.total; + res.data.data.list.map((item, index) => { + console.log('item, index------------>', item, index); + if (item.district != null || item.children.length >= 0) { this.$http.get('/sys/region/' + item.district).then((data) => { this.dataList[index].district = data.data.data.name console.log('datafrom', this.dataList) @@ -72,10 +109,10 @@ export default { } }) }) - } + }, }, - created () { - this.init() + created() { + this.getData() } } diff --git a/back/src/views/modules/sys/log-data-modification-log.vue b/back/src/views/modules/sys/log-data-modification-log.vue index a482cea2..b9cb1e34 100644 --- a/back/src/views/modules/sys/log-data-modification-log.vue +++ b/back/src/views/modules/sys/log-data-modification-log.vue @@ -52,15 +52,15 @@ >
diff --git a/back/src/views/modules/sys/user.vue b/back/src/views/modules/sys/user.vue index c77ab078..11e3ab37 100644 --- a/back/src/views/modules/sys/user.vue +++ b/back/src/views/modules/sys/user.vue @@ -45,21 +45,21 @@ - - - - -