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

修改

parent 62d727e6
......@@ -1392,7 +1392,8 @@
v-model="itemSP.EXAMDATE"
placeholder="年/月/日"
value-format="yyyy-MM-dd HH:mm:ss"
format="yyyy-MM-dd"
format="yyyy-MM-dd HH:mm"
type="datetime"
/>
</el-form-item>
</el-col>
......@@ -1851,7 +1852,7 @@ export default {
getDetails() {
if (this.$route.query.type === 'update') {
const FROMID = this.$route.query.row.FROMID
this.$axios.get('http://10.19.103.15:8090/contract/contract/detail/' + FROMID).then(res => {
this.$axios.get('http://117.122.212.101:8090/contract/contract/detail/' + FROMID).then(res => {
this.form = res.data.data
if (res.data.data.TZXX === null) {
this.form.TZXX = {}
......@@ -1905,7 +1906,7 @@ export default {
}
},
findMap() {
this.$axios.get('http://10.19.103.15:8090/contract/contract/getDictData').then(res => {
this.$axios.get('http://117.122.212.101:8090/contract/contract/getDictData').then(res => {
console.log(res)
this.language = res.data.data.LANGUAGE
this.DM_BZJLX = res.data.data.DM_BZJLX
......@@ -1965,7 +1966,7 @@ export default {
downLoadFile(row) {
// 下载按钮
console.log(row)
this.$axios.get('http://10.19.103.15:8090/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
this.$axios.get('http://117.122.212.101:8090/contractjxx/contract-fjxx/downLoad/' + row.BUSINESSID).then(res => {
if (!res.errno) {
console.log(this.data)
}
......@@ -2000,7 +2001,7 @@ export default {
console.log('参数参数', formData)
this.$axios({
method: 'post',
url: 'http://10.19.103.15:8090/contractjxx/contract-fjxx/upload',
url: 'http://117.122.212.101:8090/contractjxx/contract-fjxx/upload',
data: formData })
.then((res) => {
if (!res.errno) {
......@@ -2020,7 +2021,7 @@ export default {
formData.append('file', file.file)
this.$axios({
method: 'post',
url: 'http://10.19.103.15:8090/contractjxx/contract-fjxx/upload',
url: 'http://117.122.212.101:8090/contractjxx/contract-fjxx/upload',
data: formData })
.then((res) => {
if (!res.errno) {
......@@ -2123,7 +2124,7 @@ export default {
this.form.BZJXX.splice(i, 1)
},
delFile(i, row) {
this.$axios.delete('http://10.19.103.15:8090/contractjxx/contract-fjxx/realDeleteByBusinessId/' + row.BUSINESSID).then(res => {
this.$axios.delete('http://117.122.212.101:8090/contractjxx/contract-fjxx/realDeleteByBusinessId/' + row.BUSINESSID).then(res => {
// eslint-disable-next-line no-empty
if (!res.errno) {}
})
......@@ -2198,7 +2199,7 @@ export default {
if (this.$route.query.type === 'add') {
this.$axios({
method: 'post',
url: 'http://10.19.103.15:8090/contract/contract/add',
url: 'http://117.122.212.101:8090/contract/contract/add',
data: this.form
})
.then((res) => {
......@@ -2233,7 +2234,7 @@ export default {
} else if (this.$route.query.type === 'update') {
this.$axios({
method: 'put',
url: 'http://10.19.103.15:8090/contract/contract/merge',
url: 'http://117.122.212.101:8090/contract/contract/merge',
data: this.form
})
.then((res) => {
......@@ -2280,7 +2281,7 @@ export default {
if (this.$route.query.type === 'add') {
this.$axios({
method: 'post',
url: 'http://10.19.103.15:8090/contract/contract/add',
url: 'http://117.122.212.101:8090/contract/contract/add',
data: this.form
})
.then((res) => {
......@@ -2315,7 +2316,7 @@ export default {
} else if (this.$route.query.type === 'update') {
this.$axios({
method: 'put',
url: 'http://10.19.103.15:8090/contract/contract/merge',
url: 'http://117.122.212.101:8090/contract/contract/merge',
data: this.form
})
.then((res) => {
......
......@@ -380,7 +380,7 @@ obj=this.typeform*/
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$axios.put('http://10.19.103.15:8090/contract/contract/mergeSynchronizationStatus/' + row.FROMID).then(res => {
this.$axios.put('http://117.122.212.101:8090/contract/contract/mergeSynchronizationStatus/' + row.FROMID).then(res => {
this.$message({
type: 'success',
message: '修改成功!'
......@@ -405,7 +405,7 @@ obj=this.typeform*/
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$axios.put('http://10.19.103.15:8090/contract/contract/push/' + row.FROMID).then(res => {
this.$axios.put('http://117.122.212.101:8090/contract/contract/push/' + row.FROMID).then(res => {
console.log('code值', res.data)
if (res.data.code === '200') {
this.$message({
......@@ -433,7 +433,7 @@ obj=this.typeform*/
}).then(() => {
this.$axios({
method: 'post',
url: 'http://10.19.103.15:8090/contract/contract/checkBatch'
url: 'http://117.122.212.101:8090/contract/contract/checkBatch'
})
.then((res) => {
if (res.data.code === '200') {
......@@ -457,7 +457,7 @@ obj=this.typeform*/
}).then(() => {
this.$axios({
method: 'post',
url: 'http://10.19.103.15:8090/contract/contract/synchron'
url: 'http://117.122.212.101:8090/contract/contract/synchron'
})
.then((res) => {
if (res.data.code === '200') {
......@@ -480,7 +480,7 @@ obj=this.typeform*/
findContract() {
console.log('登录人ID', localStorage.getItem('UserID'))
const userID = localStorage.getItem('UserID')
this.$axios.get('http://10.19.103.15:8090/contract/contract/queryContractByPage',
this.$axios.get('http://117.122.212.101:8090/contract/contract/queryContractByPage',
{
params: {
USERID: userID,
......@@ -511,7 +511,7 @@ obj=this.typeform*/
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$axios.delete('http://10.19.103.15:8090/contract/contract/realDelete/' + row.FROMID).then(res => {
this.$axios.delete('http://117.122.212.101:8090/contract/contract/realDelete/' + row.FROMID).then(res => {
if (!res.errno) {
this.$message({
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