This commit is contained in:
lnn19986213 2024-01-16 14:44:35 +08:00
parent bf023ec4b0
commit f4c00c4fa7
6 changed files with 128 additions and 7 deletions

View File

@ -49,9 +49,9 @@ export default {
},
toolbar: {
type: [String, Array],
default: 'undo redo | forecolor backcolor bold italic underline strikethrough link | formatselect fontselect fontsizeselect | \
default: 'undo redo | forecolor backcolor bold italic underline strikethrough link image | formatselect fontselect fontsizeselect | \
alignleft aligncenter alignright alignjustify outdent indent lineheight | bullist numlist | \
image table preview | code selectall'
table preview | code selectall'
}
},
data () {
@ -72,6 +72,7 @@ export default {
resize: true,
elementpath: true,
content_style: "",
convert_urls: false,
images_upload_handler: async (blobInfo, success, failure) => {
const data = new FormData();
data.append("file", blobInfo.blob(), blobInfo.filename());

View File

@ -4,6 +4,12 @@
<div style="margin-left: 10px;">
<el-input v-model="value1" placeholder="请输入标题" :input-style="inputStyle" clearable></el-input>
</div>
<div style="margin-left: 10px;">
<el-select v-model="selectValue" placeholder="请选择">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</div>
<div style="margin-left: 10px;">
<div><el-button type="primary" icon="el-icon-search" @click="getData">搜索</el-button></div>
</div>
@ -40,10 +46,29 @@
</div>
</template>
</el-table-column>
<el-table-column prop="examineState" label="审核状态">
<template #default="scope">
<span v-if="scope.row.examineState == '0'" style="color:#409EFF;">未审核</span>
<span v-else-if="scope.row.examineState == '1'" style="color:#67C23A;">通过</span>
<span v-else-if="scope.row.examineState == '2'" style="color:#F56C6C;">拒绝</span>
</template>
</el-table-column>
<el-table-column prop="examineUser" label="审核人">
<template #default="scope">
<span v-if="scope.row.examineUser">{{ scope.row.examineUser }}</span>
<span v-else>暂无</span>
</template>
</el-table-column>
<el-table-column prop="examineDate" label="审核时间">
<template #default="scope">
<span v-if="scope.row.examineDate">{{ scope.row.examineDate }}</span>
<span v-else>暂无</span>
</template>
</el-table-column>
<el-table-column label="操作" width="100">
<template #default="scope">
<span style="font-size: 14px;color: #409eff;margin-right: 10px;cursor: pointer;"
@click.stop="getdetail('审核', scope.row.id)">审核</span>
@click.stop="getdetail('审核', scope.row.id)" v-if="scope.row.examineState == '0'">审核</span>
</template>
</el-table-column>
</el-table>
@ -111,6 +136,20 @@ export default {
},
multipleSelection: [],
ids: '',
selectValue: '',
options: [{
value: '',
label: '全部'
}, {
value: '1',
label: '已通过'
}, {
value: '2',
label: '未通过'
}, {
value: '0',
label: '未审核'
}],
}
},
created() {
@ -137,6 +176,7 @@ export default {
//
getData() {
let parame = {
examineState: this.selectValue,
title: this.value1,
page: this.currentPage,
size: this.pageSize

View File

@ -4,6 +4,12 @@
<div style="margin-left: 10px;">
<el-input v-model="value1" placeholder="请输入标题" :input-style="inputStyle" clearable></el-input>
</div>
<div style="margin-left: 10px;">
<el-select v-model="selectValue" placeholder="请选择">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</div>
<div style="margin-left: 10px;">
<div><el-button type="primary" icon="el-icon-search" @click="getData">搜索</el-button></div>
</div>
@ -25,10 +31,29 @@
<el-image :src="scope.row.cover"></el-image>
</template>
</el-table-column>
<el-table-column prop="examineState" label="审核状态">
<template #default="scope">
<span v-if="scope.row.examineState == '0'" style="color:#409EFF;">未审核</span>
<span v-else-if="scope.row.examineState == '1'" style="color:#67C23A;">通过</span>
<span v-else-if="scope.row.examineState == '2'" style="color:#F56C6C;">拒绝</span>
</template>
</el-table-column>
<el-table-column prop="examineUser" label="审核人">
<template #default="scope">
<span v-if="scope.row.examineUser">{{ scope.row.examineUser }}</span>
<span v-else>暂无</span>
</template>
</el-table-column>
<el-table-column prop="examineDate" label="审核时间">
<template #default="scope">
<span v-if="scope.row.examineDate">{{ scope.row.examineDate }}</span>
<span v-else>暂无</span>
</template>
</el-table-column>
<el-table-column label="操作" width="100">
<template #default="scope">
<span style="font-size: 14px;color: #409eff;margin-right: 10px;cursor: pointer;"
@click.stop="getdetail('审核', scope.row.id)">审核</span>
@click.stop="getdetail('审核', scope.row.id)" v-if="scope.row.examineState == '0'">审核</span>
</template>
</el-table-column>
</el-table>
@ -96,6 +121,20 @@ export default {
},
multipleSelection: [],
ids: '',
selectValue: '',
options: [{
value: '',
label: '全部'
}, {
value: '1',
label: '已通过'
}, {
value: '2',
label: '未通过'
}, {
value: '0',
label: '未审核'
}],
}
},
created() {
@ -123,6 +162,7 @@ export default {
//
getData() {
let parame = {
examineState: this.selectValue,
title: this.value1,
page: this.currentPage,
size: this.pageSize

View File

@ -4,6 +4,12 @@
<div style="margin-left: 10px;">
<el-input v-model="value1" placeholder="请输入标题" :input-style="inputStyle" clearable></el-input>
</div>
<div style="margin-left: 10px;">
<el-select v-model="selectValue" placeholder="请选择">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</div>
<div style="margin-left: 10px;">
<div><el-button type="primary" icon="el-icon-search" @click="getData">搜索</el-button></div>
</div>
@ -27,10 +33,29 @@
<span>{{ scope.row.typeName }} - {{ scope.row.typesName }}</span>
</template>
</el-table-column>
<el-table-column prop="examineState" label="审核状态">
<template #default="scope">
<span v-if="scope.row.examineState == '0'" style="color:#409EFF;">未审核</span>
<span v-else-if="scope.row.examineState == '1'" style="color:#67C23A;">通过</span>
<span v-else-if="scope.row.examineState == '2'" style="color:#F56C6C;">拒绝</span>
</template>
</el-table-column>
<el-table-column prop="examineUser" label="审核人">
<template #default="scope">
<span v-if="scope.row.examineUser">{{ scope.row.examineUser }}</span>
<span v-else>暂无</span>
</template>
</el-table-column>
<el-table-column prop="examineDate" label="审核时间">
<template #default="scope">
<span v-if="scope.row.examineDate">{{ scope.row.examineDate }}</span>
<span v-else>暂无</span>
</template>
</el-table-column>
<el-table-column label="操作" width="100">
<template #default="scope">
<span style="font-size: 14px;color: #409eff;margin-right: 10px;cursor: pointer;"
@click.stop="getdetail('审核', scope.row.id)">审核</span>
@click.stop="getdetail('审核', scope.row.id)" v-if="scope.row.examineState == '0'">审核</span>
</template>
</el-table-column>
</el-table>
@ -98,6 +123,20 @@ export default {
},
multipleSelection: [],
ids: '',
selectValue: '',
options: [{
value: '',
label: '全部'
}, {
value: '1',
label: '已通过'
}, {
value: '2',
label: '未通过'
}, {
value: '0',
label: '未审核'
}],
}
},
created() {
@ -124,6 +163,7 @@ export default {
//
getData() {
let parame = {
examineState: this.selectValue,
title: this.value1,
page: this.currentPage,
size: this.pageSize

View File

@ -37,7 +37,7 @@
<sc-icon-select v-else-if="formColumn.type == 'icon-select'" v-model="formData[formColumn.name]"
clearable></sc-icon-select>
<sc-editor v-else-if="formColumn.type == 'editor'" v-model="formData[formColumn.name]"
:placeholder="formColumn.placeholder" :height="350"></sc-editor>
:placeholder="formColumn.placeholder" :height="450"></sc-editor>
<sc-upload-multiple v-else-if="formColumn.type == 'images'"
:accept="formColumn.accept ? formColumn.accept : ''"

View File

@ -46,7 +46,7 @@
<el-input v-model="formState.userName" readonly />
</el-form-item>
<el-form-item label="简介" name="artAtt">
<sc-editor v-model="formState.artAtt" :height="350"></sc-editor>
<sc-editor v-model="formState.artAtt" :height="450"></sc-editor>
</el-form-item>
<el-form-item label="代表作" name="opus">
<div v-for="(item, index) in formState.opus" :key="index" style="margin-bottom: 20px;">