|
|
@ -341,12 +341,28 @@ |
|
|
|
</el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="评标情况" prop="evaluationSituation"> |
|
|
|
<el-input |
|
|
|
<!-- <el-input |
|
|
|
v-model="publicityForm.evaluationSituation" |
|
|
|
placeholder="请输入评标情况" |
|
|
|
/> |
|
|
|
/> --> |
|
|
|
<div style="border: 1px solid #ccc"> |
|
|
|
<Toolbar |
|
|
|
style="border-bottom: 1px solid #ccc" |
|
|
|
:editor="editor" |
|
|
|
:defaultConfig="toolbarConfig" |
|
|
|
:mode="mode" |
|
|
|
/> |
|
|
|
<Editor |
|
|
|
style="height: 300px; overflow-y: hidden" |
|
|
|
v-model="publicityForm.evaluationSituation" |
|
|
|
:default-value="333" |
|
|
|
:defaultConfig="editorConfig" |
|
|
|
:mode="mode" |
|
|
|
@onCreated="onCreated" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
@ -646,6 +662,7 @@ |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item> |
|
|
|
<template slot="label"> 评标情况 </template> |
|
|
|
<!-- <div v-html="infoMsg.evaluationSituation"></div> --> |
|
|
|
{{ this.infoMsg.evaluationSituation }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item> |
|
|
@ -790,12 +807,19 @@ import { |
|
|
|
import { listProposal } from "@/api/earlyStage/proposal"; |
|
|
|
import { getToken } from "@/utils/auth"; |
|
|
|
import { getFileStream } from "@/api/system/upload"; |
|
|
|
import { Editor, Toolbar } from "@wangeditor/editor-for-vue"; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "BidWinning", |
|
|
|
props: ["proNo"], |
|
|
|
components: { Editor, Toolbar }, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
editor: null, |
|
|
|
toolbarConfig: {}, |
|
|
|
editorConfig: { placeholder: "请输入评标情况" }, |
|
|
|
mode: "default", // or 'simple' |
|
|
|
|
|
|
|
// 遮罩层 |
|
|
|
loading: true, |
|
|
|
// 选中数组 |
|
|
@ -937,6 +961,11 @@ export default { |
|
|
|
created() { |
|
|
|
this.getList(); |
|
|
|
}, |
|
|
|
// beforeDestroy() { |
|
|
|
// const editor = this.editor; |
|
|
|
// if (editor == null) return; |
|
|
|
// editor.destroy(); // 组件销毁时,及时销毁编辑器 |
|
|
|
// }, |
|
|
|
// 父组件 利用axios请求得到的值 传送到子组件,要监听,否则初始渲染时为空 |
|
|
|
watch: { |
|
|
|
proNo: function (n, o) { |
|
|
@ -945,6 +974,9 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
onCreated(editor) { |
|
|
|
this.editor = Object.seal(editor); // 一定要用 Object.seal() ,否则会报错 |
|
|
|
}, |
|
|
|
chooseProject(data) { |
|
|
|
// console.log(444, data); |
|
|
|
this.publicityForm.projectCode = data.projectCode; |
|
|
@ -980,7 +1012,7 @@ export default { |
|
|
|
lotName: null, |
|
|
|
noticeName: null, |
|
|
|
bidOpenDate: null, |
|
|
|
evaluationSituation: null, |
|
|
|
evaluationSituation: "", |
|
|
|
tendererName: null, |
|
|
|
officeAddress: null, |
|
|
|
bidderContacts: null, |
|
|
@ -1280,6 +1312,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
<style src="@wangeditor/editor/dist/css/style.css"></style> |
|
|
|
<!-- <style lang="scss" scoped> |
|
|
|
::v-deep { |
|
|
|
.el-dialog { |
|
|
|