Commit 73707102 authored by 徐俊's avatar 徐俊

xujun

parent 3fb4574f
...@@ -51,9 +51,8 @@ export default { ...@@ -51,9 +51,8 @@ export default {
statusbar: false, statusbar: false,
height: 600, height: 600,
plugins: 'code advlist autolink link image lists preview table wordcount', plugins: 'code advlist autolink link image lists preview table wordcount',
toolbar: `undo redo | styleselect | fontsizeselect fontselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist | image toolbar: `undo redo | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist | image | wordcount`,
| table tabledelete | tableprops tablerowprops tablecellprops | tableinsertrowbefore tableinsertrowafter tabledeleterow //| styleselect | fontsizeselect fontselect | table tabledelete | tableprops tablerowprops tablecellprops | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol
| tableinsertcolbefore tableinsertcolafter tabledeletecol | wordcount`,
// 初始化完成回调 // 初始化完成回调
init_instance_callback: (editor) => { init_instance_callback: (editor) => {
if (_this.value) { if (_this.value) {
......
...@@ -412,7 +412,7 @@ ...@@ -412,7 +412,7 @@
<a-row type="flex" class="row_center"> <a-row type="flex" class="row_center">
<a-col :span="24" class="bg-gray"> <a-col :span="24" class="bg-gray">
<a-form-model-item prop="researchCondition" :rules="{ required: true, message: '*', trigger: 'blur',}"> <a-form-model-item prop="researchCondition" :rules="{ required: true, message: '*', trigger: 'blur',}">
<a-textarea placeholder="研究条件(限1000字)" v-model="formData.researchCondition" :maxLength="1000" style="width: 80%; height: 160px; margin-top: 12px" /> <my-editor v-model="formData.researchCondition" id="my_researchCondition" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -530,11 +530,12 @@ import scientificGainEdit from '@/views/report/talent/components/scientificGainE ...@@ -530,11 +530,12 @@ import scientificGainEdit from '@/views/report/talent/components/scientificGainE
import membersEdit from '@/views/report/talent/components/membersEdit' import membersEdit from '@/views/report/talent/components/membersEdit'
import budgetEdit from '@/views/report/talent/components/budgetEdit' import budgetEdit from '@/views/report/talent/components/budgetEdit'
import fileEdit from '@/views/report/talent/components/fileEdit' import fileEdit from '@/views/report/talent/components/fileEdit'
import myEditor from '@/views/components/common/myEditor'
export default { export default {
name: "talentEdit", name: "talentEdit",
components: { components: {
paraRadio, paraCheck, cascaderSelect, resumeEdit, scientificGainEdit, membersEdit, budgetEdit, fileEdit paraRadio, paraCheck, cascaderSelect, resumeEdit, scientificGainEdit, membersEdit, budgetEdit, fileEdit, myEditor
}, },
props: { props: {
value: { value: {
......
...@@ -346,7 +346,7 @@ ...@@ -346,7 +346,7 @@
<a-row type="flex"> <a-row type="flex">
<a-col :span="24"> <a-col :span="24">
<div class="special-middle"> <div class="special-middle">
<div v-html="toTextarea(value.researchCondition)"></div> <div v-html="value.researchCondition"></div>
</div> </div>
</a-col> </a-col>
</a-row> </a-row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment