Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
contractmanage
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
contractmanage
Commits
cf072d65
Commit
cf072d65
authored
Mar 05, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改地址
parent
14264cef
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
19 deletions
+19
-19
.env.test
.env.test
+1
-1
index.vue
src/views/journalManage/index.vue
+2
-2
add.vue
src/views/list/add.vue
+10
-10
index.vue
src/views/list/index.vue
+6
-6
No files found.
.env.test
View file @
cf072d65
...
@@ -3,5 +3,5 @@ ENV = 'test'
...
@@ -3,5 +3,5 @@ ENV = 'test'
NODE_ENV
=
'production'
NODE_ENV
=
'production'
# 测试环境
# 测试环境
# base api
# base api
VUE_APP_BASE_API
=
'http://1
17.122.212.101
:8090'
VUE_APP_BASE_API
=
'http://1
0.19.103.15
:8090'
src/views/journalManage/index.vue
View file @
cf072d65
...
@@ -123,7 +123,7 @@ export default {
...
@@ -123,7 +123,7 @@ export default {
})
})
},
},
del
(
row
)
{
del
(
row
)
{
this
.
$axios
.
delete
(
'http://1
17.122.212.101
:8090/contractlog/contract-log/delete/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
this
.
$axios
.
delete
(
'http://1
0.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)*/
...
@@ -147,7 +147,7 @@ export default {
...
@@ -147,7 +147,7 @@ export default {
},
},
findLog
()
{
findLog
()
{
console
.
log
(
'时间'
,
this
.
searchParams
.
CREATEDATE
)
console
.
log
(
'时间'
,
this
.
searchParams
.
CREATEDATE
)
this
.
$axios
.
get
(
'http://1
17.122.212.101
:8090/contractlog/contract-log/queryContractLogByPage'
,
this
.
$axios
.
get
(
'http://1
0.19.103.15
:8090/contractlog/contract-log/queryContractLogByPage'
,
{
params
:
{
{
params
:
{
rows
:
this
.
rows
,
rows
:
this
.
rows
,
page
:
this
.
page
,
page
:
this
.
page
,
...
...
src/views/list/add.vue
View file @
cf072d65
...
@@ -1852,7 +1852,7 @@ export default {
...
@@ -1852,7 +1852,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://1
17.122.212.101
:8090/contract/contract/detail/'
+
FROMID
).
then
(
res
=>
{
this
.
$axios
.
get
(
'http://1
0.19.103.15
:8090/contract/contract/detail/'
+
FROMID
).
then
(
res
=>
{
this
.
form
=
res
.
data
.
data
this
.
form
=
res
.
data
.
data
if
(
res
.
data
.
data
.
TZXX
===
null
)
{
if
(
res
.
data
.
data
.
TZXX
===
null
)
{
this
.
form
.
TZXX
=
{}
this
.
form
.
TZXX
=
{}
...
@@ -1911,7 +1911,7 @@ export default {
...
@@ -1911,7 +1911,7 @@ export default {
}
}
},
},
findMap
()
{
findMap
()
{
this
.
$axios
.
get
(
'http://1
17.122.212.101
:8090/contract/contract/getDictData'
).
then
(
res
=>
{
this
.
$axios
.
get
(
'http://1
0.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
...
@@ -1971,7 +1971,7 @@ export default {
...
@@ -1971,7 +1971,7 @@ export default {
downLoadFile
(
row
)
{
downLoadFile
(
row
)
{
// 下载按钮
// 下载按钮
console
.
log
(
row
)
console
.
log
(
row
)
this
.
$axios
.
get
(
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/downLoad/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
this
.
$axios
.
get
(
'http://1
0.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
)
}
}
...
@@ -2006,7 +2006,7 @@ export default {
...
@@ -2006,7 +2006,7 @@ export default {
console
.
log
(
'参数参数'
,
formData
)
console
.
log
(
'参数参数'
,
formData
)
this
.
$axios
({
this
.
$axios
({
method
:
'post'
,
method
:
'post'
,
url
:
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/upload'
,
url
:
'http://1
0.19.103.15
:8090/contractjxx/contract-fjxx/upload'
,
data
:
formData
})
data
:
formData
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
!
res
.
errno
)
{
if
(
!
res
.
errno
)
{
...
@@ -2026,7 +2026,7 @@ export default {
...
@@ -2026,7 +2026,7 @@ export default {
formData
.
append
(
'file'
,
file
.
file
)
formData
.
append
(
'file'
,
file
.
file
)
this
.
$axios
({
this
.
$axios
({
method
:
'post'
,
method
:
'post'
,
url
:
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/upload'
,
url
:
'http://1
0.19.103.15
:8090/contractjxx/contract-fjxx/upload'
,
data
:
formData
})
data
:
formData
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
!
res
.
errno
)
{
if
(
!
res
.
errno
)
{
...
@@ -2129,7 +2129,7 @@ export default {
...
@@ -2129,7 +2129,7 @@ export default {
this
.
form
.
BZJXX
.
splice
(
i
,
1
)
this
.
form
.
BZJXX
.
splice
(
i
,
1
)
},
},
delFile
(
i
,
row
)
{
delFile
(
i
,
row
)
{
this
.
$axios
.
delete
(
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/realDeleteByBusinessId/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
this
.
$axios
.
delete
(
'http://1
0.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
)
{}
})
})
...
@@ -2204,7 +2204,7 @@ export default {
...
@@ -2204,7 +2204,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://1
17.122.212.101
:8090/contract/contract/add'
,
url
:
'http://1
0.19.103.15
:8090/contract/contract/add'
,
data
:
this
.
form
data
:
this
.
form
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
...
@@ -2239,7 +2239,7 @@ export default {
...
@@ -2239,7 +2239,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://1
17.122.212.101
:8090/contract/contract/merge'
,
url
:
'http://1
0.19.103.15
:8090/contract/contract/merge'
,
data
:
this
.
form
data
:
this
.
form
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
...
@@ -2286,7 +2286,7 @@ export default {
...
@@ -2286,7 +2286,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://1
17.122.212.101
:8090/contract/contract/add'
,
url
:
'http://1
0.19.103.15
:8090/contract/contract/add'
,
data
:
this
.
form
data
:
this
.
form
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
...
@@ -2321,7 +2321,7 @@ export default {
...
@@ -2321,7 +2321,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://1
17.122.212.101
:8090/contract/contract/merge'
,
url
:
'http://1
0.19.103.15
:8090/contract/contract/merge'
,
data
:
this
.
form
data
:
this
.
form
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
...
...
src/views/list/index.vue
View file @
cf072d65
...
@@ -380,7 +380,7 @@ obj=this.typeform*/
...
@@ -380,7 +380,7 @@ obj=this.typeform*/
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}
).
then
(()
=>
{
}
).
then
(()
=>
{
this
.
$axios
.
put
(
'http://1
17.122.212.101:809
0/contract/contract/mergeSynchronizationStatus/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$axios
.
put
(
'http://1
0.19.103.15:1010
0/contract/contract/mergeSynchronizationStatus/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$message
({
this
.
$message
({
type
:
'success'
,
type
:
'success'
,
message
:
'修改成功!'
message
:
'修改成功!'
...
@@ -405,7 +405,7 @@ obj=this.typeform*/
...
@@ -405,7 +405,7 @@ obj=this.typeform*/
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}
).
then
(()
=>
{
}
).
then
(()
=>
{
this
.
$axios
.
put
(
'http://1
17.122.212.101:809
0/contract/contract/push/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$axios
.
put
(
'http://1
0.19.103.15:1010
0/contract/contract/push/'
+
row
.
FROMID
).
then
(
res
=>
{
console
.
log
(
'code值'
,
res
.
data
)
console
.
log
(
'code值'
,
res
.
data
)
if
(
res
.
data
.
code
===
'200'
)
{
if
(
res
.
data
.
code
===
'200'
)
{
this
.
$message
({
this
.
$message
({
...
@@ -433,7 +433,7 @@ obj=this.typeform*/
...
@@ -433,7 +433,7 @@ obj=this.typeform*/
}
).
then
(()
=>
{
}
).
then
(()
=>
{
this
.
$axios
({
this
.
$axios
({
method
:
'post'
,
method
:
'post'
,
url
:
'http://1
17.122.212.101:809
0/contract/contract/checkBatch'
url
:
'http://1
0.19.103.15:1010
0/contract/contract/checkBatch'
}
)
}
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
===
'200'
)
{
if
(
res
.
data
.
code
===
'200'
)
{
...
@@ -457,7 +457,7 @@ obj=this.typeform*/
...
@@ -457,7 +457,7 @@ obj=this.typeform*/
}
).
then
(()
=>
{
}
).
then
(()
=>
{
this
.
$axios
({
this
.
$axios
({
method
:
'post'
,
method
:
'post'
,
url
:
'http://1
17.122.212.101:809
0/contract/contract/synchron'
url
:
'http://1
0.19.103.15:1010
0/contract/contract/synchron'
}
)
}
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
===
'200'
)
{
if
(
res
.
data
.
code
===
'200'
)
{
...
@@ -480,7 +480,7 @@ obj=this.typeform*/
...
@@ -480,7 +480,7 @@ obj=this.typeform*/
findContract
()
{
findContract
()
{
console
.
log
(
'登录人ID'
,
localStorage
.
getItem
(
'UserID'
))
console
.
log
(
'登录人ID'
,
localStorage
.
getItem
(
'UserID'
))
const
userID
=
localStorage
.
getItem
(
'UserID'
)
const
userID
=
localStorage
.
getItem
(
'UserID'
)
this
.
$axios
.
get
(
'http://1
17.122.212.101:809
0/contract/contract/queryContractByPage'
,
this
.
$axios
.
get
(
'http://1
0.19.103.15:1010
0/contract/contract/queryContractByPage'
,
{
{
params
:
{
params
:
{
USERID
:
userID
,
USERID
:
userID
,
...
@@ -511,7 +511,7 @@ obj=this.typeform*/
...
@@ -511,7 +511,7 @@ obj=this.typeform*/
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}
).
then
(()
=>
{
}
).
then
(()
=>
{
this
.
$axios
.
delete
(
'http://1
17.122.212.101:809
0/contract/contract/realDelete/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$axios
.
delete
(
'http://1
0.19.103.15:1010
0/contract/contract/realDelete/'
+
row
.
FROMID
).
then
(
res
=>
{
if
(
!
res
.
errno
)
{
if
(
!
res
.
errno
)
{
this
.
$message
({
this
.
$message
({
type
:
'success'
,
type
:
'success'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment