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 d93d101d
authored
Oct 15, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
十月份版本需求开发
1 parent
fa5aba15
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
386 additions
and
174 deletions
src/components/Upload/index.vue
src/views/claims/components/report.vue
src/views/claims/ghIndex.vue
src/views/claims/index.vue
src/views/claims/order.vue
src/views/config/addConfig.vue
src/components/Upload/index.vue
View file @
d93d101
<
template
>
<div
class=
"upload-ctnr"
>
<label
v-if=
"name"
:class=
"['label',
{'required-field': required}]" for="">
{{
name
}}
</label>
<div
class=
"upload-wrap"
:style=
"defaultStyle"
>
<img
v-if=
"url"
class=
"image"
:src=
"url"
alt=
""
/>
<div
v-else
class=
"add-img"
>
<input
type=
"file"
class=
"file"
id=
"file"
ref=
"input"
@
change=
"upload"
accept=
"image/png, image/jpeg, image/gif, image/jpg"
/>
<i
class=
"el-icon-plus add"
></i>
<p>
上传照片
</p>
</div>
<div
class=
"operate"
v-if=
"url"
>
<div
class=
"btn-wrap"
>
<i
class=
"el-icon-view"
@
click=
"handleLook"
></i>
<i
v-if=
"!disabled"
class=
"el-icon-delete del-icon"
@
click=
"del"
></i>
</div>
<div
class=
"upload-ctnr"
>
<label
v-if=
"name"
:class=
"['label',
{'required-field': required}]" for="">
{{
name
}}
</label>
<div
class=
"upload-wrap"
:style=
"defaultStyle"
>
<img
v-if=
"url"
class=
"image"
:src=
"url"
alt=
""
/>
<div
v-else
class=
"add-img"
>
<input
type=
"file"
class=
"file"
id=
"file"
ref=
"input"
@
change=
"upload"
accept=
"image/png, image/jpeg, image/gif, image/jpg"
/>
<i
class=
"el-icon-plus add"
></i>
<p>
上传照片
</p>
</div>
<div
class=
"operate"
v-if=
"url"
>
<div
class=
"btn-wrap"
>
<i
class=
"el-icon-view"
@
click=
"handleLook"
></i>
<i
v-if=
"!disabled"
class=
"el-icon-delete del-icon"
@
click=
"del"
></i>
</div>
</div>
<el-dialog
class=
"image-dialog"
:visible
.
sync=
"dialogVisibleImg"
width=
"30%"
>
<big-view
ref=
"viewForm"
v-if=
"dialogVisibleImg"
:dialogSrc=
"url"
dialogType=
"img"
></big-view>
</el-dialog>
</div>
</
template
>
<
script
>
import
bigView
from
'@/components/big-view'
export
default
{
name
:
'Upload'
,
components
:
{
bigView
</div>
<el-dialog
class=
"image-dialog"
:visible
.
sync=
"dialogVisibleImg"
width=
"30%"
>
<big-view
ref=
"viewForm"
v-if=
"dialogVisibleImg"
:dialogSrc=
"url"
dialogType=
"img"
></big-view>
</el-dialog>
</div>
</
template
>
<
script
>
import
bigView
from
'@/components/big-view'
export
default
{
name
:
'Upload'
,
components
:
{
bigView
},
props
:
{
required
:
{
type
:
Boolean
,
default
:
false
},
props
:
{
required
:
{
type
:
Boolean
,
default
:
false
},
name
:
{
type
:
String
,
default
:
''
},
disabled
:
{
type
:
Boolean
,
default
:
false
},
url
:
{
type
:
String
,
default
:
''
},
attr
:
{
type
:
String
,
default
:
''
},
defaultStyle
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
name
:
{
type
:
String
,
default
:
''
},
disabled
:
{
type
:
Boolean
,
default
:
false
},
url
:
{
type
:
String
,
default
:
''
},
attr
:
{
type
:
String
,
default
:
''
},
defaultStyle
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
},
data
()
{
return
{
dialogVisibleImg
:
false
checkObj
:
{
// 校验规则
type
:
Object
,
default
:
()
=>
{
return
{}
}
}
},
data
()
{
return
{
dialogVisibleImg
:
false
}
},
methods
:
{
handleLook
()
{
this
.
dialogVisibleImg
=
true
},
methods
:
{
handleLook
(){
this
.
dialogVisibleImg
=
true
},
upload
(
e
)
{
const
file
=
e
.
target
.
files
[
0
]
const
reader
=
new
FileReader
()
reader
.
readAsDataURL
(
file
)
reader
.
onload
=
event
=>
{
const
imgFile
=
event
.
target
.
result
const
arrBase64
=
imgFile
.
split
(
','
)
const
base64
=
file
.
name
.
split
(
'.'
).
pop
()
+
'@'
+
arrBase64
[
1
]
this
.
$apis
.
claims
.
uploadImgApi
({
file
:
base64
,
fileType
:
'image'
}).
then
(
res
=>
{
this
.
$emit
(
'uploadSuccess'
,
{
attr
:
this
.
attr
,
url
:
res
})
})
upload
(
e
)
{
const
file
=
e
.
target
.
files
[
0
]
if
(
this
.
checkObj
&&
Object
.
keys
(
this
.
checkObj
).
length
)
{
const
AllImgExt
=
this
.
checkObj
.
fileTypes
let
extName
=
file
.
name
.
substring
(
file
.
name
.
lastIndexOf
(
'.'
)).
toLowerCase
()
if
(
AllImgExt
.
indexOf
(
extName
)
===
-
1
)
{
return
this
.
$message
.
error
(
'上传格式不正确'
)
}
},
del
(){
this
.
$emit
(
'delImage'
,
{
attr
:
this
.
attr
})
const
size
=
e
.
size
/
1024
/
1024
const
maxSize
=
this
.
checkObj
.
maxSize
if
(
size
>
maxSize
)
{
return
this
.
$message
.
error
(
`上传文件不可超过
${
maxSize
}
M`
)
}
}
const
reader
=
new
FileReader
()
reader
.
readAsDataURL
(
file
)
reader
.
onload
=
event
=>
{
const
imgFile
=
event
.
target
.
result
const
arrBase64
=
imgFile
.
split
(
','
)
const
base64
=
file
.
name
.
split
(
'.'
).
pop
()
+
'@'
+
arrBase64
[
1
]
this
.
$apis
.
claims
.
uploadImgApi
({
file
:
base64
,
fileType
:
'image'
}).
then
(
res
=>
{
this
.
$emit
(
'uploadSuccess'
,
{
attr
:
this
.
attr
,
url
:
res
})
})
}
},
del
()
{
this
.
$emit
(
'delImage'
,
{
attr
:
this
.
attr
})
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.upload-ctnr
{
display
:
flex
;
.label{
display
:
inline-block
;
vertical-align
:
top
;
width
:
154px
;
height
:
20px
;
font-size
:
14px
;
color
:
#333333
;
text-align
:
right
;
line-height
:
20px
;
box-sizing
:
border-box
;
}
</
script
>
<
style
lang=
"scss"
scoped
>
.upload-ctnr
{
display
:
flex
;
.label
{
display
:
inline-block
;
vertical-align
:
top
;
width
:
154px
;
height
:
20px
;
font-size
:
14px
;
color
:
#333333
;
text-align
:
right
;
line-height
:
20px
;
box-sizing
:
border-box
;
}
.upload-wrap
{
display
:
inline-flex
;
border
:
1px
dashed
#00000026
;
box-sizing
:
border-box
;
width
:
104px
;
height
:
104px
;
background
:
#0000000
a
;
border-radius
:
4px
;
position
:
relative
;
&:hover
{
.operate
{
display
:
block
;
}
}
.image
{
width
:
100%
;
height
:
100%
;
z-index
:
2
;
position
:
relative
;
}
.upload-wrap
{
.add-img
{
width
:
100%
;
height
:
100%
;
cursor
:
pointer
;
display
:
inline-flex
;
border
:
1px
dashed
#00000026
;
box-sizing
:
border-box
;
width
:
104px
;
height
:
104px
;
background
:
#0000000
a
;
border-radius
:
4px
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
color
:
#666666
;
position
:
relative
;
&:hover{
.operate{
display
:
block
;
}
}
.image
{
width
:
100%
;
height
:
100%
;
z-index
:
2
;
position
:
relative
;
}
.add-img
{
width
:
100%
;
height
:
100%
;
cursor
:
pointer
;
display
:
inline-flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
color
:
#666666
;
position
:
relative
;
.file{
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
z-index
:
1
;
position
:
absolute
;
opacity
:
0
;
}
.add
{
font-size
:
18px
;
}
p
{
height
:
32px
;
line-height
:
32px
;
}
}
.operate
{
display
:
none
;
position
:
absolute
;
.file
{
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0.4
);
border-radius
:
4px
;
z-index
:
5
;
.btn-wrap{
color
:
#fff
;
position
:
absolute
;
transform
:
translate
(
-50%
,
-50%
);
top
:
50%
;
left
:
50%
;
.del-icon{
margin-left
:
12px
;
}
i
{
font-size
:
16px
;
cursor
:
pointer
;
}
z-index
:
1
;
position
:
absolute
;
opacity
:
0
;
}
.add
{
font-size
:
18px
;
}
p
{
height
:
32px
;
line-height
:
32px
;
}
}
.operate
{
display
:
none
;
position
:
absolute
;
top
:
0
;
left
:
0
;
right
:
0
;
bottom
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0.4
);
border-radius
:
4px
;
z-index
:
5
;
.btn-wrap
{
color
:
#fff
;
position
:
absolute
;
transform
:
translate
(
-50%
,
-50%
);
top
:
50%
;
left
:
50%
;
.del-icon
{
margin-left
:
12px
;
}
i
{
font-size
:
16px
;
cursor
:
pointer
;
}
}
}
}
</
style
>
\ No newline at end of file
}
</
style
>
src/views/claims/components/report.vue
View file @
d93d101
...
...
@@ -53,6 +53,7 @@ export default {
editFormData
:
[],
showGh
:
false
,
editRule
:
{
caseType
:
[{
required
:
true
,
message
:
'请选择案件类型'
,
trigger
:
'change'
}
],
contractNo
:
[{
required
:
true
,
message
:
'请输入合同号'
,
trigger
:
'change'
}
],
reportDate
:
[{
required
:
true
,
message
:
'请选择报案日期'
,
trigger
:
'change'
}
],
reimbursementDate
:
[
...
...
@@ -122,6 +123,10 @@ export default {
handlerDetail
()
{
this
.
editDetail
=
[
{
label
:
'案件类型'
,
value
:
this
.
editForm
.
caseType
==
0
?
'常规赔案'
:
'内部赔案'
}
,
{
label
:
'报案人'
,
value
:
this
.
editForm
.
reporterName
}
,
...
...
@@ -171,6 +176,23 @@ export default {
const
isDisabled
=
this
.
pageType
==
2
?
true
:
false
const
dj
=
[
{
label
:
'案件类型'
,
name
:
'caseType'
,
type
:
'radio'
,
optionList
:
[
{
confId
:
0
,
confName
:
'常规赔案'
}
,
{
confId
:
1
,
confName
:
'内部赔案'
}
],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
}
,
{
label
:
'合同号'
,
name
:
'contractNo'
,
type
:
'input'
,
...
...
src/views/claims/ghIndex.vue
View file @
d93d101
...
...
@@ -116,10 +116,10 @@ import followPop from './components/followPop'
import
*
as
dayjs
from
'dayjs'
//服务状态:0-待提交国任 1-待支付 2-校验不通过 3-支付成功 4-支付失败
const
statusList
=
[
{
confId
:
''
,
confName
:
'全部'
},
//
{
//
confId: '',
//
confName: '全部'
//
},
{
confId
:
0
,
confName
:
'待提交国任'
...
...
@@ -434,7 +434,7 @@ export default {
batchPageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
searchForm
:
{
searchText
:
''
,
status
:
''
,
status
List
:
[]
,
commitDate
:
''
,
shopDate
:
''
,
merchantUpdatedDate
:
''
,
...
...
@@ -454,10 +454,11 @@ export default {
},
{
label
:
'服务状态'
,
name
:
'status'
,
name
:
'status
List
'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
statusList
,
multiple
:
true
,
optionId
:
'confId'
,
optionLabel
:
'confName'
},
...
...
@@ -982,7 +983,7 @@ export default {
handleRestFn
()
{
this
.
searchForm
=
{
searchText
:
''
,
status
:
''
,
status
List
:
[]
,
commitDate
:
''
,
shopDate
:
''
,
merchantUpdatedDate
:
''
,
...
...
src/views/claims/index.vue
View file @
d93d101
...
...
@@ -43,10 +43,10 @@
<
script
>
import
*
as
dayjs
from
'dayjs'
const
statusList
=
[
{
confId
:
''
,
confName
:
'全部'
},
//
{
//
confId: '',
//
confName: '全部'
//
},
{
confId
:
0
,
confName
:
'待提交国任'
...
...
@@ -217,7 +217,7 @@ export default {
batchPageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
searchForm
:
{
searchText
:
''
,
status
:
''
,
status
List
:
[]
,
commitDate
:
''
},
searchParams
:
{},
...
...
@@ -232,10 +232,11 @@ export default {
},
{
label
:
'服务状态'
,
name
:
'status'
,
name
:
'status
List
'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
statusList
,
multiple
:
true
,
optionId
:
'confId'
,
optionLabel
:
'confName'
},
...
...
@@ -568,7 +569,7 @@ export default {
handleRestFn
()
{
this
.
searchForm
=
{
searchText
:
''
,
status
:
''
,
status
List
:
[]
,
commitDate
:
''
}
this
.
getTableData
()
...
...
src/views/claims/order.vue
View file @
d93d101
...
...
@@ -86,6 +86,7 @@ export default {
routeInfo
:
null
,
isGH
:
false
,
editForm
:
{
caseType
:
0
,
// 默认常规赔案
contractNo
:
''
,
reportDate
:
''
,
reimbursementDate
:
''
,
...
...
src/views/config/addConfig.vue
View file @
d93d101
...
...
@@ -26,6 +26,30 @@
<el-radio
:label=
"2"
>
驻店零售
</el-radio>
</el-radio-group>
</div>
<div
class=
"contracting-parties"
v-if=
"!showGh"
>
<label
for=
""
class=
"label"
>
合同主体:
</label>
<el-radio-group
v-model=
"contractObj.contractSubjectType"
>
<div
v-for=
"(item, index) in contractSubjectTypeList"
:key=
"index"
class=
"contract_type_item"
>
<el-radio
:label=
"item.label"
>
{{ item.value }}
</el-radio>
<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-input
v-model=
"contractObj['typeData'][index].contractSubjectName"
placeholder=
"请输入"
></el-input>
</el-form-item>
<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-form-item>
<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>
<div
class=
"upload-tip"
>
图片格式为jpg,jpeg,png,大小10M以内
</div>
</el-form-item>
<el-form-item
size=
"small"
label=
"合同章:"
label-width=
"154px"
>
<Upload
@
uploadSuccess=
"(event) => uploadSuccess(event, index)"
:checkObj=
"checkObj"
@
delImage=
"(event) => delImage(event, index)"
class=
"upload"
:attr=
"'contractSealUrl'"
:url=
"contractObj['typeData'][index]['contractSealUrl']"
></Upload>
<div
class=
"upload-tip"
>
图片格式为jpg,jpeg,png,大小10M以内
</div>
</el-form-item>
</div>
</div>
</el-radio-group>
</div>
<
template
v-if=
"!showGh"
>
<el-form-item
size=
"small"
label=
"配置可见产品及产品属性"
></el-form-item>
<el-form-item>
...
...
@@ -132,6 +156,7 @@
<
script
type=
"text/ecmascript-6"
>
import
relateStoreDialog
from
'@/components/relateStoreDialog'
import
Upload
from
'@/components/Upload'
const
theftOptions
=
[
'盗抢卡输入'
]
const
vehicleOptions
=
[
'全损卡输入'
]
const
tyreOptions
=
[
'轮胎卡输入'
]
...
...
@@ -141,9 +166,9 @@ export default {
name
:
''
,
data
()
{
return
{
robberyServerList
:[],
vehicleServerList
:[],
configTitle
:
''
,
robberyServerList
:
[],
vehicleServerList
:
[],
configTitle
:
''
,
selectedTable
:
false
,
checkPosition
:
false
,
saleMode
:
1
,
...
...
@@ -194,16 +219,65 @@ export default {
collisions
:
collisionOptions
,
collisionTerminate
:
false
,
costPrice
:
false
,
//选择门店成本
showGh
:
false
,
newPackageList
:
[]
showGh
:
false
,
newPackageList
:
[],
contractSubjectTypeList
:
[
{
label
:
1
,
value
:
'深圳广联数科科技有限公司'
,
},
{
label
:
2
,
value
:
'深圳市嘀加智慧云服务有限公司'
},
{
label
:
3
,
value
:
'自定义'
},
],
contractObj
:
{
contractSubjectType
:
''
,
typeData
:
[]
},
checkobj
:
{
fileTypes
:
'.png|.jpg|.jpeg'
,
maxSize
:
10
}
}
},
components
:
{
relateStoreDialog
relateStoreDialog
,
Upload
},
watch
:
{
saleMode
:
{
deep
:
true
,
handler
(
val
)
{
if
(
val
==
1
)
{
this
.
$set
(
this
.
contractObj
,
'contractSubjectType'
,
1
)
}
else
if
(
val
==
2
)
{
this
.
$set
(
this
.
contractObj
,
'contractSubjectType'
,
2
)
}
}
},
'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
.
$set
(
this
.
contractObj
.
typeData
[
val
-
1
],
'contractSubjectName'
,
contractSubjectName
)
}
}
},
created
(){
this
.
diffHost
()
this
.
initContractObj
()
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
...
...
@@ -234,6 +308,7 @@ export default {
this
.
againstCollision
=
[
'碰撞卡输入'
]
this
.
collisionRadio
=
'1'
this
.
vehicleRadio
=
'1'
this
.
contractObj
.
contractSubjectType
=
1
// 默认是批发 选中深圳广联数科科技有限公司
}
this
.
getStoreConfig
()
},
...
...
@@ -312,6 +387,10 @@ export default {
// }
// this.data = storeArr
// },
handleInput
(
e
,
index
)
{
this
.
$set
(
this
.
contractObj
.
typeData
[
index
],
'contractImportantClause'
,
e
)
this
.
$forceUpdate
()
},
getConfig
(
merchantId
)
{
let
para
=
{
merchantId
...
...
@@ -383,6 +462,14 @@ export default {
this
.
first
=
!!
arrs
[
i
]?.
isChecked
}
}
const
contractSubjectType
=
res
.
contractSubjectType
==
0
?
3
:
res
.
contractSubjectName
==
'深圳市嘀加智慧云服务有限公司'
?
2
:
res
.
contractSubjectName
==
'深圳市嘀加智慧云服务有限公司'
?
1
:
res
.
saleMode
==
1
?
1
:
2
// 主体类型 0自定义(将值做转换,方便交互处理)
this
.
contractObj
.
contractSubjectType
=
contractSubjectType
this
.
contractObj
.
typeData
[
contractSubjectType
-
1
]
=
{
contractSubjectName
:
res
.
contractSubjectName
,
contractImportantClause
:
res
.
contractImportantClause
,
contractLogoUrl
:
res
.
contractLogoUrl
,
contractSealUrl
:
res
.
contractSealUrl
}
})
},
onSubmit
()
{
...
...
@@ -453,13 +540,26 @@ export default {
params
.
push
({
packageCode
,
servicePeriod
:
packageServicePeriod
,
cardName
})
}
})
if
(
!
this
.
contractObj
.
typeData
[
this
.
contractObj
.
contractSubjectType
-
1
].
contractSubjectName
)
{
return
this
.
$message
.
error
(
'请输入合同主体名称'
)
}
let
targetParams
=
{
openCostPrice
:
this
.
costPrice
?
1
:
0
,
createDetailRequests
:
params
,
saleMode
:
this
.
saleMode
saleMode
:
this
.
saleMode
,
contractSubjectName
:
this
.
contractObj
.
typeData
[
this
.
contractObj
.
contractSubjectType
-
1
].
contractSubjectName
,
contractSubjectType
:
this
.
contractObj
.
contractSubjectType
==
3
?
0
:
undefined
,
contractImportantClause
:
this
.
contractObj
.
typeData
[
this
.
contractObj
.
contractSubjectType
-
1
].
contractImportantClause
,
contractLogoUrl
:
this
.
contractObj
.
typeData
[
this
.
contractObj
.
contractSubjectType
-
1
].
contractLogoUrl
,
contractSealUrl
:
this
.
contractObj
.
typeData
[
this
.
contractObj
.
contractSubjectType
-
1
].
contractSealUrl
}
if
(
this
.
showGh
){
delete
targetParams
.
createDetailRequests
delete
targetParams
.
contractSubjectName
delete
targetParams
.
contractSubjectType
delete
targetParams
.
contractImportantClause
delete
targetParams
.
contractLogoUrl
delete
targetParams
.
contractSealUrl
}
else
{
delete
targetParams
.
openCostPrice
targetParams
.
checkPosition
=
this
.
checkPosition
?
0
:
1
...
...
@@ -575,6 +675,20 @@ export default {
},
checkCostPrice
(){
},
uploadSuccess
(
e
,
index
)
{
this
.
$set
(
this
.
contractObj
?.
typeData
[
index
],
e
.
attr
,
e
.
url
)
this
.
$forceUpdate
()
},
delImage
(
e
,
index
)
{
this
.
$set
(
this
.
contractObj
?.
typeData
[
index
],
e
.
attr
,
''
)
this
.
$forceUpdate
()
},
// 初始化合同主体数据
initContractObj
()
{
this
.
contractSubjectTypeList
.
forEach
(
el
=>
{
this
.
contractObj
.
typeData
.
push
({
contractSubjectName
:
''
,
contractImportantClause
:
''
,
contractLogoUrl
:
''
,
contractSealUrl
:
''
})
})
}
}
}
...
...
@@ -708,6 +822,62 @@ export default {
}
}
.contracting-parties
{
display
:
flex
;
align-items
:
flex-start
;
margin
:
12px
0
0
;
.label
{
display
:
inline-block
;
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
font-size
:
14px
;
color
:
#333333
;
text-align
:
right
;
&::before
{
content
:
'*'
;
color
:
#f56c6c
;
margin-right
:
4px
;
}
}
.contract_type_item
{
margin-bottom
:
12px
;
.contract_type_content
{
width
:
700px
;
padding
:
20px
20px
1px
;
background
:
#f9f9f9
;
margin
:
16px
0
;
.upload-tip
{
color
:
#999999
;
}
}
}
}
.contracting-parties
.contract_type_item
.contract_type_content
/
deep
/
.el-form-item
{
margin-bottom
:
20px
;
}
.contracting-parties
.contract_type_item
.contract_type_content
/
deep
/
.el-form-item__label
{
text-align
:
right
;
color
:
#333333
;
font-size
:
14px
;
font-weight
:
400
;
}
.contracting-parties
.contract_type_item
.contract_type_content
/
deep
/
.el-input--small
{
width
:
432px
;
margin-left
:
0
!important
;
}
.contracting-parties
.contract_type_item
.contract_type_content
/
deep
/
.el-form-item__content
{
.upload-ctnr
{
margin-left
:
0
!important
;
}
.upload-tip
{
color
:
#999999
;
margin-left
:
0
!important
;
}
}
.special-config
{
margin-bottom
:
0
!important
;
}
...
...
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