diff --git a/.env.development b/.env.development index 1a2d7ae..2740896 100644 --- a/.env.development +++ b/.env.development @@ -3,7 +3,8 @@ ENV = 'development' # base api VUE_APP_BASE_API = '/dashboard' - -VUE_APP_BASE_API2 = 'http://localhost:9027' +# http://192.168.0.106:9027 http://39.101.188.84:9027 +VUE_APP_BASE_API2 = 'http://192.168.0.106:9027' +VUE_APP_BASE_API3 = 'http://39.101.188.84:9027' BASE_API = 'http://10.10.3.35:9070' diff --git a/src/api/zongzhi/st.js b/src/api/zongzhi/st.js index 08ec945..ac6297c 100644 --- a/src/api/zongzhi/st.js +++ b/src/api/zongzhi/st.js @@ -85,10 +85,10 @@ export function listWork(query) { }) } -// 查询工作动态列表 +// 查询工作动态列表 dongtai/list export function listDongtai(query) { return request({ - url: '/zongzhi/dongtai/list', + url: '/zongzhi/managescreen/workdynamics', method: 'get', params: query }) @@ -127,3 +127,37 @@ export function listIDCunit(query) { params: query }) } + +// 网络平台 +export function listPlatform(query) { + return request({ + url: '/zongzhi/pingtai/list', + method: 'get', + params: query + }) +} + +// 清朗专项行动动态 +export function zhuanxiang(query) { + return request({ + url: '/zongzhi/zhuanxiang/list', + method: 'get', + params: query + }) +} + +// 举报总数和处置率 +export function networkreport() { + return request({ + url: '/zongzhi/managescreen/networkreport', + method: 'get', + }) +} + +// 清朗专项行动数据统计 /zongzhi/managescreen/action +export function managescreen() { + return request({ + url: '/zongzhi/managescreen/action', + method: 'get', + }) +} \ No newline at end of file diff --git a/src/store/modules/dict.js b/src/store/modules/dict.js index d5bebf6..869979c 100644 --- a/src/store/modules/dict.js +++ b/src/store/modules/dict.js @@ -1,3 +1,11 @@ +/* + * @Descripttion: + * @version: + * @Author: JC9527 + * @Date: 2023-08-21 08:54:24 + * @LastEditors: JC9527 + * @LastEditTime: 2023-08-21 15:29:23 + */ import { getDictList } from '@/api/zongzhi/common.js' const dict = { state: { @@ -16,6 +24,7 @@ const dict = { } getDictList(query) .then((res) => { + // console.log(res) commit('SET_DICT', res.data) resolve() }) diff --git a/src/utils/safesoft.js b/src/utils/safesoft.js index 9a5e315..a84ee50 100644 --- a/src/utils/safesoft.js +++ b/src/utils/safesoft.js @@ -3,7 +3,7 @@ * Copyright (c) 2019 safesoft */ -const baseURL = process.env.VUE_APP_BASE_API +const baseURL = process.env.VUE_APP_BASE_API2 // 日期格式化 export function parseTime(time, pattern) { @@ -110,7 +110,7 @@ export function selectDictLabels(datas, value, separator) { // 通用下载方法 export function download(fileName) { - window.location.href = baseURL + '/common/download?fileName=' + encodeURI(fileName) + '&delete=' + true + window.location.href = baseURL + '/zongzhi/common/download?fileName=' + encodeURI(fileName) + '&delete=' + true } // 字符串格式化(%s ) diff --git a/src/views/privateOrder/ecosphere/components/componentCenter.vue b/src/views/privateOrder/ecosphere/components/componentCenter.vue index 1cf585c..6823442 100644 --- a/src/views/privateOrder/ecosphere/components/componentCenter.vue +++ b/src/views/privateOrder/ecosphere/components/componentCenter.vue @@ -1,8 +1,8 @@