|
|
|
@ -505,13 +505,13 @@
|
|
|
|
|
<!-- 场景开放模版 -->
|
|
|
|
|
<div v-if="templateId == 6" class="form_item">公示、发文证明、专家评分表</div>
|
|
|
|
|
<el-upload
|
|
|
|
|
class="upload-demo"
|
|
|
|
|
:show-file-list="false"
|
|
|
|
|
action=""
|
|
|
|
|
accept=".xlsx,.XLSX,.XSL,.doc,.xls,.ppt,.pdf,.png,.jpg,.jpeg,.rar,.zip,.docx"
|
|
|
|
|
:http-request="handleFileUpload"
|
|
|
|
|
:file-list="fileList"
|
|
|
|
|
:on-remove="handleRemove">
|
|
|
|
|
class="upload-demo"
|
|
|
|
|
:show-file-list="false"
|
|
|
|
|
action=""
|
|
|
|
|
accept=".xlsx,.XLSX,.XSL,.doc,.xls,.ppt,.pdf,.png,.jpg,.jpeg,.rar,.zip,.docx"
|
|
|
|
|
:http-request="handleFileUpload"
|
|
|
|
|
:file-list="fileList"
|
|
|
|
|
:on-remove="handleRemove">
|
|
|
|
|
<el-button slot="trigger" size="small" type="primary">上传文件</el-button>
|
|
|
|
|
<div slot="tip" class="el-upload__tip">请上传格式为<span style="color: red;">doc/xls/ppt/pdf/png/jpg/jpeg/rar/zip/docx/xlsx</span>的文件</div>
|
|
|
|
|
</el-upload>
|
|
|
|
@ -1132,6 +1132,11 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
</div>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div class="operate_btn">
|
|
|
|
|
<el-button @click="goBack">返回</el-button>
|
|
|
|
|
<el-button @click="submitForm" >暂存</el-button>
|
|
|
|
|
<el-button type="success" @click="submitForm" class="btn">提交</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="right_content">
|
|
|
|
|
<div class="left_main">
|
|
|
|
@ -1159,11 +1164,11 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="operate_btn">
|
|
|
|
|
<!-- <div class="operate_btn">
|
|
|
|
|
<el-button @click="goBack">返回</el-button>
|
|
|
|
|
<el-button @click="submitForm" >暂存</el-button>
|
|
|
|
|
<el-button type="success" @click="submitForm" class="btn">提交</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
@ -1792,8 +1797,13 @@ export default {
|
|
|
|
|
form.append('file', file)
|
|
|
|
|
uploadFile(form).then(response => {
|
|
|
|
|
// this.fileList = []
|
|
|
|
|
// console.log(response,"response");
|
|
|
|
|
// console.log(file,"file");
|
|
|
|
|
this.fileList.push(file)
|
|
|
|
|
this.uploadList.push(response.data)
|
|
|
|
|
let data = {};
|
|
|
|
|
data.name = response.originalFilename;
|
|
|
|
|
data.url = response.url;
|
|
|
|
|
this.uploadList.push(data)
|
|
|
|
|
this.form.fileList = this.fileList
|
|
|
|
|
console.log('this.fileList: ', this.fileList);
|
|
|
|
|
})
|
|
|
|
@ -2122,6 +2132,7 @@ list-style: none; /* 清除列表项前的标记 */
|
|
|
|
|
.operate_btn {
|
|
|
|
|
text-align: center;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
padding-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form {
|
|
|
|
@ -2172,19 +2183,19 @@ list-style: none; /* 清除列表项前的标记 */
|
|
|
|
|
color: #000;
|
|
|
|
|
}
|
|
|
|
|
/* 悬浮 */
|
|
|
|
|
::v-deep .el-button:hover {
|
|
|
|
|
/* background: linear-gradient(#0165eb, #018ff2, #00b7f9) !important; */
|
|
|
|
|
background: linear-gradient(100deg, #f1d78c, #f1c19d) !important;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #606266;
|
|
|
|
|
}
|
|
|
|
|
// ::v-deep .el-button:hover {
|
|
|
|
|
// /* background: linear-gradient(#0165eb, #018ff2, #00b7f9) !important; */
|
|
|
|
|
// background: linear-gradient(100deg, #f1d78c, #f1c19d) !important;
|
|
|
|
|
// font-weight: bold;
|
|
|
|
|
// color: #606266;
|
|
|
|
|
// }
|
|
|
|
|
/*按钮点击*/
|
|
|
|
|
::v-deep .el-button:focus {
|
|
|
|
|
background: linear-gradient(100deg, #f1d78c, #f1c19d) !important;
|
|
|
|
|
/* background: linear-gradient(#0165eb, #018ff2, #00b7f9) !important; */
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #606266;
|
|
|
|
|
}
|
|
|
|
|
// ::v-deep .el-button:focus {
|
|
|
|
|
// background: linear-gradient(100deg, #f1d78c, #f1c19d) !important;
|
|
|
|
|
// /* background: linear-gradient(#0165eb, #018ff2, #00b7f9) !important; */
|
|
|
|
|
// font-weight: bold;
|
|
|
|
|
// color: #606266;
|
|
|
|
|
// }
|
|
|
|
|
.form_item {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 300px;
|
|
|
|
|