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 ffbff446
authored
Oct 15, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
联调修改
1 parent
23a12e05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/views/config/addConfig.vue
src/views/config/addConfig.vue
View file @
ffbff44
...
@@ -33,10 +33,10 @@
...
@@ -33,10 +33,10 @@
<el-radio
:label=
"item.label"
>
{{ item.value }}
</el-radio>
<el-radio
:label=
"item.label"
>
{{ item.value }}
</el-radio>
<div
v-if=
"contractObj.contractSubjectType == item.label"
class=
"contract_type_content"
>
<div
v-if=
"contractObj.contractSubjectType == item.label"
class=
"contract_type_content"
>
<el-form-item
size=
"small"
label-width=
"154px"
label=
"主体名称:"
v-if=
"contractObj.contractSubjectType == 3"
>
<el-form-item
size=
"small"
label-width=
"154px"
label=
"主体名称:"
v-if=
"contractObj.contractSubjectType == 3"
>
<el-input
v-model=
"contractObj['typeData'][index].contractSubjectName"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"contractObj['typeData'][index].contractSubjectName"
@
input=
"(event) => handleInput(event, index, 'contractSubjectName')"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"特别声明:"
label-width=
"154px"
>
<el-form-item
size=
"small"
label=
"特别声明:"
label-width=
"154px"
>
<el-input
type=
"textarea"
placeholder=
"请输入"
@
input=
"(event) => handleInput(event, index)"
v-model=
"contractObj['typeData'][index].contractImportantClause"
></el-input>
<el-input
type=
"textarea"
placeholder=
"请输入"
@
input=
"(event) => handleInput(event, index
, 'contractImportantClause'
)"
v-model=
"contractObj['typeData'][index].contractImportantClause"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"合同Logo:"
label-width=
"154px"
>
<el-form-item
size=
"small"
label=
"合同Logo:"
label-width=
"154px"
>
<Upload
@
uploadSuccess=
"(event) => uploadSuccess(event, index)"
:checkObj=
"checkObj"
@
delImage=
"(event) => delImage(event, index)"
class=
"upload"
:attr=
"'contractLogoUrl'"
:url=
"contractObj['typeData'][index]['contractLogoUrl']"
></Upload>
<Upload
@
uploadSuccess=
"(event) => uploadSuccess(event, index)"
:checkObj=
"checkObj"
@
delImage=
"(event) => delImage(event, index)"
class=
"upload"
:attr=
"'contractLogoUrl'"
:url=
"contractObj['typeData'][index]['contractLogoUrl']"
></Upload>
...
@@ -269,7 +269,7 @@ export default {
...
@@ -269,7 +269,7 @@ export default {
if
((
val
==
3
||
val
==
2
))
{
if
((
val
==
3
||
val
==
2
))
{
if
(
!
this
.
contractObj
.
typeData
[
val
-
1
].
contractImportantClause
)
this
.
$set
(
this
.
contractObj
.
typeData
[
val
-
1
],
'contractImportantClause'
,
'本合同项下的服务已向保险公司投保'
)
if
(
!
this
.
contractObj
.
typeData
[
val
-
1
].
contractImportantClause
)
this
.
$set
(
this
.
contractObj
.
typeData
[
val
-
1
],
'contractImportantClause'
,
'本合同项下的服务已向保险公司投保'
)
}
}
let
contractSubjectName
=
val
==
1
?
'深圳广联数科科技有限公司'
:
val
==
2
?
'深圳市嘀加智慧云服务有限公司'
:
''
let
contractSubjectName
=
val
==
1
?
'深圳广联数科科技有限公司'
:
val
==
2
?
'深圳市嘀加智慧云服务有限公司'
:
(
this
.
contractObj
.
typeData
[
val
-
1
].
contractSubjectName
||
''
)
this
.
$set
(
this
.
contractObj
.
typeData
[
val
-
1
],
'contractSubjectName'
,
contractSubjectName
)
this
.
$set
(
this
.
contractObj
.
typeData
[
val
-
1
],
'contractSubjectName'
,
contractSubjectName
)
}
}
}
}
...
@@ -387,8 +387,8 @@ export default {
...
@@ -387,8 +387,8 @@ export default {
// }
// }
// this.data = storeArr
// this.data = storeArr
// },
// },
handleInput
(
e
,
index
)
{
handleInput
(
e
,
index
,
attr
)
{
this
.
$set
(
this
.
contractObj
.
typeData
[
index
],
'contractImportantClause'
,
e
)
this
.
$set
(
this
.
contractObj
.
typeData
[
index
],
attr
,
e
)
this
.
$forceUpdate
()
this
.
$forceUpdate
()
},
},
getConfig
(
merchantId
)
{
getConfig
(
merchantId
)
{
...
...
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