Commit e269c1e2 authored by 张伯涛's avatar 张伯涛

巴登路人ID存到浏览器,用以区分查询列表数据

parent 3093f2ff
......@@ -123,7 +123,7 @@ export default {
})
},
del(row) {
this.$axios.delete('http://117.122.212.101:8090/contractlog/contract-log/delete/' + row.BUSINESSID).then(res => {
this.$axios.delete('http://10.19.103.15:8090/contractlog/contract-log/delete/' + row.BUSINESSID).then(res => {
if (!res.errno) {
this.findLog()
/* console.log(this.data)*/
......@@ -147,7 +147,7 @@ export default {
},
findLog() {
console.log('时间', this.searchParams.CREATEDATE)
this.$axios.get('http://117.122.212.101:8090/contractlog/contract-log/queryContractLogByPage',
this.$axios.get('http://10.19.103.15:8090/contractlog/contract-log/queryContractLogByPage',
{ params: {
rows: this.rows,
page: this.page,
......
......@@ -1850,7 +1850,7 @@ export default {
getDetails() {
if (this.$route.query.type === 'update') {
const FROMID = this.$route.query.row.FROMID
this.$axios.get('http://117.122.212.101:8090/contract/contract/detail/' + FROMID).then(res => {
this.$axios.get('http://10.19.103.15:8090/contract/contract/detail/' + FROMID).then(res => {
this.form = res.data.data
this.form.BUSINESSTYPEName = this.$route.query.businessTypeName
if (this.form.PROJNAME === '') {
......@@ -1898,7 +1898,7 @@ export default {
}
},
findMap() {
this.$axios.get('http://117.122.212.101:8090/contract/contract/getDictData').then(res => {
this.$axios.get('http://10.19.103.15:8090/contract/contract/getDictData').then(res => {
console.log(res)
this.language = res.data.data.LANGUAGE
this.DM_BZJLX = res.data.data.DM_BZJLX
......@@ -1958,7 +1958,7 @@ export default {
downLoadFile(row) {
// 下载按钮
console.log(row)
this.$axios.get('http://117.122.212.101:8090/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
this.$axios.get('http://10.19.103.15:8090/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
if (!res.errno) {
console.log(this.data)
}
......@@ -1993,7 +1993,7 @@ export default {
console.log('参数参数', formData)
this.$axios({
method: 'post',
url: 'http://117.122.212.101:8090/contractjxx/contract-fjxx/upload',
url: 'http://10.19.103.15:8090/contractjxx/contract-fjxx/upload',
data: formData })
.then((res) => {
if (!res.errno) {
......@@ -2013,7 +2013,7 @@ export default {
formData.append('file', file.file)
this.$axios({
method: 'post',
url: 'http://117.122.212.101:8090/contractjxx/contract-fjxx/upload',
url: 'http://10.19.103.15:8090/contractjxx/contract-fjxx/upload',
data: formData })
.then((res) => {
if (!res.errno) {
......@@ -2111,7 +2111,7 @@ export default {
this.form.BZJXX.splice(i, 1)
},
delFile(i, row) {
this.$axios.delete('http://117.122.212.101:8090/contractjxx/contract-fjxx/realDeleteByBusinessId/' + row.BUSINESSID).then(res => {
this.$axios.delete('http://10.19.103.15:8090/contractjxx/contract-fjxx/realDeleteByBusinessId/' + row.BUSINESSID).then(res => {
// eslint-disable-next-line no-empty
if (!res.errno) {}
})
......@@ -2185,7 +2185,7 @@ export default {
if (this.$route.query.type === 'add') {
this.$axios({
method: 'post',
url: 'http://117.122.212.101:8090/contract/contract/add',
url: 'http://10.19.103.15:8090/contract/contract/add',
data: this.form
})
.then((res) => {
......@@ -2220,7 +2220,7 @@ export default {
} else if (this.$route.query.type === 'update') {
this.$axios({
method: 'put',
url: 'http://117.122.212.101:8090/contract/contract/merge',
url: 'http://10.19.103.15:8090/contract/contract/merge',
data: this.form
})
.then((res) => {
......
......@@ -379,7 +379,7 @@ obj=this.typeform*/
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$axios.put('http://117.122.212.101:8090/contract/contract/mergeSynchronizationStatus/' + row.FROMID).then(res => {
this.$axios.put('http://10.19.103.15:8090/contract/contract/mergeSynchronizationStatus/' + row.FROMID).then(res => {
this.$message({
type: 'success',
message: '修改成功!'
......@@ -404,7 +404,7 @@ obj=this.typeform*/
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$axios.put('http://117.122.212.101:8090/contract/contract/push/' + row.FROMID).then(res => {
this.$axios.put('http://10.19.103.15:8090/contract/contract/push/' + row.FROMID).then(res => {
console.log('code值', res.data)
if (res.data.code === '200') {
this.$message({
......@@ -432,7 +432,7 @@ obj=this.typeform*/
}).then(() => {
this.$axios({
method: 'post',
url: 'http://117.122.212.101:8090/contract/contract/synchron'
url: 'http://10.19.103.15:8090/contract/contract/synchron'
})
.then((res) => {
if (res.data.code === '200') {
......@@ -455,7 +455,7 @@ obj=this.typeform*/
findContract() {
console.log('登录人ID', localStorage.getItem('UserID'))
const userID = localStorage.getItem('UserID')
this.$axios.get('http://117.122.212.101:8090/contract/contract/queryContractByPage',
this.$axios.get('http://10.19.103.15:8090/contract/contract/queryContractByPage',
{
params: {
USERID: userID,
......@@ -486,7 +486,7 @@ obj=this.typeform*/
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$axios.delete('http://117.122.212.101:8090/contract/contract/realDelete/' + row.FROMID).then(res => {
this.$axios.delete('http://10.19.103.15:8090/contract/contract/realDelete/' + row.FROMID).then(res => {
if (!res.errno) {
this.$message({
type: 'success',
......
......@@ -42,7 +42,7 @@ module.exports = {
[process.env.VUE_APP_BASE_API]: {
// target: `http://10.5.87.231:10010/`,
// target: `http://zt.51newsoftware.com:10184/`,
target: 'http://117.122.212.101:8090/',
target: 'http://10.19.103.15:8090/',
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment