flat: style修改
This commit is contained in:
@@ -23,7 +23,17 @@ export default {
|
|||||||
required: false,
|
required: false,
|
||||||
default: 360
|
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() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -48,7 +58,8 @@ export default {
|
|||||||
selector: `#${this.tinymceId}`,
|
selector: `#${this.tinymceId}`,
|
||||||
language:'zh_CN',
|
language:'zh_CN',
|
||||||
plugins: plugins,
|
plugins: plugins,
|
||||||
toolbar: toolbar,
|
toolbar: this.visibleToolbar ? toolbar : false,
|
||||||
|
menubar: this.visibleMenubar ? true : false,
|
||||||
height: this.height, //编辑器高度
|
height: this.height, //编辑器高度
|
||||||
min_height: 400,
|
min_height: 400,
|
||||||
fontsize_formats: '12px 14px 16px 18px 24px 36px 48px 56px 72px',
|
fontsize_formats: '12px 14px 16px 18px 24px 36px 48px 56px 72px',
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ export default {
|
|||||||
},
|
},
|
||||||
canSelect: { type: Boolean, default: true },
|
canSelect: { type: Boolean, default: true },
|
||||||
loading: Boolean,
|
loading: Boolean,
|
||||||
|
|
||||||
prop: {
|
prop: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default() {
|
default() {
|
||||||
|
|||||||
@@ -253,19 +253,15 @@
|
|||||||
<el-tag style="margin: 4px 10px" v-for="(item, index) in row.labelName.split(',')" :key="index">{{ item }}</el-tag>
|
<el-tag style="margin: 4px 10px" v-for="(item, index) in row.labelName.split(',')" :key="index">{{ item }}</el-tag>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template slot="policyContentForm" slot-scope="{row}">
|
|
||||||
<div>
|
|
||||||
{{row.policyContent}}
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<template slot="guidelineContentForm" slot-scope="{row}">
|
<template slot="guidelineContentForm" slot-scope="{row}">
|
||||||
<div>
|
<div>
|
||||||
{{row.guidelineContent}}
|
<Tinymce v-model="row.guidelineContent" :visibleToolbar="false" :visibleMenubar="false"></Tinymce>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template slot="policyContentForm" slot-scope="{row}">
|
<template slot="policyContentForm" slot-scope="{row}">
|
||||||
<div>
|
<div>
|
||||||
{{row.policyContent}}
|
<Tinymce v-model="row.policyContent" :visibleToolbar="false" :visibleMenubar="false"></Tinymce>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -325,6 +321,7 @@ import { excelAccept } from "@/common/accept";
|
|||||||
import missionView from "../../mission/Table/missionView.vue";
|
import missionView from "../../mission/Table/missionView.vue";
|
||||||
import workView from "../../works/Table/missionView.vue"
|
import workView from "../../works/Table/missionView.vue"
|
||||||
import {serviceType} from "@/common/dic";
|
import {serviceType} from "@/common/dic";
|
||||||
|
import Tinymce from "@/components/Tinymce";
|
||||||
const page = {
|
const page = {
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
@@ -424,7 +421,7 @@ export default {
|
|||||||
excelForm: { isCovered: 1 },
|
excelForm: { isCovered: 1 },
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
components: { addGroups, transferGroups, Resume, ied, missionView, workView},
|
components: { addGroups, transferGroups, Resume, ied, missionView, workView, Tinymce},
|
||||||
watch: {},
|
watch: {},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters(["permission"]),
|
...mapGetters(["permission"]),
|
||||||
@@ -712,6 +709,7 @@ export default {
|
|||||||
label: '政策内容',
|
label: '政策内容',
|
||||||
prop: 'policyContent',
|
prop: 'policyContent',
|
||||||
slot: true,
|
slot: true,
|
||||||
|
hide: true,
|
||||||
formslot: true,
|
formslot: true,
|
||||||
span: 24,
|
span: 24,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -24,9 +24,9 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
"/api": {
|
"/api": {
|
||||||
// target: 'http://localhost:8000', // 本地服务接口地址
|
// 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.108:8000", // 本地
|
||||||
target: 'http://192.168.3.111:8000',
|
// target: 'http://192.168.3.111:8000',
|
||||||
ws: true,
|
ws: true,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|||||||
Reference in New Issue
Block a user