Commit 8ebf869f authored by 刘怀志's avatar 刘怀志

文章管理暂存-11

parent 074e70a9
......@@ -840,6 +840,7 @@ export default {
identity: '',
deptId: ''
}
this.roleFunction()
this.handleQuery()
},
// 多选框选中数据
......
......@@ -5,7 +5,7 @@
<div class="search" style="border-bottom: 14px solid #f4f4f4">
<el-form ref="queryForm" style="padding: 0 0 0 10px" :model="queryParams" :inline="true">
<el-form-item label="所属商家:" prop="unitId">
<el-select v-model="queryParams.unitId" :disabled="!queryShop" filterable placeholder="请选择所属商家" style="width: 100%">
<el-select v-model="queryParams.unitId" :disabled="!queryShop" clearable filterable placeholder="请选择所属商家" style="width: 100%">
<el-option
v-for="(item,index) in deptList"
:key="index"
......@@ -51,7 +51,7 @@
:size="commonField.smallSize"
@click="handleAdd"
>{{ commonField.addName }}</el-button>
<!-- //新增按钮-->
<!-- //新增按钮 v-->
<!-- <el-button-->
<!-- :class="commonField.addClass"-->
<!-- :type="commonField.typePrimary"-->
......@@ -206,7 +206,7 @@
v-model="form.lessonType"
filterable
style="width: 400px"
placeholder="请选择课程类型"
placeholder="请选择课 程类型"
@change="handleLessonTypeChange"
>
<el-option
......@@ -1335,6 +1335,7 @@ export default {
unitId: '',
title: ''
}
this.roleFunction()
this.loadData()
},
// 题目type转换
......
......@@ -505,6 +505,7 @@ export default {
}
this.dateRange = []
this.roleFunction()
this.loadData()
},
handleChangeTime() {
......
......@@ -131,7 +131,7 @@
prop="details"
:rules="{ required: !(controls.isOperation === '3'), message: '请输入新闻内容', trigger: 'blur' }"
>
<vue-editor id="editorsay" v-model="form.details" :useCustomImageHandler="true" :editor-toolbar="customToolbar" :disabled="secondFromDisabled" @blur="queryRules" @image-added="handleImageAdded" />
<vue-editor id="editorsay" v-model="form.details" :use-custom-image-handler="true" :editor-toolbar="customToolbar" :disabled="secondFromDisabled" @blur="queryRules" @image-added="handleImageAdded" />
</el-form-item>
</el-col>
......@@ -142,7 +142,7 @@
</div>
<!-- 按钮区 -->
<div class="btn-box">
<!-- <el-button v-if="controls.isOperation !== '3'" style="width: 80px; height: 40px;font-size: 16px; width: 138px;height: 38px " @click="submit">保存
<!-- <el-button v-if="controls.isOperation !== '3'" style="width: 80px; height: 40px;font-size: 16px; width: 138px;height: 38px " @click="submit">保存
</el-button>-->
<el-button v-if="controls.isOperation !== '3'" style="width: 80px; height: 40px;font-size: 16px; width: 138px;height: 38px " type="primary" :loading="pubLoading" @click="publish">发布
</el-button>
......@@ -158,7 +158,7 @@ import {
} from '@/api/contentManagement/sysContentNewsInformation'
import { VueEditor } from 'vue2-editor'
import { uploadPublic } from '@/api/contentManagement/sysContest'
import {mapGetters} from "vuex";
import { mapGetters } from 'vuex'
export default {
components: {
......
......@@ -444,6 +444,7 @@ export default {
}
this.dateRange = []
this.roleFunction()
this.loadData()
},
handleChangeTime() {
......
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