| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891 |
- <template>
- <div class="context">
- <div class="panel">
- <h5>课目管理</h5>
- </div>
- <div class="change">
- <el-button type="primary" @click="addLesson" v-if="userLevel != 4">新增课程</el-button>
- <el-button @click="lessonStudenChange" v-if="userLevel != 4">增删课程会员</el-button>
- <el-button @click="delList" v-if="userLevel != 4">删除</el-button>
- <el-button @click="query" :disabled="serachBtnStatus">刷新</el-button>
- </div>
- <div class="table">
- <el-table
- :data="tableData"
- border
- is-horizontal-resize
- :default-sort="{prop: 'date', order: 'descending'}"
- element-loading-background="rgba(0, 0, 0, 0.8)"
- @selection-change="handleSelectionChange"
- @current-change="clickChange"
- >
- >
- <el-table-column label="选择" width="55">
- <template slot-scope="scope">
- <el-radio v-model="tableRadio" :label="scope.row"><i></i></el-radio>
- </template>
- </el-table-column>
- <el-table-column
- type="index"
- label="序号"
- align="center"
- width="50">
- </el-table-column>
- <el-table-column
- prop="ClassSelf.ClassName"
- label="课程名称"
- >
- </el-table-column>
- <el-table-column
- prop="ClassSelf.ShopId"
- label="是否跨店"
- width="110"
- align="center"
- sortable
- >
- <template slot-scope="scope">
- <span v-if="scope.row.ClassSelf.ShopId != 0">否</span>
- <span v-if="scope.row.ClassSelf.ShopId == 0">是</span>
- </template>
- </el-table-column>
- <el-table-column
- prop="ClassSelf.ShopId"
- label="课程类型"
- width="110"
- align="center"
- sortable
- >
- <template slot-scope="scope">
- <span v-if="scope.row.ClassSelf.ClassType != 0">占用课时</span>
- <span v-if="scope.row.ClassSelf.ClassType == 0">不占课时</span>
- </template>
- </el-table-column>
- <el-table-column
- prop="ClassSelf.ConsumeHour"
- label="消耗课时"
- sortable
- >
- </el-table-column>
- <el-table-column
- prop="ClassSelf.TopLimit"
- label="建议上课人数"
- sortable
- >
- </el-table-column>
- <el-table-column
- prop="ClassSelf.WxVisible"
- label="微信可见"
- v-if="userLevel != 4"
- >
- <template slot-scope="scope">
- <el-switch
- v-model="scope.row.ClassSelf.WxVisible"
- :active-value="1"
- :inactive-value="0"
- active-color="#409EFF"
- inactive-color="#D9D9D9"
- @change=changeWechat($event,scope.row.ClassSelf)
- >
- </el-switch>
- </template>
- </el-table-column>
- <el-table-column
- prop="ClassSelf.ClassColor"
- label="课程颜色"
- width="110"
- v-if="userLevel != 4"
- >
- <template slot-scope="scope">
- <el-color-picker :predefine="predefineColors" v-model="scope.row.ClassSelf.ClassColor"
- @change="changeColor(scope.row.ClassSelf.ClassColor,scope.row.ClassSelf)"></el-color-picker>
- </template>
- </el-table-column>
- <el-table-column
- prop="ClassSelf.Memo"
- label="备注">
- <template slot-scope="scope">
- <el-popover
- placement="top"
- title="标题"
- width="200"
- trigger="hover"
- :content="scope.row.ClassSelf.Memo">
- <span slot="reference"
- v-if="scope.row.ClassSelf.Memo.length > 6">{{ scope.row.ClassSelf.Memo.substr(0, 6) }} ....</span>
- </el-popover>
- <span v-if="scope.row.ClassSelf.Memo.length <= 6">{{ scope.row.ClassSelf.Memo }}</span>
- </template>
- </el-table-column>
- <el-table-column
- prop="ClassSelf.ClassId"
- label="操作"
- >
- <template slot-scope="scope">
- <el-button type="text" @click="editLesson(scope.row.ClassSelf)" v-if="userLevel != 4">编辑
- </el-button>
- <el-button type="text" @click="Lessonmember(scope.row.Userlist)">课程会员</el-button>
- </template>
- </el-table-column>
- </el-table>
- <br>
- <el-pagination
- background
- :total="pageination.total"
- :page-size="pageination.pageItem"
- @current-change="pageChange"
- ></el-pagination>
- </div>
- <el-dialog :title="dialogTitle" :visible.sync="dialogLesson" :width="form.btnType == 0? '1200px':'650px'">
- <div>
- <div class="pull-left">
- <el-form ref="form" :model="form" label-width="160px">
- <el-form-item label="课程名称" :required="true">
- <el-input v-model="form.ClassName"></el-input>
- </el-form-item>
- <el-form-item label="消耗课时">
- <el-input-number v-model="form.ConsumeHour" :min="0" :max="99999"
- label="(天)"></el-input-number>
- </el-form-item>
- <el-form-item label="建议上课人数">
- <el-input-number v-model="form.TopLimit" :min="0" :max="99999"
- label="(天)"></el-input-number>
- </el-form-item>
- <el-form-item label="微信可见" v-if="form.btnType == 0">
- <el-switch
- v-model="form.wxVisible"
- :active-value="1"
- :inactive-value="0"
- active-color="#409EFF"
- inactive-color="#D9D9D9">
- </el-switch>
- </el-form-item>
- <el-form-item label="是否可选课">
- <el-switch
- v-model="form.ClassType"
- :active-value="1"
- :inactive-value="0"
- active-color="#409EFF"
- inactive-color="#D9D9D9">
- </el-switch>
- </el-form-item>
- <el-form-item label="是否跨店">
- <el-switch
- v-model="form.allUse"
- :active-value="0"
- :inactive-value="1"
- active-color="#409EFF"
- inactive-color="#D9D9D9"
- >
- <!--:disabled="true"-->
- </el-switch>
- </el-form-item>
- <el-form-item label="课程颜色">
- <el-color-picker :predefine="predefineColors" v-model="form.ClassColor"></el-color-picker>
- </el-form-item>
- <el-form-item label="备注">
- <el-input v-model="form.Memo"></el-input>
- </el-form-item>
- </el-form>
- </div>
- <div class="pull-right" v-if="form.btnType == 0">
- <el-form ref="form" :model="form" label-width="160px">
- <el-form-item label="课程会员">
- <el-transfer filterable v-model="form.dialogValue" :data="form.dialogdata"
- :titles="['全部会员','已选会员']"></el-transfer>
- </el-form-item>
- </el-form>
- </div>
- </div>
- <div class="dialogFooter">
- <el-button type="primary" size="small" v-if="form.btnType == 0" @click="confirmAddLesson">确定</el-button>
- <el-button type="primary" size="small" v-if="form.btnType == 1" @click="confirmEditLesson">确定
- </el-button>
- <el-button size="small" @click="dialogLesson = false">取消</el-button>
- </div>
- </el-dialog>
- <el-dialog title="增删课程会员" :visible.sync="dialogVisible" width="650px">
- <div class="dialogTitle">
- <span>基础功能</span>
- </div>
- <div>
- <el-transfer filterable v-model="dialogValue" :data="form.dialogdata"
- :titles="['会员列表', '已添加会员']"></el-transfer>
- </div>
- <div class="dialogFooter">
- <el-button type="primary" size="small" @click="cofirmClassVipuserEdit">确定</el-button>
- <el-button @click=" dialogVisible = false" size="small">取消</el-button>
- </div>
- </el-dialog>
- <el-dialog title="课程会员" :visible.sync="dialogTableVisible" style="overflow-y: scroll">
- <el-table :data="gridData">
- <el-table-column property="Name" label="姓名" width="200"></el-table-column>
- <el-table-column property="Phone" label="手机"></el-table-column>
- <el-table-column property="VipType" label="会员类型">
- <template slot-scope="scope">
- <span v-if="scope.row.VipType == 1">年费会员</span>
- <span v-if="scope.row.VipType == 2">充值会员</span>
- </template>
- </el-table-column>
- <el-table-column property="ExpTime" label="有效期" :formatter="filterFmtDate"></el-table-column>
- </el-table>
- </el-dialog>
- </div>
- </template>
- <script>
- import Global from '../Global.js'
- import {
- ClassAdd,
- ClassEdit,
- ClassListQuery,
- ClassColorEdit,
- ClassStatusEdit,
- VipUserListQuery,
- ClassVisibleStatusEdit,
- ClassVipuserQuery,
- ClassVipuserEdit,
- testTable,
- testSelect
- } from "../api/getApiRes";
- let qs = require('qs');
- export default {
- data() {
- return {
- serachBtnStatus: false,
- dialogLesson: false,//新增课程
- dialogVisible: false,
- dialogTableVisible: false,
- dialogTitle: '',
- dialogdata: [],
- gridData: [],
- dialogValue: [],
- allTableData: [],
- // panel 配置项目
- panel: {
- usercode: '',
- username: '',
- compname: '',
- keyword: '',
- USERCODE: '',
- taskstatus: 99,
- tableData: [],
- allTableData: [],
- draw: 1,
- start: 0,
- recordsTotal: 0,
- limit: '10',
- multipleSort: false,
- loading: false,
- fileList: [],
- multipleSelection: [],
- detectedmac: '',
- options: [
- {value: 99, label: '全部'},
- {value: 1, label: '进行中'},
- {value: 2, label: '已完成'},
- ],
- time1: globalBt(),
- },
- form: {
- ClassName: "",
- ConsumeHour: 0,
- TopLimit: 0,
- ClassType: 0,
- wxVisible: 1,
- ClassColor: "#ffffff",
- teacherId: "",
- classId: "",
- allUse: "",
- Memo: "",
- dialogdata: [],//穿梭待选
- dialogValue: [],//穿梭已选
- },
- multipleSelection: [],
- pageination: {
- pageItem: 100,
- pageoptions: pageOptions(),
- total: 100,
- pageIndex: 1,
- },
- tableData: [],
- tableRadio: [],
- userLevel: localStorage.userLevel,
- predefineColors: [
- '#8ABFF7',
- '#73C1BC',
- '#ADE5C7',
- '#CBECF0',
- '#DCEDC8',
- '#EBF2DB',
- '#C9D1FD',
- '#C6ACF4',
- '#E2B5FA',
- '#E1BEE7',
- '#FFA5D9',
- '#F89A9A',
- '#F2B1AC',
- '#F8BBD0',
- '#FFCDD2',
- '#FCC66C',
- '#D6B9A7',
- '#D9D9C4',
- '#FCECBE',
- '#E9E9E9',
- '#FFA5FC',
- '#B7BEFF',
- '#91E5FF',
- '#97FFF8',
- '#A7FFB8',
- '#75FF65',
- '#FFFF94',
- '#FFE0AC',
- '#FFB770',
- '#FFCCB5'
- ]
- }
- },
- mounted() {
- this.panelSelect();
- this.getTableQuery();
- },
- methods: {
- clickChange(item) {
- this.tableRadio = item
- },
- // 课程会员增删
- cofirmClassVipuserEdit() {
- let that = this;
- let userlist = that.dialogValue.toString();
- let param = {
- token: localStorage.token,
- classId: this.form.classId,
- userlist: userlist,
- };
- let postdata = qs.stringify(param);
- ClassVipuserEdit(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- that.$message({
- showClose: true,
- message: '接口修改成功!',
- type: 'success'
- });
- that.dialogVisible = false;
- that.getTableQuery();
- } else {
- that.$message.error(json.Memo + '错误码:' + json.Code);
- }
- })
- },
- // 确认添加课程
- confirmAddLesson() {
- let that = this;
- // checkNum
- if (!that.form.ClassName) {
- this.$message.error('错了哦,课程名称不能为空');
- return false
- }
- if (that.form.ClassName.length > 8) {
- this.$message.error('错了哦,课程名称字数超过8个字');
- return false
- }
- if (that.form.Memo) {
- if (that.form.Memo.length > 200) {
- this.$message.error('错了哦,备注字数超过200个字');
- return false
- }
- }
- // 通用是0,非通用是shopid
- let shopId = that.form.allUse == 0 ? 0 : localStorage.ShopId;
- let userlist = that.form.dialogValue.toString();
- let param = {
- token: localStorage.token,
- shopId: shopId,
- className: that.form.ClassName,
- consumeHour: that.form.ConsumeHour,
- topLimit: that.form.TopLimit,
- classType: that.form.ClassType,
- wxVisible: that.form.wxVisible,
- classColor: that.form.ClassColor,
- userlist: userlist,
- teacherId: 0,//预留
- memo: that.form.Memo,
- };
- let postdata = qs.stringify(param);
- ClassAdd(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- // 关闭弹窗
- that.dialogLesson = false;
- // 重载列表
- that.getTableQuery();
- that.$message({
- showClose: true,
- message: '添加课程成功!',
- type: 'success'
- });
- } else {
- that.$message.error(json.Memo + '错误码:' + json.Code);
- }
- })
- },
- confirmEditLesson() {
- let that = this;
- // checkNum
- if (!that.form.ClassName) {
- this.$message.error('错了哦,课程名称不能为空');
- return false
- }
- if (that.form.ClassName.length > 8) {
- this.$message.error('错了哦,课程名称字数超过8个字');
- return false
- }
- if (that.form.Memo) {
- if (that.form.Memo.length > 200) {
- this.$message.error('错了哦,备注字数超过200个字');
- return false
- }
- }
- let teacherId = that.form.dialogValue ? that.form.dialogValue.toString() : '';
- // 通用是0,非通用是shopid
- let shopId = that.form.allUse == 0 ? 0 : localStorage.ShopId;
- let param = {
- token: localStorage.token,
- shopId: shopId,
- classId: that.form.classId,
- className: that.form.ClassName,
- consumeHour: that.form.ConsumeHour,
- topLimit: that.form.TopLimit,
- classType: that.form.ClassType,
- wxVisible: that.form.wxVisible,
- classColor: that.form.ClassColor,
- teacherId: teacherId,
- memo: that.form.Memo,
- };
- let postdata = qs.stringify(param);
- ClassEdit(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- // 关闭弹窗
- that.dialogLesson = false;
- // 重载列表
- that.getTableQuery();
- that.$message({
- showClose: true,
- message: '会员课程调整成功!',
- type: 'success'
- });
- } else {
- that.$message.error(json.Memo + '错误码:' + json.Code);
- }
- })
- },
- // 新增课程
- addLesson() {
- this.form.btnType = 0; //新增
- // clear
- this.form.ClassName = '';
- this.form.ConsumeHour = 0;
- this.form.TopLimit = 0;
- this.form.wxVisible = 1;
- this.form.ClassColor = "#ffffff";
- this.form.Memo = "";
- this.form.dialogValue = [];
- this.dialogLesson = true;
- this.dialogTitle = '新增课程'
- this.panelSelect();
- },
- // 改色
- changeColor(c, row) {
- let that = this;
- let param = {
- token: localStorage.token,
- classId: row.ClassId,//
- classColor: c,//
- };
- let postdata = qs.stringify(param);
- ClassColorEdit(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- that.$message({
- showClose: true,
- message: '课程颜色已编辑',
- type: 'success'
- });
- // 重载列表
- that.getTableQuery();
- } else {
- that.$message.error(json.Memo + '错误码:' + json.Code);
- }
- })
- },
- // 删除
- delList() {
- let that = this;
- if (this.tableRadio.length == 0) {
- this.$message.error("请先选中一条记录");
- return false
- }
- let row = that.tableRadio;
- let param = {
- token: localStorage.token,
- classId: row.ClassSelf.ClassId,
- status: 9,//0禁用1启用9删除
- };
- let postdata = qs.stringify(param);
- this.$confirm('此操作将永久删除该课程, 是否继续?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- ClassStatusEdit(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- that.$message({
- showClose: true,
- message: '选中的课程已删除!',
- type: 'success'
- });
- // 重载列表
- that.getTableQuery();
- } else {
- that.$message.error(json.Memo + '错误码:' + json.Code);
- }
- });
- }).catch(() => {
- this.$message({
- type: 'info',
- message: '已取消删除'
- });
- });
- },
- // 加载选项
- panelSelect() {
- let that = this;
- let param = {
- token: localStorage.token,
- vipType: '',
- start: 1,
- expDay: '',
- tableMax: 9999,
- };
- let postdata = qs.stringify(param);
- VipUserListQuery(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- if (json.Rs == null) return false;
- // that.dialogdata = json.Rs;
- that.form.dialogdata = turnResToOption(json.Rs)
- } else {
- that.$message.error(json.Memo + '错误码:' + json.Code);
- }
- })
- },
- // 微信可见与否
- changeWechat(e, row) {
- let that = this;
- let param = {
- token: localStorage.token,
- classId: row.ClassId,//
- wxVisible: e,//
- };
- let postdata = qs.stringify(param);
- ClassVisibleStatusEdit(postdata).then(res => {
- let json = res;
- let text = parseInt(e) == 1 ? '可见' : '不可见';
- if (json.Code == 0) {
- that.$message({
- showClose: true,
- message: '当前用户微信已' + text,
- type: 'success'
- });
- // 重载列表
- that.getTableQuery();
- } else {
- that.$message.error(json.Memo + '错误码:' + json.Code);
- }
- })
- },
- // 增删会员课程
- lessonStudenChange() {
- this.panelSelect();
- if (this.tableRadio.length == 0) {
- this.$message.error("请先选中一条记录");
- return false
- }
- let row = this.tableRadio;
- let userArrary = [];
- row.Userlist.map(function (item) {
- userArrary.push(item.Id)
- });
- this.form.classId = row.ClassSelf.ClassId;
- this.dialogValue = userArrary;
- this.dialogVisible = true
- // 读取左侧会员列表
- },
- handleSelectionChange(val) {
- this.multipleSelection = val;
- },
- clearForm() {
- // clear
- this.form.ClassName = '';
- this.form.ConsumeHour = 0;
- this.form.TopLimit = 0;
- this.form.wxVisible = 1;
- this.form.ClassColor = '';
- this.form.Memo = '';
- },
- // 编辑
- editLesson(row) {
- let that = this;
- this.clearForm();
- this.form.btnType = 1; //编辑
- this.form.ClassName = row.ClassName;
- this.form.ConsumeHour = row.ConsumeHour;
- this.form.TopLimit = row.TopLimit;
- this.form.wxVisible = row.WxVisible;
- this.form.ClassColor = row.ClassColor;
- this.form.Memo = row.Memo;
- this.form.dialogValue = row.teacherId;
- this.form.classId = row.ClassId;
- this.form.ClassType = row.ClassType;
- this.form.ShopId = row.ShopId;
- this.form.allUse = row.ShopId;
- this.dialogLesson = true;
- // 读取已选的会员
- console.log(row);
- this.form.dialogValue = [];
- this.dialogTitle = '编辑课程'
- },
- Lessonmember(Userlist) {
- this.dialogTableVisible = true;
- this.gridData = Userlist;
- },
- // 查询按钮
- query() {
- let that = this;
- this.getTableQuery();
- that.serachBtnStatus = true;
- let totalTime = 2
- let clock = window.setInterval(() => {
- totalTime--
- if (totalTime < 0) {
- totalTime = 2;
- that.serachBtnStatus = false;
- }
- }, 1000)
- this.$message.success('查询完毕');
- },
- // 页面数据查询
- getTableQuery() {
- let that = this;
- that.loading = true;
- let param = {
- token: localStorage.token,
- supregionid: 0,//
- regionid: this.panel.regionid,//
- comid: 1,//
- tagname: that.panel.tagname,//标签名
- start: 1,//
- tableMax: 9999,//
- };
- let postdata = qs.stringify(param);
- ClassListQuery(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- that.loading = false;
- if (json.Rs) {
- that.allTableData = json.Rs;
- that.recordsTotal = json.Rs.length;
- } else {
- that.allTableData = [];
- that.recordsTotal = 0;
- }
- // 设置分页数据
- that.setPaginations();
- } else {
- that.$message.error(json.Memo + '错误码:' + json.Code);
- }
- })
- },
- // 设置分页数据
- setPaginations() {
- // 分页属性
- let that = this;
- that.pageination.total = that.recordsTotal;
- // 默认分页
- that.tableData = that.allTableData.filter((item, index) => {
- return index < that.pageination.pageItem;
- });
- },
- // 每页显示数量
- handleSizeChange() {
- let that = this;
- that.tableData = that.allTableData.filter((item, index) => {
- return index < that.pageination.pageItem;
- });
- that.draw = that.pageination.pageItem;
- that.getTableQuery();
- },
- // 翻页
- pageChange(pageIndex) {
- let that = this;
- // 获取当前页
- let index = that.pageination.pageItem * (pageIndex - 1);
- // 数据总数
- let nums = that.pageination.pageItem * pageIndex;
- // 容器
- let tables = [];
- for (var i = index; i < nums; i++) {
- if (that.allTableData[i]) {
- tables.push(that.allTableData[i])
- }
- this.tableData = tables;
- }
- that.start = index * that.draw;
- // that.getTableQuery();
- },
- // 过滤时间
- filterFmtDate(value, row, column) {
- let that = this;
- if (column == "0001-01-01T08:05:43+08:05") {
- return '无有效期';
- } else {
- return nonTfmtDate(column, 11);
- }
- },
- },
- watch: {
- $route(to) {
- if (to.name == 'Lesson') {
- this.panelSelect();
- this.getTableQuery();
- }
- },
- },
- }
- </script>
- <style scoped>
- @import "../assets/css/panel.css";
- .context {
- height: 770px;
- overflow-y: scroll;
- display: block;
- margin: 0 auto;
- background-color: #fff !important;
- padding: 30px;
- }
- .panel-body {
- padding: 20px;
- background: #F0F2F5;
- }
- .change {
- width: 100%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- padding-top: 10px;
- padding-bottom: 10px;
- }
- .change button {
- float: left;
- }
- .change button.pull-right {
- float: right;
- }
- .dialogTitle {
- width: 100%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- color: #000000;
- font-size: 18px;
- text-align: center;
- }
- .dialogTitle span {
- width: 169px;
- height: 40px;
- line-height: 40px;
- text-align: center;
- color: #fff;
- background: #3799FF;
- border-radius: 250px;
- font-size: 18px;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- margin-bottom: 30px;
- }
- .dialogTitle em {
- float: none;
- font-style: normal;
- color: #3799FF;
- margin: 0;
- }
- /deep/ .el-transfer-panel__item .el-checkbox__input {
- left: 40px;
- }
- .dialogFooter {
- width: 90%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- margin-top: 10px;
- }
- .dialogFooter button {
- float: right;
- margin-left: 10px;
- }
- .pull-left {
- width: 30%;
- float: left;
- }
- .pull-right {
- width: 70%;
- float: right;
- }
- /deep/ .el-transfer-panel__item .el-checkbox__input {
- left: 15px;
- }
- /deep/ .el-dialog .el-input__inner {
- min-width: 180px;
- }
- /*隐藏调色盘*/
- .el-color-dropdown__main-wrapper {
- display: none !important;
- }
- /deep/ .el-color-dropdown__main-wrapper {
- display: none !important;
- }
- </style>
|