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