| | |
| | | this.api.create(this.form) |
| | | .then(() => { |
| | | // that.$tip.apiSuccess('æ°å»ºæå') |
| | | that.$dialog.actionConfirmButton('æ¯å¦åç该页é¢ç»§ç»æ°å»ºæ°æ®ï¼', 'æ°å»ºæå','ç»§ç»æ·»å ','å
³éè¿å') |
| | | .then(() => { |
| | | // that.$dialog.actionConfirmButton('æ¯å¦åç该页é¢ç»§ç»æ°å»ºæ°æ®ï¼', 'æ°å»ºæå','ç»§ç»æ·»å ','å
³éè¿å') |
| | | // .then(() => { |
| | | that.$refs.form.resetFields() |
| | | that.visible = false |
| | | that.form[this.configData['field.id']] = null |
| | | that.$emit('success') |
| | | }) |
| | | .catch(() => { |
| | | that.visible = false |
| | | that.$emit('success') |
| | | }) |
| | | // }) |
| | | // .catch(() => { |
| | | // that.visible = false |
| | | // that.$emit('success') |
| | | // }) |
| | | }) |
| | | .catch(e => { |
| | | this.$tip.apiFailed(e) |
| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="60%" |
| | | width="calc(100% - 250px)" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | |
| | | <el-input v-model="form.title" placeholder="请è¾å
¥æ é¢" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="æ¦è¿°" prop="detail"> |
| | | <el-input type="textarea" v-model="form.detail" placeholder="请è¾å
¥æè¿°" v-trim/> |
| | | <el-input type="textarea" :rows="10" v-model="form.detail" placeholder="请è¾å
¥æè¿°" v-trim/> |
| | | </el-form-item> |
| | | <div style="display: flex"> |
| | | <el-form-item label="缩ç¥å¾" prop="thumbnailImgurl" style="display:inline-block;flex: 1"> |
| | |
| | | <script> |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import RichEditor from '@/components/common/RichEditor' |
| | | import UploadAvatarImage from '@/components/common/UploadAvatarImage' |
| | | import RichEditor from '@/components/common/RichEditor' |
| | | import '@wangeditor/editor/dist/css/style.css' |
| | | export default { |
| | | name: 'OperaCarouselWindow', |
| | | extends: BaseOpera, |
| | |
| | | data () { |
| | | return { |
| | | // è¡¨åæ°æ® |
| | | styleEditor: 'border: 1px solid #ccc;display: inline-block;height:500px', |
| | | styleEditor: 'border: 1px solid #ccc;display: inline-block;height:800px; ', |
| | | form: { |
| | | id: null, |
| | | remark: '', |
| | |
| | | for (const key in this.form) { |
| | | this.form[key] = target[key] |
| | | } |
| | | console.log(111+this.form.content) |
| | | }) |
| | | }, |
| | | // ä¸ä¼ å¾ç |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <style> |
| | | ::v-deep .w-e-text-container { |
| | | height: 420px !important; |
| | | } |
| | | .w-e-text-container .w-e-scroll { |
| | | height: 500px !important; |
| | | -webkit-overflow-scrolling: touch; |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="60%" |
| | | width="calc(100% - 250px)" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="ç®ä»" prop="detail"> |
| | | <el-input type="textarea" v-model="form.detail" placeholder="请è¾å
¥ç®ä»" v-trim/> |
| | | <el-input type="textarea" :rows="10" v-model="form.detail" placeholder="请è¾å
¥ç®ä»" v-trim/> |
| | | </el-form-item> |
| | | <el-form-item label="å叿¥æ" prop="releaseDate" > |
| | | <el-date-picker v-model="form.releaseDate" value-format="yyyy-MM-dd HH:mm:ss" type="datetime"> </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="å
容" prop="content" > |
| | | <RichEditor :richData="form.content" :styleEditor="styleEditor" @getWangedditor="getWangedditor" :readonly="false"/> |
| | | <RichEditor :richData="form.content" :styleEditor="styleEditor" @getWangedditor="getWangedditor" :readonly="false"/> |
| | | <!-- <RichEditor :richData="form.content" :styleEditor="styleEditor" @getWangedditor="getWangedditor" :readonly="false"/>--> |
| | | </el-form-item> |
| | | <el-form-item label="ç¶æ" prop="status" required class="form-item-status"> |
| | | <el-switch v-model="form.status" :active-value="0" :inactive-value="1" active-color="#13ce66"/> |
| | |
| | | <script> |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import RichEditor from '@/components/common/RichEditor' |
| | | import UploadAvatarImage from '@/components/common/UploadAvatarImage' |
| | | import RichEditor from '@/components/common/RichEditor' |
| | | import '@wangeditor/editor/dist/css/style.css' |
| | | import dayjs from 'dayjs'; |
| | | export default { |
| | | name: 'OperaInformationWindow', |
| | | extends: BaseOpera, |
| | |
| | | data () { |
| | | return { |
| | | // è¡¨åæ°æ® |
| | | styleEditor: 'border: 1px solid #ccc;display: inline-block;height:500px', |
| | | styleEditor: 'border: 1px solid #ccc;display: inline-block;height:800px;min-height :500px;', |
| | | form: { |
| | | id: null, |
| | | remark: '', |
| | |
| | | remark: '', |
| | | title: '', |
| | | detail: '', |
| | | releaseDate: new Date(), |
| | | releaseDate: dayjs().format('YYYY-MM-DD HH:mm:ss'), |
| | | imgurl: '', |
| | | imgurlFull: '', |
| | | thumbnailImgurl: '', |
| | | thumbnailImgurlFull: '', |
| | | fullImgurl: '', |
| | | jumpType: 0, |
| | | content: '', |
| | | sortnum: '', |
| | |
| | | for (const key in this.form) { |
| | | this.form[key] = target[key] |
| | | } |
| | | console.log(111+this.form.content) |
| | | }) |
| | | }, |
| | | // ä¸ä¼ å¾ç |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <style> |
| | | ::v-deep .w-e-text-container { |
| | | height: 420px !important; |
| | | } |
| | | .w-e-text-container .w-e-scroll { |
| | | height: 500px !important; |
| | | -webkit-overflow-scrolling: touch; |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <div :style="styleEditor"> |
| | | <Toolbar style="border-bottom: 1px solid #ccc" :editor="editor" :defaultConfig="toolbarConfig" :mode="mode" /> |
| | | <Editor :style="style" class="declass" v-model="html" :defaultConfig="editorConfig" :mode="mode" |
| | | <Editor style="min-height: 80px; overflow-y: hidden;" v-model="html" :defaultConfig="editorConfig" :mode="mode" |
| | | @onCreated="onCreated" @onChange="onChange" /> |
| | | </div> |
| | | </template> |
| | |
| | | <script> |
| | | import Vue from 'vue' |
| | | import { Editor, Toolbar } from '@wangeditor/editor-for-vue' |
| | | import { Loading } from 'element-ui' |
| | | import { Loading } from 'element-ui'; |
| | | let loadingInstance = null |
| | | export default Vue.extend({ |
| | | props: { |
| | |
| | | default: '' |
| | | }, |
| | | styleEditor: '', |
| | | style:'', |
| | | readonly: false // æ¯å¦å¯ä»¥è¾å
¥ |
| | | readonly: false, // æ¯å¦å¯ä»¥è¾å
¥ |
| | | }, |
| | | name: 'RichEditor', |
| | | name:'RichEditor', |
| | | components: { Editor, Toolbar }, |
| | | data () { |
| | | data() { |
| | | return { |
| | | editor: null, |
| | | html: '', |
| | | toolbarConfig: { // å·¥å
·æ é
ç½® |
| | | toolbarKeys: this.readonly ? ['fullScreen'] : [ // æ¾ç¤ºæå®çèå项 |
| | | 'bold', // ç²ä½ |
| | | 'underline', // ä¸å线 |
| | | 'italic', // æä½ |
| | | 'through', // å é¤çº¿ |
| | | 'code', // è¡å
代ç |
| | | 'sub', // 䏿 |
| | | 'sup', // 䏿 |
| | | 'clearStyle', // æ¸
餿 ¼å¼ |
| | | 'color', // åä½é¢è² |
| | | 'bgColor', // èæ¯è² |
| | | 'fontSize', // åå· |
| | | 'fontFamily', // åä½ |
| | | 'indent', // å¢å ç¼©è¿ |
| | | 'delIndent', // åå°ç¼©è¿ |
| | | 'justifyLeft', // å·¦å¯¹é½ |
| | | 'justifyRight', // å³å¯¹é½ |
| | | 'justifyCenter', // å±
ä¸å¯¹é½ |
| | | 'justifyJustify', // ä¸¤ç«¯å¯¹é½ |
| | | 'lineHeight', // è¡é« |
| | | toolbarKeys: this.readonly ? ["fullScreen"]: [ // æ¾ç¤ºæå®çèå项 |
| | | "bold", // ç²ä½ |
| | | "underline", // ä¸å线 |
| | | "italic", // æä½ |
| | | "through", // å é¤çº¿ |
| | | "code", // è¡å
代ç |
| | | "sub", // 䏿 |
| | | "sup", // 䏿 |
| | | "clearStyle", // æ¸
餿 ¼å¼ |
| | | "color", // åä½é¢è² |
| | | "bgColor", // èæ¯è² |
| | | "fontSize", // åå· |
| | | "fontFamily", // åä½ |
| | | "indent", // å¢å ç¼©è¿ |
| | | "delIndent", // åå°ç¼©è¿ |
| | | "justifyLeft", // å·¦å¯¹é½ |
| | | "justifyRight", // å³å¯¹é½ |
| | | "justifyCenter", // å±
ä¸å¯¹é½ |
| | | "justifyJustify", // ä¸¤ç«¯å¯¹é½ |
| | | "lineHeight", // è¡é« |
| | | // "viewImageLink", // æ¥ç龿¥ |
| | | 'divider', // åå²çº¿ |
| | | 'emotion', // 表æ
|
| | | 'insertLink', // æå
¥é¾æ¥ |
| | | "divider", // åå²çº¿ |
| | | "emotion", // 表æ
|
| | | "insertLink", // æå
¥é¾æ¥ |
| | | // "editLink", // ä¿®æ¹é¾æ¥ |
| | | // "unLink", // 忶龿¥ |
| | | // "viewLink", // æ¥ç龿¥ |
| | | 'codeBlock', // 代ç å |
| | | 'blockquote', // å¼ç¨ |
| | | 'headerSelect', // æ é¢ |
| | | "codeBlock", // 代ç å |
| | | "blockquote", // å¼ç¨ |
| | | "headerSelect", // æ é¢ |
| | | // "header1", // æ é¢1 |
| | | // "header2", // æ é¢2 |
| | | // "header3", // æ é¢3 |
| | | // "header4", // æ é¢4 |
| | | // "header5", // æ é¢5 |
| | | // "todo", // å¾
å |
| | | 'redo', // éå |
| | | 'undo', // æ¤é |
| | | "redo", // éå |
| | | "undo", // æ¤é |
| | | // "enter", // å车 |
| | | // "bulletedList", // æ åºå表 |
| | | // "numberedList", // æåºå表 |
| | |
| | | "tableHeader", // 表头 |
| | | "tableFullWidth", // 宽度èªéåº |
| | | ] // ä¸çº§èå key ï¼å¿
å¡« |
| | | }, */ |
| | | },*/ |
| | | // ä¸ä¼ å¾çåç» |
| | | { |
| | | key: 'img-style', // å¿
å¡«ï¼è¦ä»¥ group å¼å¤´ |
| | | title: 'å¾ç', // å¿
å¡« |
| | | // iconSvg: '<svg>....</svg>', // å¯é |
| | | menuKeys: [ |
| | | 'uploadImage', // ä¸ä¼ å¾ç |
| | | 'insertImage', // ç½ç»å¾ç |
| | | 'deleteImage', // å é¤å¾ç |
| | | 'editImage', // ç¼è¾å¾ç |
| | | 'imageWidth30', // å¾ç宽度ç¸å¯¹äºç¼è¾å¨å®½åº¦çç¾åæ¯30 |
| | | 'imageWidth50', // å¾ç宽度ç¸å¯¹äºç¼è¾å¨å®½åº¦çç¾åæ¯50 |
| | | 'imageWidth100' // å¾ç宽度ç¸å¯¹äºç¼è¾å¨å®½åº¦çç¾åæ¯100 |
| | | "uploadImage", // ä¸ä¼ å¾ç |
| | | "insertImage", // ç½ç»å¾ç |
| | | "deleteImage", // å é¤å¾ç |
| | | "editImage", // ç¼è¾å¾ç |
| | | "imageWidth30", // å¾ç宽度ç¸å¯¹äºç¼è¾å¨å®½åº¦çç¾åæ¯30 |
| | | "imageWidth50", // å¾ç宽度ç¸å¯¹äºç¼è¾å¨å®½åº¦çç¾åæ¯50 |
| | | "imageWidth100", // å¾ç宽度ç¸å¯¹äºç¼è¾å¨å®½åº¦çç¾åæ¯100 |
| | | ] // ä¸çº§èå key ï¼å¿
å¡« |
| | | }, |
| | | // è§é¢åç» |
| | |
| | | title: 'è§é¢', // å¿
å¡« |
| | | // iconSvg: '<svg>....</svg>', // å¯é |
| | | menuKeys: [ |
| | | 'insertVideo', // æå
¥ç½ç»è§é¢ |
| | | 'uploadVideo', // ä¸ä¼ è§é¢ |
| | | 'editVideoSize' // ä¿®æ¹è§é¢å°ºå¯¸ |
| | | "insertVideo", // æå
¥ç½ç»è§é¢ |
| | | "uploadVideo", // ä¸ä¼ è§é¢ |
| | | "editVideoSize", // ä¿®æ¹è§é¢å°ºå¯¸ |
| | | ] // ä¸çº§èå key ï¼å¿
å¡« |
| | | }, |
| | | 'fullScreen' // å
¨å± |
| | | "fullScreen", // å
¨å± |
| | | ], |
| | | excludeKeys: [ // éèæå®çèå项 |
| | | // 'headerSelect', |
| | | // 'video-style' |
| | | // æé¤èåç»ï¼åèåç» key çå¼å³å¯ |
| | | ] |
| | | ], |
| | | |
| | | }, |
| | | editorConfig: { // ç¼è¾å¨é
ç½® |
| | |
| | | MENU_CONF: { |
| | | // å¾çä¸ä¼ |
| | | uploadImage: { |
| | | server: process.env.VUE_APP_API_PREFIX + '/web/public/uploadLocal?folder=', |
| | | server: process.env.VUE_APP_API_PREFIX + '/public/uploadLocal?folder=', |
| | | fieldName: 'file', |
| | | // å个æä»¶çæå¤§ä½ç§¯éå¶ï¼é»è®¤ä¸º 2M |
| | | maxFileSize: 20 * 1024 * 1024, // 10M |
| | | maxFileSize: 10 * 1024 * 1024, // 10M |
| | | // æå¤å¯ä¸ä¼ å 个æä»¶ï¼é»è®¤ä¸º 100 |
| | | maxNumberOfFiles: 10, |
| | | // éæ©æä»¶æ¶çç±»åéå¶ï¼é»è®¤ä¸º ['image/*'] ãå¦ä¸æ³éå¶ï¼å设置为 [] |
| | |
| | | // è·¨åæ¯å¦ä¼ é cookie ï¼é»è®¤ä¸º false |
| | | withCredentials: true, |
| | | // è¶
æ¶æ¶é´ï¼é»è®¤ä¸º 10 ç§ |
| | | timeout: 10 * 1000, // 10 ç§ |
| | | timeout: 10 * 1000, //10 ç§ |
| | | // ä¸ä¼ å |
| | | onBeforeUpload (files) { |
| | | onBeforeUpload(files) { |
| | | loadingInstance = Loading.service({ |
| | | lock: true, |
| | | text: 'ä¸ä¼ ä¸...', |
| | | spinner: 'el-icon-loading', |
| | | background: 'rgba(0, 0, 0, 0.7)' |
| | | }) |
| | | return files |
| | | }); |
| | | return files; |
| | | }, |
| | | // èªå®ä¹æå
¥å¾ç |
| | | customInsert (res, insertFn) { |
| | | console.log(res) |
| | | customInsert(res, insertFn) { |
| | | console.log(res); |
| | | // å 为èªå®ä¹æå
¥å¯¼è´onSuccessä¸onFailedåè°å½æ°ä¸èµ·ä½ç¨,èªå·±æå¨å¤ç |
| | | // å
å
³éçå¾
çMessage |
| | | loadingInstance = Loading.service({ |
| | |
| | | text: 'ä¸ä¼ ä¸...', |
| | | spinner: 'el-icon-loading', |
| | | background: 'rgba(0, 0, 0, 0.7)' |
| | | }).close() |
| | | }).close(); |
| | | if (res.code === 200) { |
| | | // Message.success({ |
| | | // message: `${res.data.originalName} ä¸ä¼ æå` |
| | |
| | | // message: `${res.data.originalName} ä¸ä¼ 失败ï¼è¯·éæ°å°è¯` |
| | | // }); |
| | | } |
| | | insertFn(res.data.url, res.data.originname, res.data.imgname) |
| | | insertFn(res.data.url, res.data.originname, res.data.imgname); |
| | | }, |
| | | |
| | | // å个æä»¶ä¸ä¼ æåä¹å |
| | | onSuccess (file, res) { |
| | | console.log(`${file.originalFilename} ä¸ä¼ æå`, res) |
| | | onSuccess(file, res) { |
| | | console.log(`${file.originalFilename} ä¸ä¼ æå`, res); |
| | | }, |
| | | // å个æä»¶ä¸ä¼ 失败 |
| | | onFailed (file, res) { |
| | | console.log(`${file.originalFilename} ä¸ä¼ 失败`, res) |
| | | loadingInstance.close() |
| | | onFailed(file, res) { |
| | | console.log(`${file.originalFilename} ä¸ä¼ 失败`, res); |
| | | loadingInstance.close(); |
| | | }, |
| | | // ä¸ä¼ è¿åº¦çåè°å½æ° |
| | | onProgress (progress) { |
| | | console.log('progress', progress) |
| | | onProgress(progress) { |
| | | console.log('progress', progress); |
| | | // progress æ¯ 0-100 çæ°å |
| | | }, |
| | | // ä¸ä¼ éè¯¯ï¼æè
触å timeout è¶
æ¶ |
| | | onError (file, err, res) { |
| | | loadingInstance.close() |
| | | console.log(`${file.originalFilename} ä¸ä¼ åºé`, err, res) |
| | | onError(file, err, res) { |
| | | loadingInstance.close(); |
| | | console.log(`${file.originalFilename} ä¸ä¼ åºé`, err, res); |
| | | } |
| | | }, |
| | | // è§é¢ä¸ä¼ |
| | |
| | | // è¶
æ¶æ¶é´ï¼é»è®¤ä¸º 30 ç§ |
| | | timeout: 1000 * 1000, // 1000 ç§, |
| | | // ä¸ä¼ ä¹å触å |
| | | onBeforeUpload (file) { |
| | | return file |
| | | onBeforeUpload(file) { |
| | | return file; |
| | | }, |
| | | // èªå®ä¹æå
¥è§é¢ |
| | | customInsert (res, insertFn) { |
| | | customInsert(res, insertFn) { |
| | | // å 为èªå®ä¹æå
¥å¯¼è´onSuccessä¸onFailedåè°å½æ°ä¸èµ·ä½ç¨,èªå·±æå¨å¤ç |
| | | // å
å
³éçå¾
çMessage |
| | | // Message.closeAll(); |
| | |
| | | // message: `${res.data.originalName} ä¸ä¼ 失败ï¼è¯·éæ°å°è¯` |
| | | // }); |
| | | } |
| | | insertFn(res.data.url, res.data.url) |
| | | insertFn(res.data.url, res.data.url); |
| | | }, |
| | | // ä¸ä¼ è¿åº¦çåè°å½æ° |
| | | onProgress (progress) { |
| | | console.log(progress) |
| | | onProgress(progress) { |
| | | console.log(progress); |
| | | // onProgress(progress) { // JS è¯æ³ |
| | | // progress æ¯ 0-100 çæ°å |
| | | }, |
| | |
| | | // this.errorMsg(file); |
| | | // }, |
| | | // ä¸ä¼ éè¯¯ï¼æè
触å timeout è¶
æ¶ |
| | | onError (file, err, res) { |
| | | console.log(`${file.name} ä¸ä¼ åºé`, err, res) |
| | | onError(file, err, res) { |
| | | console.log(`${file.name} ä¸ä¼ åºé`, err, res); |
| | | // Notification.error({ |
| | | // title: 'é误', |
| | | // message: `${file.name} ä¸ä¼ 失败ï¼è¯·éæ°å°è¯` |
| | |
| | | } |
| | | } |
| | | }, |
| | | mode: 'default' // or 'simple' |
| | | mode: 'default', // or 'simple' |
| | | } |
| | | }, |
| | | watch: { |
| | | richData: function (value) { |
| | | this.html = value |
| | | console.log("onChange123", value); // onChange æ¶è·åç¼è¾å¨ææ°å
容 |
| | | this.$nextTick(()=>{ |
| | | this.html = value |
| | | }) |
| | | }, |
| | | readonly: function (value) { |
| | | this.readonly = value |
| | | }, |
| | | styleEditor: function (value) { |
| | | this.styleEditor = value |
| | | } |
| | | }, |
| | | }, |
| | | mounted () { |
| | | mounted() { |
| | | // éè¦å¨ç¼è¾å¨åå»ºå®æ¯åå¨èµå¼ |
| | | this.$nextTick(() => { |
| | | this.$nextTick(()=>{ |
| | | this.html = this.richData |
| | | }) |
| | | }, |
| | | methods: { |
| | | // ç¼è¾å¨åå»ºå®æ¯æ¶çåè°å½æ° |
| | | onCreated (editor) { |
| | | onCreated(editor) { |
| | | var that =this |
| | | this.editor = Object.seal(editor) // ä¸å®è¦ç¨ Object.seal() ï¼å¦å伿¥é |
| | | setTimeout(function (){ |
| | | that.html = that.richData |
| | | // alert(that.html) |
| | | },15000) |
| | | }, |
| | | // ç¼è¾å¨å
容ãéåºååæ¶çåè°å½æ° |
| | | onChange (editor) { |
| | | onChange(editor) { |
| | | this.$emit('getWangedditor', editor.getHtml()) |
| | | console.log('onChange', editor.getHtml()) // onChange æ¶è·åç¼è¾å¨ææ°å
容 |
| | | } |
| | | console.log("onChange", editor.getHtml()); // onChange æ¶è·åç¼è¾å¨ææ°å
容 |
| | | }, |
| | | }, |
| | | beforeDestroy () { |
| | | beforeDestroy() { |
| | | // ç¼è¾å¨éæ¯æ¶çåè°å½æ°ãè°ç¨ editor.destroy() å³å¯éæ¯ç¼è¾å¨ |
| | | const editor = this.editor |
| | | if (editor == null) return |
| | |
| | | } |
| | | }) |
| | | </script> |
| | | <style lang="scss"> |
| | | .declass{ |
| | | min-height: 80px; overflow-y: hidden; |
| | | <style> |
| | | ::v-deep .w-e-text-container { |
| | | height: 420px !important; |
| | | } |
| | | </style>> |
| | | .w-e-text-container .w-e-scroll { |
| | | height: 500px !important; |
| | | -webkit-overflow-scrolling: touch; |
| | | } |
| | | </style> |
| | | |
| | |
| | | <template> |
| | | <div class="box" style="height:100%;overflow-y: auto" > |
| | | <div class="box" style="max-height:calc(100% - 60px);margin-bottom:50px;overflow-y: auto" > |
| | | <el-form :model="form" ref="form" label-width="140px"> |
| | | <div style="margin: 0px 0 50px 0"> |
| | | <span style="font-size: 15px; font-weight: bold">ã1ãç½ç«é
ç½®ï¼</span> |
| | |
| | | </el-form-item> |
| | | <el-form-item label="ç¶æ" prop="status"> |
| | | <el-select v-model="searchForm.status" clearable @change="search" placeholder="ç¶æ"> |
| | | <el-option label="æ£å¸¸" value="1"></el-option> |
| | | <el-option label="ç¦ç¨" value="0"></el-option> |
| | | <el-option label="æ£å¸¸" value="0"></el-option> |
| | | <el-option label="ç¦ç¨" value="1"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <section> |
| | |
| | | <li><el-button @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:carousel:delete']">å é¤</el-button></li> |
| | | </ul> |
| | | <el-table |
| | | :height="tableHeightNew" |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | | stripe |
| | |
| | | showContent: '', |
| | | showTitle: '', |
| | | searchForm: { |
| | | id: '', |
| | | creator: '', |
| | | createDate: '', |
| | | editor: '', |
| | | editDate: '', |
| | | isdeleted: '', |
| | | remark: '', |
| | | title: '', |
| | | describe: '', |
| | | imgurl: '', |
| | | thumbnailImgurl: '', |
| | | type: '', |
| | | jumpType: '', |
| | | contnet: '', |
| | | sortnum: '', |
| | | status: '' |
| | | status: null |
| | | } |
| | | } |
| | | }, |
| | |
| | | </el-form-item> |
| | | <el-form-item label="ç¶æ" prop="status"> |
| | | <el-select v-model="searchForm.status" clearable @change="search" placeholder="ç¶æ"> |
| | | <el-option label="æ£å¸¸" value="1"></el-option> |
| | | <el-option label="ç¦ç¨" value="0"></el-option> |
| | | <el-option label="æ£å¸¸" value="0"></el-option> |
| | | <el-option label="ç¦ç¨" value="1"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <section> |
| | |
| | | <li><el-button @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:information:delete']">å é¤</el-button></li> |
| | | </ul> |
| | | <el-table |
| | | :height="tableHeightNew" |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | | stripe |
| | |
| | | showContent: '', |
| | | showTitle: '', |
| | | searchForm: { |
| | | id: '', |
| | | creator: '', |
| | | createDate: '', |
| | | editor: '', |
| | | editDate: '', |
| | | isdeleted: '', |
| | | remark: '', |
| | | title: '', |
| | | describe: '', |
| | | imgurl: '', |
| | | thumbnailImgurl: '', |
| | | type: '', |
| | | jumpType: '', |
| | | contnet: '', |
| | | sortnum: '', |
| | | status: '' |
| | | status: null |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | module.exports = { |
| | | publicPath: process.env.VUE_APP_CONTEXT_PATH, |
| | | outputDir: 'admin', |
| | | outputDir: 'dmttwebsite_admin', |
| | | assetsDir: 'static', |
| | | lintOnSave: false, |
| | | devServer: { |
| | |
| | | <artifactId>dmttwebsite</artifactId> |
| | | <version>1.0.0-SNAPSHOT</version> |
| | | <packaging>war</packaging> |
| | | <name>official_website</name> |
| | | <name>dmttwebsite</name> |
| | | <description></description> |
| | | |
| | | <parent> |
| | |
| | | required: true |
| | | ssl: |
| | | enable: true |
| | | |
| | | debug_model: true |
| | | |
| | | # Swaggeré
ç½® |