This commit is contained in:
宋伟佳
2021-06-04 10:54:45 +08:00
parent dfaa5ddf3e
commit a96acfaa1c
7 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -36,4 +36,4 @@ export function getRoleAndUserByOrgIdPage (params) {
method: 'get',
params
})
}
}
+2 -4
View File
@@ -9,9 +9,7 @@ import store from '@/store'
import {Message} from 'element-ui'
export const CancelToken = axios.CancelToken
// import 'element-ui/lib/theme-chalk/index.css'
const _axios = axios.create({
baseURL: '/'
})
const _axios = axios.create()
/**
* @description: FormData
@@ -65,7 +63,7 @@ _axios.interceptors.response.use(
}
})
function api () {
return store.getters.getTypeFlag === 'CloudRepository' ? '/busApi/' : '/api/'
return store.getters.getTypeFlag === 'CloudRepository' ? '/busApi/' : ''
}
export default {
_axios,
@@ -2826,7 +2826,6 @@ export default {
font-weight: bold;
color: #e88218;
margin-top: -80px;
background: #E5E5E5;
}
/deep/.details-content{
/*padding: 0 67px;*/
+2 -2
View File
@@ -67,8 +67,8 @@ export default {
loginUser (userName, PWD) {
this.loading = true
// 用户名密码加密
// userName = this.$base64(userName)
// PWD = this.$base64(PWD)
userName = this.$base64(userName)
PWD = this.$base64(PWD)
this.$http.post('login',
{
username: userName,
@@ -2493,7 +2493,8 @@ export default {
formData.standType = 'INLAND'
this.SarExportSearchEo = formData
this.loading = true
this.$http.get('lawss/sarStandardsInfo/getSarStandardsInfoPage', formData, {
console.log(2496)
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', formData, {
_this: this, loading: 'loading'
}, res => {
this.isAdvancedSearch = false
@@ -3612,7 +3613,8 @@ export default {
},
async mounted () {
// 进入页面后查询树形结构目录
await this.selectMenu()
// await this.selectMenu()
this.treeReload = true
// 从数据库中查询各下拉框数据
this.$http.get('sys/dictype/getDicTypeListCode', '', {
+2 -2
View File
@@ -4,7 +4,7 @@
* @date: 2018-09-04 17:47:46
*/
// 后台地址
const devIp = '192.168.10.186'
const devIp = '192.168.10.145'
const devInterfacePORT = '9999'
// 服务器地址
// const devIp = '39.98.140.126'
@@ -42,7 +42,7 @@ const CLOUD_RES_INTERFACE_PORT = process.env.NODE_ENV === 'production' ? DEV_CLO
module.exports = {
serverUrl: 'http://' + serverIP, // 服务器IP地址
interfaceUrl: 'http://' + serverIP + ':' + interfacePORT + '/api/', // 服务器端接口访问地址,
interfaceUrl: 'http://' + serverIP + ':' + interfacePORT, // 服务器端接口访问地址,
cloudResInterFaceUrl: 'http://' + serverIP + ':' + interfacePORT + '/busApi/', // 云端资源库服务器端接口访问地址,
simpleUploadPath: 'api/' + simpleFilePath, // 单文件上传地址
multipleUploadPath: 'api/' + multipleFilePath, // 多文件上传地址
+1 -1
View File
@@ -82,7 +82,7 @@ module.exports = {
target: interfaceUrl,
changeOrigin: true,
pathRewrite: {
'^/api': ''
'^/api': '/'
}
},
'/onlyOffice': {