Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f9bfeb59
authored
Oct 17, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
开通配置联调修改
1 parent
668115d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
src/views/config/addConfig.vue
src/views/config/addConfig.vue
View file @
f9bfeb5
...
@@ -264,16 +264,6 @@ export default {
...
@@ -264,16 +264,6 @@ export default {
}
}
}
}
},
},
'contractObj.contractSubjectType'
:
{
deep
:
true
,
handler
(
val
)
{
if
((
val
==
3
||
val
==
2
))
{
if
(
!
this
.
contractObj
.
typeData
[
val
-
1
].
contractImportantClause
)
this
.
$set
(
this
.
contractObj
.
typeData
[
val
-
1
],
'contractImportantClause'
,
'本合同项下的服务已向保险公司投保'
)
}
let
contractSubjectName
=
val
==
1
?
'深圳广联数科科技有限公司'
:
val
==
2
?
'深圳市嘀加智慧云服务有限公司'
:
(
this
.
contractObj
.
typeData
[
val
-
1
].
contractSubjectName
||
''
)
this
.
$set
(
this
.
contractObj
.
typeData
[
val
-
1
],
'contractSubjectName'
,
contractSubjectName
)
}
}
},
},
created
(){
created
(){
...
@@ -688,7 +678,11 @@ export default {
...
@@ -688,7 +678,11 @@ export default {
// 初始化合同主体数据
// 初始化合同主体数据
initContractObj
()
{
initContractObj
()
{
this
.
contractSubjectTypeList
.
forEach
(
el
=>
{
this
.
contractSubjectTypeList
.
forEach
(
el
=>
{
this
.
contractObj
.
typeData
.
push
({
contractSubjectName
:
''
,
contractImportantClause
:
''
,
contractLogoUrl
:
''
,
contractSealUrl
:
''
})
const
name
=
el
.
label
==
1
||
el
.
label
==
2
?
el
.
value
:
''
const
clause
=
el
.
label
==
1
?
''
:
'本合同项下的服务已向保险公司投保'
const
logoUrl
=
el
.
label
==
1
?
'https://img02.glsx.com.cn/group1/M00/04/E5/wKgFDWR0Dz-AC2jbAABATWdx-MA743.png'
:
el
.
label
==
2
?
'https://img02.glsx.com.cn/group1/M00/24/0B/wKgFDWW4VSyAdmoiAAAgBcuaQho328.png'
:
''
const
sealUrl
=
el
.
label
==
1
?
'https://img02.glsx.com.cn/group1/M00/1C/D7/wKgFDWV5R_CAJsOgAALbw4tmJ8M972.png'
:
el
.
label
==
2
?
'https://img02.glsx.com.cn/group1/M00/1C/D6/wKgFDWV5RcKAKP-vAALBSrUaagU348.png'
:
''
this
.
contractObj
.
typeData
.
push
({
contractSubjectName
:
name
,
contractImportantClause
:
clause
,
contractLogoUrl
:
logoUrl
,
contractSealUrl
:
sealUrl
})
})
})
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment