Commit 05b719ce authored by 张伯涛's avatar 张伯涛

接口地址修改

parent 6dba97d6
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
}) })
}, },
del(row) { 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) { if (!res.errno) {
this.findLog() this.findLog()
/* console.log(this.data)*/ /* console.log(this.data)*/
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
}, },
findLog() { findLog() {
console.log('时间', this.searchParams.CREATEDATE) 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: { { params: {
rows: this.rows, rows: this.rows,
page: this.page, page: this.page,
......
...@@ -1753,7 +1753,7 @@ export default { ...@@ -1753,7 +1753,7 @@ export default {
getDetails() { getDetails() {
if (this.$route.query.type === 'update') { if (this.$route.query.type === 'update') {
const FROMID = this.$route.query.row.FROMID 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 = res.data.data
this.form.BUSINESSTYPEName = this.$route.query.businessTypeName this.form.BUSINESSTYPEName = this.$route.query.businessTypeName
if (this.form.PROJNAME === '') { if (this.form.PROJNAME === '') {
...@@ -1801,7 +1801,7 @@ export default { ...@@ -1801,7 +1801,7 @@ export default {
} }
}, },
findMap() { 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) console.log(res)
this.language = res.data.data.LANGUAGE this.language = res.data.data.LANGUAGE
this.DM_BZJLX = res.data.data.DM_BZJLX this.DM_BZJLX = res.data.data.DM_BZJLX
...@@ -1860,7 +1860,7 @@ export default { ...@@ -1860,7 +1860,7 @@ export default {
downLoadFile(row) { downLoadFile(row) {
// 下载按钮 // 下载按钮
console.log(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) { if (!res.errno) {
console.log(this.data) console.log(this.data)
} }
...@@ -1888,7 +1888,7 @@ export default { ...@@ -1888,7 +1888,7 @@ export default {
console.log('参数参数', formData) console.log('参数参数', formData)
this.$axios({ this.$axios({
method: 'post', 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 }) data: formData })
.then((res) => { .then((res) => {
if (!res.errno) { if (!res.errno) {
...@@ -1908,7 +1908,7 @@ export default { ...@@ -1908,7 +1908,7 @@ export default {
formData.append('file', file.file) formData.append('file', file.file)
this.$axios({ this.$axios({
method: 'post', 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 }) data: formData })
.then((res) => { .then((res) => {
if (!res.errno) { if (!res.errno) {
...@@ -2007,7 +2007,7 @@ export default { ...@@ -2007,7 +2007,7 @@ export default {
}, },
delFile(i, row) { delFile(i, row) {
this.form.FJXX.splice(i, 1) this.form.FJXX.splice(i, 1)
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 // eslint-disable-next-line no-empty
if (!res.errno) {} if (!res.errno) {}
}) })
...@@ -2069,7 +2069,7 @@ export default { ...@@ -2069,7 +2069,7 @@ export default {
if (this.$route.query.type === 'add') { if (this.$route.query.type === 'add') {
this.$axios({ this.$axios({
method: 'post', 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 }) data: this.form })
.then((res) => { .then((res) => {
if (!res.errno) { if (!res.errno) {
...@@ -2088,7 +2088,7 @@ export default { ...@@ -2088,7 +2088,7 @@ export default {
} else if (this.$route.query.type === 'update') { } else if (this.$route.query.type === 'update') {
this.$axios({ this.$axios({
method: 'put', 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 }) data: this.form })
.then((res) => { .then((res) => {
if (!res.errno) { if (!res.errno) {
......
...@@ -367,7 +367,7 @@ obj=this.typeform*/ ...@@ -367,7 +367,7 @@ obj=this.typeform*/
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).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({ this.$message({
type: 'success', type: 'success',
message: '修改成功!' message: '修改成功!'
...@@ -392,7 +392,7 @@ obj=this.typeform*/ ...@@ -392,7 +392,7 @@ obj=this.typeform*/
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).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 => {
if (res.data.code === '200') { if (res.data.code === '200') {
this.$message({ this.$message({
type: 'success', type: 'success',
...@@ -414,7 +414,7 @@ obj=this.typeform*/ ...@@ -414,7 +414,7 @@ obj=this.typeform*/
BatchExecution() { BatchExecution() {
this.$axios({ this.$axios({
method: 'post', method: 'post',
url: 'http://117.122.212.101:8090/contract/contract/synchron' url: 'http://10.19.103.15:8090/contract/contract/synchron'
}) })
.then((res) => { .then((res) => {
if (!res.errno) { if (!res.errno) {
...@@ -433,7 +433,7 @@ obj=this.typeform*/ ...@@ -433,7 +433,7 @@ obj=this.typeform*/
this.findContract() this.findContract()
}, },
findContract() { findContract() {
this.$axios.get('http://117.122.212.101:8090/contract/contract/queryDemoContractByPage', this.$axios.get('http://10.19.103.15:8090/contract/contract/queryDemoContractByPage',
{ {
params: { params: {
USERID: 123, USERID: 123,
...@@ -463,7 +463,7 @@ obj=this.typeform*/ ...@@ -463,7 +463,7 @@ obj=this.typeform*/
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).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) { if (!res.errno) {
this.$message({ this.$message({
type: 'success', type: 'success',
......
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