This commit is contained in:
zhutianqi
2021-11-30 17:40:49 +08:00
parent fe515ee5f7
commit 2453adb36f
5 changed files with 21 additions and 10 deletions
+12 -1
View File
@@ -22,13 +22,23 @@
v-if="reUpload || showUploadBtn">{{ uploadText || '重新上传' }}</el-button>
</ul>
<template style="margin-left: 105px;" v-else>
<ul class="file-file__wrap">
<li class="file-item"
v-for="(file, index) in showFileList"
:key="index"
:title="file.name"
@click="handlePreview(file)">
{{ file.name }}
</li>
</ul>
<el-button
size="small"
@click="clickButtonToUpload('opinionFileList')"
icon="el-icon-upload"
class="form-upload-btn"
>
{{ (value === 'null' || value === '' || value == null) && (!processModel || (processModel && !disabled)) ? '点击上传' : '查看已上传的文件' }}
<!-- {{ (value === 'null' || value === '' || value == null) && (!processModel || (processModel && !disabled)) ? '点击上传' : '查看已上传的文件' }}-->
上传
</el-button>
</template>
<el-dialog
@@ -152,6 +162,7 @@ export default {
}
},
mounted() {
this.getShowFileList()
if (this.showFileModel) {
this.getShowFileList()
}
@@ -126,7 +126,7 @@
</p>
<template v-for="(child, childIndex) in item.child2">
<p class="half">
<label style=" margin-right: 143px;">{{ child.attrName }}</label>
<label style=" margin-right: 150px;">{{ child.attrName }}</label>
<span>{{ child.value || '-' }}</span>
</p>
</template>
@@ -3282,7 +3282,9 @@ export default {
<style lang="less" scoped>
@import '~@/assets/styles/mixins';
@import '~@/assets/styles/style';
/deep/.el-collapse-item__header {
border-bottom: none !important;
}
/deep/ .decomposition-btn {
position: absolute;
top: 6px;
@@ -3294,7 +3296,6 @@ export default {
color: #07C160;
border: 1px solid #07C160;
background: rgba(1, 193, 96, 0.1);
/deep/ .icon-separate {
display: inline-block;
margin-right: 3px;
@@ -3598,7 +3599,7 @@ export default {
}
& > div:not(.modular-item-more) {
border-bottom: 1px solid #E5E5E5;
/*border-bottom: 1px solid #E5E5E5;*/
min-height: 43px;
line-height: 43px;
@@ -477,13 +477,12 @@
<!-- 新增样式 -->
<div class="demo-drawer-content">
<el-form
v-if="reloadAddForm"
v-if="reloadAddForm && modalshowflag"
ref="sarBussionessStandForm"
:model="sarBussionessStandEO"
:rules="sarBussionessStandRules"
class="label-input-form"
>
<!-- <custom-input-for-standards-->
<!-- :config="{-->
<!-- attrName: '代替企标编号',-->
@@ -1212,6 +1211,7 @@
>
<div class="demo-drawer-content">
<el-form :model="productModelAdd"
v-if="productModal"
ref="productModelAdd"
:rules="productRules"
class="label-input-form"
@@ -355,7 +355,7 @@
<!-- 新增样式 -->
<div class="demo-drawer-content">
<el-form
v-if="reloadAddForm"
v-if="reloadAddForm && modalshowflag"
ref="sarLawsStandEO"
:model="sarLawsStandEO"
:rules="sarLawsStandRules"
@@ -770,7 +770,7 @@
<!-- 新增样式 -->
<div class="demo-drawer-content">
<el-form
v-if="reloadAddForm"
v-if="reloadAddForm && modalshowflag"
ref="sarStandardsInfoForm"
:model="sarStandardsInfoEO"
:rules="sarStandardsInfoRules"
@@ -4272,7 +4272,6 @@ export default {
}
})
} else if (this.ocrList.length === 1 && type === '2'){
console.log('4228',this.ocrList)
this.selectStandardPro(this.ocrList[0], 'edit')
}
},