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
1c554f7b
Commit
1c554f7b
authored
Jan 27, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
889776e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
21 deletions
+28
-21
index.vue
src/views/journalManage/index.vue
+6
-7
add.vue
src/views/list/add.vue
+11
-8
index.vue
src/views/list/index.vue
+11
-6
No files found.
src/views/journalManage/index.vue
View file @
1c554f7b
...
...
@@ -25,12 +25,11 @@
<el-table-column
label=
"操作日期"
prop=
"CREATEDATE"
width=
"150"
/>
<el-table-column
label=
"合同中文名"
prop=
"CONNAMECN"
width=
"150"
/>
<el-table-column
label=
"合同编码"
prop=
"CONMAINCODE"
width=
"150"
/>
<el-table-column
label=
"操作信息"
prop=
"CONTENT"
width=
"600"
:show-overflow-tooltip=
"true"
/>
<!--
<el-table-column
label=
"操作状态"
prop=
"STATUS"
/>
-->
<!--
<template
slot-scope=
"
{ row }">
{{
statusEnum
[
row
.
status
]
}}
<el-table-column
label=
"操作信息"
prop=
"CONTENT"
width=
"600"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"
{ row }">
<span>
{{
row
.
CONTENT
.
substring
(
0
,
400
)
}}
</span>
</
template
>
</el-table-column>
-->
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"{ row }"
>
<el-link
:underline=
"false"
type=
"primary"
@
click
.
stop=
"lookUp(row)"
>
查看
</el-link>
...
...
@@ -124,7 +123,7 @@ export default {
})
},
del
(
row
)
{
this
.
$axios
.
delete
(
'http://1
0.19.103.15
:8090/contractlog/contract-log/delete/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
this
.
$axios
.
delete
(
'http://1
17.122.212.101
:8090/contractlog/contract-log/delete/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
if
(
!
res
.
errno
)
{
this
.
findLog
()
/* console.log(this.data)*/
...
...
@@ -148,7 +147,7 @@ export default {
},
findLog
()
{
console
.
log
(
'时间'
,
this
.
searchParams
.
CREATEDATE
)
this
.
$axios
.
get
(
'http://1
0.19.103.15
:8090/contractlog/contract-log/queryContractLogByPage'
,
this
.
$axios
.
get
(
'http://1
17.122.212.101
:8090/contractlog/contract-log/queryContractLogByPage'
,
{
params
:
{
rows
:
this
.
rows
,
page
:
this
.
page
,
...
...
src/views/list/add.vue
View file @
1c554f7b
...
...
@@ -1752,7 +1752,7 @@ export default {
getDetails
()
{
if
(
this
.
$route
.
query
.
type
===
'update'
)
{
const
FROMID
=
this
.
$route
.
query
.
row
.
FROMID
this
.
$axios
.
get
(
'http://1
0.19.103.15
:8090/contract/contract/detail/'
+
FROMID
).
then
(
res
=>
{
this
.
$axios
.
get
(
'http://1
17.122.212.101
:8090/contract/contract/detail/'
+
FROMID
).
then
(
res
=>
{
this
.
form
=
res
.
data
.
data
this
.
form
.
BUSINESSTYPEName
=
this
.
$route
.
query
.
businessTypeName
if
(
this
.
form
.
PROJNAME
===
''
)
{
...
...
@@ -1800,7 +1800,7 @@ export default {
}
},
findMap
()
{
this
.
$axios
.
get
(
'http://1
0.19.103.15
:8090/contract/contract/getDictData'
).
then
(
res
=>
{
this
.
$axios
.
get
(
'http://1
17.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
...
...
@@ -1859,7 +1859,7 @@ export default {
downLoadFile
(
row
)
{
// 下载按钮
console
.
log
(
row
)
this
.
$axios
.
get
(
'http://1
0.19.103.15
:8090/contractjxx/contract-fjxx/downLoad/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
this
.
$axios
.
get
(
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/downLoad/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
if
(
!
res
.
errno
)
{
console
.
log
(
this
.
data
)
}
...
...
@@ -1887,7 +1887,7 @@ export default {
console
.
log
(
'参数参数'
,
formData
)
this
.
$axios
({
method
:
'post'
,
url
:
'http://1
0.19.103.15
:8090/contractjxx/contract-fjxx/upload'
,
url
:
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/upload'
,
data
:
formData
})
.
then
((
res
)
=>
{
if
(
!
res
.
errno
)
{
...
...
@@ -1907,7 +1907,7 @@ export default {
formData
.
append
(
'file'
,
file
.
file
)
this
.
$axios
({
method
:
'post'
,
url
:
'http://1
0.19.103.15
:8090/contractjxx/contract-fjxx/upload'
,
url
:
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/upload'
,
data
:
formData
})
.
then
((
res
)
=>
{
if
(
!
res
.
errno
)
{
...
...
@@ -2005,8 +2005,11 @@ export default {
this
.
form
.
BZJXX
.
splice
(
i
,
1
)
},
delFile
(
i
,
row
)
{
if
(
i
===
1
)
{
row
.
FILENAME
=
''
}
this
.
form
.
FJXX
.
splice
(
i
,
1
)
this
.
$axios
.
delete
(
'http://1
0.19.103.15
:8090/contractjxx/contract-fjxx/realDeleteByBusinessId/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
this
.
$axios
.
delete
(
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/realDeleteByBusinessId/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
// eslint-disable-next-line no-empty
if
(
!
res
.
errno
)
{}
})
...
...
@@ -2068,7 +2071,7 @@ export default {
if
(
this
.
$route
.
query
.
type
===
'add'
)
{
this
.
$axios
({
method
:
'post'
,
url
:
'http://1
0.19.103.15
:8090/contract/contract/add'
,
url
:
'http://1
17.122.212.101
:8090/contract/contract/add'
,
data
:
this
.
form
})
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
===
'200'
)
{
...
...
@@ -2102,7 +2105,7 @@ export default {
}
else
if
(
this
.
$route
.
query
.
type
===
'update'
)
{
this
.
$axios
({
method
:
'put'
,
url
:
'http://1
0.19.103.15
:8090/contract/contract/merge'
,
url
:
'http://1
17.122.212.101
:8090/contract/contract/merge'
,
data
:
this
.
form
})
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
===
'200'
)
{
...
...
src/views/list/index.vue
View file @
1c554f7b
...
...
@@ -379,7 +379,7 @@ obj=this.typeform*/
cancelButtonText
:
'取消'
,
type
:
'warning'
}
).
then
(()
=>
{
this
.
$axios
.
put
(
'http://1
0.19.103.15
:8090/contract/contract/mergeSynchronizationStatus/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$axios
.
put
(
'http://1
17.122.212.101
:8090/contract/contract/mergeSynchronizationStatus/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'修改成功!'
...
...
@@ -404,16 +404,21 @@ obj=this.typeform*/
cancelButtonText
:
'取消'
,
type
:
'warning'
}
).
then
(()
=>
{
this
.
$axios
.
put
(
'http://1
0.19.103.15
:8090/contract/contract/push/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$axios
.
put
(
'http://1
17.122.212.101
:8090/contract/contract/push/'
+
row
.
FROMID
).
then
(
res
=>
{
console
.
log
(
'code值'
,
res
.
data
)
if
(
res
.
data
.
code
===
'200'
)
{
this
.
$message
({
type
:
'success'
,
message
:
'推送成功'
}
)
}
else
if
(
res
.
data
.
code
===
'4001'
||
res
.
data
.
code
===
'4000'
)
{
}
else
if
(
res
.
data
.
code
===
'4001'
)
{
this
.
errorForm
.
errorInformation
=
res
.
data
.
msg
this
.
errorDialog
=
true
}
else
if
(
res
.
data
.
code
===
'4000'
)
{
this
.
$message
({
type
:
'warning'
,
message
:
res
.
data
.
msg
}
)
}
this
.
findContract
()
}
)
...
...
@@ -427,7 +432,7 @@ obj=this.typeform*/
}
).
then
(()
=>
{
this
.
$axios
({
method
:
'post'
,
url
:
'http://1
0.19.103.15
:8090/contract/contract/synchron'
url
:
'http://1
17.122.212.101
:8090/contract/contract/synchron'
}
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
code
===
'200'
)
{
...
...
@@ -447,7 +452,7 @@ obj=this.typeform*/
this
.
findContract
()
}
,
findContract
()
{
this
.
$axios
.
get
(
'http://1
0.19.103.15
:8090/contract/contract/queryContractByPage'
,
this
.
$axios
.
get
(
'http://1
17.122.212.101
:8090/contract/contract/queryContractByPage'
,
{
params
:
{
USERID
:
123
,
...
...
@@ -478,7 +483,7 @@ obj=this.typeform*/
cancelButtonText
:
'取消'
,
type
:
'warning'
}
).
then
(()
=>
{
this
.
$axios
.
delete
(
'http://1
0.19.103.15
:8090/contract/contract/realDelete/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$axios
.
delete
(
'http://1
17.122.212.101
:8090/contract/contract/realDelete/'
+
row
.
FROMID
).
then
(
res
=>
{
if
(
!
res
.
errno
)
{
this
.
$message
({
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