flat: style修改

This commit is contained in:
Apcallover
2024-03-13 09:46:47 +08:00
parent b2df37c5f9
commit 70035db613
4 changed files with 22 additions and 12 deletions

View File

@@ -23,7 +23,17 @@ export default {
required: false,
default: 360
},
value:{type:String,default:""}
value:{type:String,default:""},
visibleToolbar: {
type: Boolean,
required: false,
default: true
},
visibleMenubar: {
type: Boolean,
required: false,
default: true
}
},
data() {
return {
@@ -48,7 +58,8 @@ export default {
selector: `#${this.tinymceId}`,
language:'zh_CN',
plugins: plugins,
toolbar: toolbar,
toolbar: this.visibleToolbar ? toolbar : false,
menubar: this.visibleMenubar ? true : false,
height: this.height, //编辑器高度
min_height: 400,
fontsize_formats: '12px 14px 16px 18px 24px 36px 48px 56px 72px',

View File

@@ -94,6 +94,7 @@ export default {
},
canSelect: { type: Boolean, default: true },
loading: Boolean,
prop: {
type: Object,
default() {

View File

@@ -253,19 +253,15 @@
<el-tag style="margin: 4px 10px" v-for="(item, index) in row.labelName.split(',')" :key="index">{{ item }}</el-tag>
</div>
</template>
<template slot="policyContentForm" slot-scope="{row}">
<div>
{{row.policyContent}}
</div>
</template>
<template slot="guidelineContentForm" slot-scope="{row}">
<div>
{{row.guidelineContent}}
<Tinymce v-model="row.guidelineContent" :visibleToolbar="false" :visibleMenubar="false"></Tinymce>
</div>
</template>
<template slot="policyContentForm" slot-scope="{row}">
<div>
{{row.policyContent}}
<Tinymce v-model="row.policyContent" :visibleToolbar="false" :visibleMenubar="false"></Tinymce>
</div>
</template>
@@ -325,6 +321,7 @@ import { excelAccept } from "@/common/accept";
import missionView from "../../mission/Table/missionView.vue";
import workView from "../../works/Table/missionView.vue"
import {serviceType} from "@/common/dic";
import Tinymce from "@/components/Tinymce";
const page = {
pageSize: 10,
currentPage: 1,
@@ -424,7 +421,7 @@ export default {
excelForm: { isCovered: 1 },
};
},
components: { addGroups, transferGroups, Resume, ied, missionView, workView},
components: { addGroups, transferGroups, Resume, ied, missionView, workView, Tinymce},
watch: {},
computed: {
...mapGetters(["permission"]),
@@ -712,6 +709,7 @@ export default {
label: '政策内容',
prop: 'policyContent',
slot: true,
hide: true,
formslot: true,
span: 24,
},

View File

@@ -24,9 +24,9 @@ module.exports = {
proxy: {
"/api": {
// target: 'http://localhost:8000', // 本地服务接口地址
// target: "http://39.98.184.58:8000", // 阿里云后台地址
target: "http://39.98.184.58:8000", // 阿里云后台地址
// target: "http://192.168.3.108:8000", // 本地
target: 'http://192.168.3.111:8000',
// target: 'http://192.168.3.111:8000',
ws: true,
changeOrigin: true,
pathRewrite: {