@ -9,205 +9,148 @@
< div class = "listTitle" >
< span > 质量终身责任制落实 < / span >
< / div >
< el -form ref = "form" :model ="form" :rules ="rules" label -width = " 250px " >
< el -form -item
label = "项目法人单位工程质量终身责任承诺书"
prop = "enginerQualityAttachment"
< el -descriptions
class = "margin-top"
: column = "2"
border
: labelStyle = " {
'text-align' : 'left' ,
width : '300px' ,
height : '50px' ,
} "
: contentStyle = "{ minWidth: '250px' }"
>
<!-- < el -input
v - model = "form.enginerQualityAttachment"
placeholder = "请输入项目法人单位工程质量终身责任承诺书"
/ > - - >
< el -upload
class = "upload-demo"
action = "thinking/common/upload"
: headers = "headers"
: on - preview = "handlePreview"
: on - remove = "handleRemove1"
: before - remove = "beforeRemove"
multiple
: on - success = "submitUpload1"
: file - list = "fileList1"
< el -descriptions -item span = "2" >
< template slot = "label" > 项目法人单位工程质量终身责任承诺书 < / template >
< template v-if ="this.form.enginerQualityAttachment" >
< div
v - for = " ( item , index ) in JSON . parse (
this . form . enginerQualityAttachment
) "
: key = "item + index"
>
< el -button size = "small" type = "primary" plain >
< i class = "el-icon-upload el-icon--right" > < / i >
点击上传
< / e l - b u t t o n >
< div slot = "tip" class = "el-upload__tip" >
支持jpg / png / pdf / word / excel文件等 , 不超过100M
{ { item . name } }
< i
class = "el-icon-download"
@ click = "downloadFile2(item, index)"
style = "cursor: pointer"
> < / i >
< / div >
< / e l - u p l o a d >
< / e l - f o r m - i t e m >
< el -form -item
label = "设计单位工程质量终身责任承诺书"
prop = "designUnitAttachment"
>
<!-- < el -input
v - model = "form.designUnitAttachment"
placeholder = "请输入设计单位工程质量终身责任承诺书"
/ > - - >
< el -upload
class = "upload-demo"
action = "thinking/common/upload"
: headers = "headers"
: on - preview = "handlePreview"
: on - remove = "handleRemove2"
: before - remove = "beforeRemove"
multiple
: on - success = "submitUpload2"
: file - list = "fileList2"
< / template >
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item span = "2" >
< template slot = "label" > 设计单位工程质量终身责任承诺书 < / template >
< template v-if ="this.form.designUnitAttachment" >
< div
v - for = "(item, index) in JSON.parse(this.form.designUnitAttachment)"
: key = "item + index"
>
< el -button size = "small" type = "primary" plain >
< i class = "el-icon-upload el-icon--right" > < / i >
点击上传
< / e l - b u t t o n >
< div slot = "tip" class = "el-upload__tip" >
支持jpg / png / pdf / word / excel文件等 , 不超过100M
{ { item . name } }
< i
class = "el-icon-download"
@ click = "downloadFile2(item, index)"
style = "cursor: pointer"
> < / i >
< / div >
< / e l - u p l o a d >
< / e l - f o r m - i t e m >
< el -form -item
label = "勘测单位工程质量终身责任承诺书"
prop = "surveyUnitAttachment"
>
<!-- < el -input
v - model = "form.surveyUnitAttachment"
placeholder = "请输入勘测单位工程质量终身责任承诺书"
/ > - - >
< el -upload
class = "upload-demo"
action = "thinking/common/upload"
: headers = "headers"
: on - preview = "handlePreview"
: on - remove = "handleRemove3"
: before - remove = "beforeRemove"
multiple
: on - success = "submitUpload3"
: file - list = "fileList3"
< / template >
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item span = "2" >
< template slot = "label" > 勘测单位工程质量终身责任承诺书 < / template >
< template v-if ="this.form.surveyUnitAttachment" >
< div
v - for = "(item, index) in JSON.parse(this.form.surveyUnitAttachment)"
: key = "item + index"
>
< el -button size = "small" type = "primary" plain >
< i class = "el-icon-upload el-icon--right" > < / i >
点击上传
< / e l - b u t t o n >
< div slot = "tip" class = "el-upload__tip" >
支持jpg / png / pdf / word / excel文件等 , 不超过100M
{ { item . name } }
< i
class = "el-icon-download"
@ click = "downloadFile2(item, index)"
style = "cursor: pointer"
> < / i >
< / div >
< / e l - u p l o a d >
< / e l - f o r m - i t e m >
< el -form -item
label = "施工单位工程质量终身责任承诺书"
prop = "constructionUnitAttachment"
>
<!-- < el -input
v - model = "form.constructionUnitAttachment"
placeholder = "请输入施工单位工程质量终身责任承诺书"
/ > - - >
< el -upload
class = "upload-demo"
action = "thinking/common/upload"
: headers = "headers"
: on - preview = "handlePreview"
: on - remove = "handleRemove4"
: before - remove = "beforeRemove"
multiple
: on - success = "submitUpload4"
: file - list = "fileList4"
< / template >
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item span = "2" >
< template slot = "label" > 施工单位工程质量终身责任承诺书 < / template >
< template v-if ="this.form.constructionUnitAttachment" >
< div
v - for = " ( item , index ) in JSON . parse (
this . form . constructionUnitAttachment
) "
: key = "item + index"
>
< el -button size = "small" type = "primary" plain >
< i class = "el-icon-upload el-icon--right" > < / i >
点击上传
< / e l - b u t t o n >
< div slot = "tip" class = "el-upload__tip" >
支持jpg / png / pdf / word / excel文件等 , 不超过100M
{ { item . name } }
< i
class = "el-icon-download"
@ click = "downloadFile2(item, index)"
style = "cursor: pointer"
> < / i >
< / div >
< / e l - u p l o a d >
< / e l - f o r m - i t e m >
< el -form -item
label = "监理单位工程质量终身责任承诺书"
prop = "supervisionUnitAttachment"
>
<!-- < el -input
v - model = "form.supervisionUnitAttachment"
placeholder = "请输入监理单位工程质量终身责任承诺书"
/ > - - >
< el -upload
class = "upload-demo"
action = "thinking/common/upload"
: headers = "headers"
: on - preview = "handlePreview"
: on - remove = "handleRemove5"
: before - remove = "beforeRemove"
multiple
: on - success = "submitUpload5"
: file - list = "fileList5"
< / template >
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item span = "2" >
< template slot = "label" > 监理单位工程质量终身责任承诺书 < / template >
< template v-if ="this.form.supervisionUnitAttachment" >
< div
v - for = " ( item , index ) in JSON . parse (
this . form . supervisionUnitAttachment
) "
: key = "item + index"
>
< el -button size = "small" type = "primary" plain >
< i class = "el-icon-upload el-icon--right" > < / i >
点击上传
< / e l - b u t t o n >
< div slot = "tip" class = "el-upload__tip" >
支持jpg / png / pdf / word / excel文件等 , 不超过100M
{ { item . name } }
< i
class = "el-icon-download"
@ click = "downloadFile2(item, index)"
style = "cursor: pointer"
> < / i >
< / div >
< / e l - u p l o a d >
< / e l - f o r m - i t e m >
< el -form -item
label = "质量检测单位工程质量终身责任承诺书"
prop = "inspectionUnitAttachment"
>
<!-- < el -input
v - model = "form.inspectionUnitAttachment"
placeholder = "请输入质量检测单位工程质量终身责任承诺书"
/ > - - >
< el -upload
class = "upload-demo"
action = "thinking/common/upload"
: headers = "headers"
: on - preview = "handlePreview"
: on - remove = "handleRemove6"
: before - remove = "beforeRemove"
multiple
: on - success = "submitUpload6"
: file - list = "fileList6"
< / template >
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item span = "2" >
< template slot = "label" > 质量检测单位工程质量终身责任承诺书 < / template >
< template v-if ="this.form.inspectionUnitAttachment" >
< div
v - for = " ( item , index ) in JSON . parse (
this . form . inspectionUnitAttachment
) "
: key = "item + index"
>
< el -button size = "small" type = "primary" plain >
< i class = "el-icon-upload el-icon--right" > < / i >
点击上传
< / e l - b u t t o n >
< div slot = "tip" class = "el-upload__tip" >
支持jpg / png / pdf / word / excel文件等 , 不超过100M
{ { item . name } }
< i
class = "el-icon-download"
@ click = "downloadFile2(item, index)"
style = "cursor: pointer"
> < / i >
< / div >
< / e l - u p l o a d >
< / e l - f o r m - i t e m >
< el -form -item label = "永久性责任标牌" prop = "responsibilitySignAttachment" >
<!-- < el -input
v - model = "form.responsibilitySignAttachment"
placeholder = "请输入永久性责任标牌"
/ > - - >
< el -upload
class = "upload-demo"
action = "thinking/common/upload"
: headers = "headers"
: on - preview = "handlePreview"
: on - remove = "handleRemove7"
: before - remove = "beforeRemove"
multiple
: on - success = "submitUpload7"
: file - list = "fileList7"
< / template >
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item span = "2" >
< template slot = "label" > 永久性责任标牌 < / template >
< template v-if ="this.form.responsibilitySignAttachment" >
< div
v - for = " ( item , index ) in JSON . parse (
this . form . responsibilitySignAttachment
) "
: key = "item + index"
>
< el -button size = "small" type = "primary" plain >
< i class = "el-icon-upload el-icon--right" > < / i >
点击上传
< / e l - b u t t o n >
< div slot = "tip" class = "el-upload__tip" >
支持jpg / png / pdf / word / excel文件等 , 不超过100M
< / div >
< / e l - u p l o a d >
< / e l - f o r m - i t e m >
< / e l - f o r m >
< div class = "dialog-footer" >
< el -button type = "primary" @click ="submitForm" > 确 定 < / el -button >
< el -button @click ="cancel" > 取 消 < / el -button >
{ { item . name } }
< i
class = "el-icon-download"
@ click = "downloadFile2(item, index)"
style = "cursor: pointer"
> < / i >
< / div >
< / template >
< / e l - d e s c r i p t i o n s - i t e m >
< / e l - d e s c r i p t i o n s >
< / div >
< / template >
< script >