diff --git a/back/public/config/basicConfig.js b/back/public/config/basicConfig.js
index 8f85d563..091d9be3 100644
--- a/back/public/config/basicConfig.js
+++ b/back/public/config/basicConfig.js
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2022-08-25 14:37:49
* @LastEditors: hisense.wuhongjian
- * @LastEditTime: 2022-11-01 09:22:02
+ * @LastEditTime: 2022-11-01 15:37:21
* @Description: 告诉大家这是什么
*/
var _global = {}
@@ -43,8 +43,8 @@ var CONFIGITEM = {
},
dev: {
previewUrl: 'http://localhost:8080/',
- apiURL: 'http://192.168.124.243:8888/ucs-admin',
- websocketURL: 'ws://192.168.243.243:8888/ucs-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/i18n/zh-CN.js b/back/src/i18n/zh-CN.js
index 2f5ea310..acefdd06 100644
--- a/back/src/i18n/zh-CN.js
+++ b/back/src/i18n/zh-CN.js
@@ -3,8 +3,8 @@ const t = {}
t.loading = '加载中...'
t.brand = {}
-t.brand.lg = '资源管理中心'
-t.brand.mini = '数字政务'
+t.brand.lg = '能力管理中心'
+t.brand.mini = '一体化综合指挥'
t.add = '新增'
t.delete = '删除'
diff --git a/back/src/i18n/zh-TW.js b/back/src/i18n/zh-TW.js
index 3e6f2cd5..55803337 100644
--- a/back/src/i18n/zh-TW.js
+++ b/back/src/i18n/zh-TW.js
@@ -3,8 +3,10 @@ const t = {}
t.loading = '加載中...'
t.brand = {}
-t.brand.lg = '能力管理中心'
-t.brand.mini = '一体化综合指挥'
+ // t.brand.lg = '能力管理中心'
+ // t.brand.mini = '一体化综合指挥'
+t.brand.lg = '通用服务平台'
+t.brand.mini = '城市云脑'
t.add = '新增'
t.delete = '刪除'
@@ -25,7 +27,7 @@ t.choose = '請選擇'
t.fileName = '文件名'
t.design = '在線設計'
t.preview = '預覽'
-t.reset='重置'
+t.reset = '重置'
t.prompt = {}
t.prompt.title = '提示'
@@ -544,4 +546,4 @@ t.notice.new = '有新通知'
t.notice.disconnect = '連接斷開'
t.notice.disconnectMessage = 'WebSocket連接已斷開,請檢查網絡'
-export default t
+export default t
\ No newline at end of file
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/views/main-navbar.vue b/back/src/views/main-navbar.vue
index 2ea7ba47..0df84d2c 100644
--- a/back/src/views/main-navbar.vue
+++ b/back/src/views/main-navbar.vue
@@ -12,7 +12,7 @@
$t("brand.lg")
}}
——
- 政务系统能力知识库
+ 后台管理系统
@@ -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/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') }}
+
-
-
+
+
+
+
- {{ $t('update') }}
- {{ $t('delete') }}
+ {{ $t('update') }}
+ {{ $t('delete') }}
+
+
@@ -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/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 @@
-
-
-
{{ $getDictLabel('gender', scope.row.gender) }}
-
{{
@@ -70,7 +70,7 @@
}}
-
diff --git a/front/public/static/config/basicConfig.js b/front/public/static/config/basicConfig.js
index 5fbe2a0b..85697a8b 100644
--- a/front/public/static/config/basicConfig.js
+++ b/front/public/static/config/basicConfig.js
@@ -27,9 +27,9 @@ 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',
- // websocketURL: '192.168.124.233:8888/renren-admin',
+ apiURL: 'http://15.72.183.90:8000/ucs-admin',
+ websocketURL: '15.72.183.90:8000/ucs-admin',
+ // websocketURL: '192.168.124.233:8888/ucs-admin',
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
},
@@ -45,10 +45,10 @@ 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: '10.16.5.146:8888/renren-admin', // 姜永超
- websocketURL: '10.18.1.99:8889/renren-admin',
- // websocketURL: '10.16.5.35:8888/renren-admin',
+ //apiURL: 'http://15.72.183.90:8000/ucs-admin',
+ // websocketURL: '10.16.5.146:8888/ucs-admin', // 姜永超
+ websocketURL: '10.18.1.99:8889/ucs-admin',
+ // websocketURL: '10.16.5.35:8888/ucs-admin',
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
},
@@ -69,10 +69,10 @@ var CONFIGITEM = {
},
backUrl: 'http://10.134.135.9:9797',
previewUrl: 'http://10.134.135.9:9796/',
- // websocketURL: '10.134.135.9:8888/renren-admin', // 正式环境
- // websocketURL: '10.134.135.92:8888/renren-admin', // 测试环境
- websocketURL: '192.168.124.254:8888/renren-admin', // 李志成-远雄
- // websocketURL: '10.18.1.99:8889/renren-admin', // 研发
+ // websocketURL: '10.134.135.9:8888/ucs-admin', // 正式环境
+ // websocketURL: '10.134.135.92:8888/ucs-admin', // 测试环境
+ websocketURL: '192.168.124.254:8888/ucs-admin', // 李志成-远雄
+ // websocketURL: '10.18.1.99:8889/ucs-admin', // 研发
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
},
@@ -87,8 +87,8 @@ var CONFIGITEM = {
},
backUrl: 'http://localhost:8001',
previewUrl: 'http://192.168.124.243:9796/',
- websocketURL: '192.168.124.243:8888/renren-admin',
- // websocketURL: '10.18.1.99:8889/renren-admin',
+ websocketURL: '192.168.124.243:8888/ucs-admin',
+ // websocketURL: '10.18.1.99:8889/ucs-admin',
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
},
@@ -103,7 +103,7 @@ var CONFIGITEM = {
},
backUrl: 'http://192.168.124.243:9797',
previewUrl: 'http://192.168.124.243:9796/',
- websocketURL: '192.168.124.243:8888/renren-admin',
+ websocketURL: '192.168.124.243:8888/ucs-admin',
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
},
@@ -118,7 +118,7 @@ var CONFIGITEM = {
},
backUrl: 'http://124.222.94.39:9797',
previewUrl: 'http://124.222.94.39:9796/',
- websocketURL: '124.222.94.39:8888/renren-admin',
+ websocketURL: '124.222.94.39:8888/ucs-admin',
POI_URL:
'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address',
},
diff --git a/front/src/api/home.js b/front/src/api/home.js
index b3043eec..0b8269c3 100644
--- a/front/src/api/home.js
+++ b/front/src/api/home.js
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2022-04-01 19:19:40
* @LastEditors: Light
- * @LastEditTime: 2022-10-26 10:35:36
+ * @LastEditTime: 2022-10-31 15:52:57
* @Description: 告诉大家这是什么
*/
import request from '@/utils/request'
@@ -63,6 +63,13 @@ export function pageWithAttrs(data) {
data,
})
}
+// 筛选
+export function getAppListByDept() {
+ return request({
+ url: '/resource/getAppListByDept',
+ method: 'get',
+ })
+}
// 获取hls视频流
export function getHls(params) {
return request({
diff --git a/front/src/views/abilityStatistics/components/ResourceAggregation.vue b/front/src/views/abilityStatistics/components/ResourceAggregation.vue
index 0cbbfa31..3d9d4741 100644
--- a/front/src/views/abilityStatistics/components/ResourceAggregation.vue
+++ b/front/src/views/abilityStatistics/components/ResourceAggregation.vue
@@ -461,6 +461,7 @@
},
yAxis: {
name: '部门数量(个)',
+ minInterval: 1,
},
grid: {
height: '65%',
diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue
index 1a6b2752..42474b96 100644
--- a/front/src/views/home/DetailsPageconetent.vue
+++ b/front/src/views/home/DetailsPageconetent.vue
@@ -1190,6 +1190,16 @@
const re = /^[0-9\u4E00-\u9FA5]*$/
const getAppResources2 = () => {
globalFlag.value = false
+ let newQuery = JSON.parse(
+ JSON.stringify(router.currentRoute.value.query)
+ )
+ newQuery.str = searchValue.value
+ router
+ .replace({
+ query: newQuery,
+ })
+ .then(() => {})
+ mybus.emit('changeRoomInput', searchValue.value)
if (
whoShow1.value.itShowQingDao &&
paramsGetResources.type == '基础设施'
@@ -1543,6 +1553,9 @@
paramsGetResources2.value.regionId = ids
getAppResources()
})
+ mybus.on('changeSearchValue', (val) => {
+ searchValue.value = val
+ })
mybus.on('paramsGetResources', (ids) => {
if (ids && ids.length > 0) {
paramsGetResources.deptIds = ids
@@ -1845,6 +1858,7 @@
},
beforeUnmount() {
mybus.off('getCameraByParentId')
+ mybus.off('changeSearchValue')
mybus.off('selectCardsitem')
mybus.off('paramsGetResources')
mybus.off('changeCondition')
diff --git a/front/src/views/home/apply.vue b/front/src/views/home/apply.vue
index bb0de14e..7f9d5982 100644
--- a/front/src/views/home/apply.vue
+++ b/front/src/views/home/apply.vue
@@ -260,7 +260,11 @@
import { getCategoryTreePage, endProcess } from '@/api/personalCenter'
import mybus from '@/myplugins/mybus'
import { sgcDel, getApplyForm } from '@/api/personalCenter'
- import { pageWithAttrs, updateIntegrationServices } from '@/api/home'
+ import {
+ pageWithAttrs,
+ updateIntegrationServices,
+ getAppListByDept,
+ } from '@/api/home'
import { DETAIL_PAGE_CONTENT_DEFAULT_TAB } from '@/global/GlobalConfig.js'
import { getIntegrationDetail, soldierApply } from '@/api/home'
import { useStore } from 'vuex'
@@ -783,25 +787,18 @@
})
}
}
- pageWithAttrs({
- pageNum: 1,
- pageSize: 99999,
- type: '应用资源',
- name: '',
- infoList: [],
- }).then((res) => {
+ getAppListByDept().then((res) => {
+ console.log('res=====>', res.data.data)
if (res.data.code == 0) {
- if (res.data.data.records.length == 0) {
+ if (res.data.data.length == 0) {
message.warning('该关键词,暂无应用资源!')
} else {
// 过滤本单位的应用系统
- res.data.data.records.map((val) => {
- if (val.deptName === deptName) {
- systemOptions2.value.push({
- value: val.name,
- label: val.name,
- })
- }
+ res.data.data.map((val) => {
+ systemOptions2.value.push({
+ value: val.NAME,
+ label: val.NAME,
+ })
})
// console.log('第一次获取===================>', systemOptions2.value)
}
@@ -959,130 +956,130 @@
}
diff --git a/front/src/views/home/components/CanAssignCase.vue b/front/src/views/home/components/CanAssignCase.vue
index 71f0598b..9070763f 100644
--- a/front/src/views/home/components/CanAssignCase.vue
+++ b/front/src/views/home/components/CanAssignCase.vue
@@ -1,5 +1,7 @@
+
{{ item.name }}
-
发布时间 {{ item.updateDate }}
+
发布时间 {{ item.createDate }}