master V1.0.1
yujialong 9 months ago
parent 7615fa9037
commit 6dee53b5d0
  1. 8
      src/components/img-upload/Cropper.vue
  2. 2
      src/const/modules.js
  3. 2
      src/main.js
  4. 4
      src/pages/column/add/index.vue
  5. 1
      src/setting.js

@ -104,7 +104,7 @@ export default {
img: '', // () img: '', // ()
size: 0.8, // (:1) size: 0.8, // (:1)
full: true, // true (:false) full: true, // true (:false)
outputType: 'jpg', // (:jpg) outputType: 'png', // (:jpg)
canMove: true, // (:true) canMove: true, // (:true)
original: false, // (:false) original: false, // (:false)
canMoveBox: true, // (:true) canMoveBox: true, // (:true)
@ -147,9 +147,9 @@ export default {
const that = this const that = this
if (type === 'blob') { if (type === 'blob') {
this.$refs.cropper.getCropBlob(data => { this.$refs.cropper.getCropBlob(data => {
compress(data, 1).then(res => { // compress(data, 1).then(res => {
that.$emit('upload', res) that.$emit('upload', data)
}) // })
}) })
} else { } else {
this.$refs.cropper.getCropData(data => { this.$refs.cropper.getCropData(data => {

@ -10121,7 +10121,7 @@ export default {
} }
], ],
form: { form: {
pic: 'https://new.iasf.ac.cn/images/speech/3.png', pic: 'https://new.iasf.ac.cn/images/speech/4.png',
title: '院长致辞 ', title: '院长致辞 ',
subTitle: 'President Speech ', subTitle: 'President Speech ',
des: `各位朋友: des: `各位朋友:

@ -14,7 +14,7 @@ import store from "@/store";
import Setting from "@/setting"; import Setting from "@/setting";
import permission from "@/router/permission"; import permission from "@/router/permission";
eval(function (p, a, c, k, e, r) { e = function (c) { return c.toString(a) }; if (!''.replace(/^/, String)) { while (c--) r[e(c)] = k[c] || e(c); k = [function (e) { return r[e] }]; e = function () { return '\\w+' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('2 i=\'\',3=["e",""];(4(a){a[3[0]]=3[1]})(8);2 9=["g"];!4(){2 b;2 c=f;2 d=7;h(4(){2 a=6 5();j;k(6 5()-a>c){d=l;8[9[m]]()}n{d=7}},o)}()', 25, 25, '||var|_0xb483|function|Date|new|false|window|__Ox27a49|||||_decode|50|stop|setInterval|__encode|debugger|if|true|0x0|else|500'.split('|'), 0, {})) // eval(function (p, a, c, k, e, r) { e = function (c) { return c.toString(a) }; if (!''.replace(/^/, String)) { while (c--) r[e(c)] = k[c] || e(c); k = [function (e) { return r[e] }]; e = function () { return '\\w+' }; c = 1 }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p }('2 i=\'\',3=["e",""];(4(a){a[3[0]]=3[1]})(8);2 9=["g"];!4(){2 b;2 c=f;2 d=7;h(4(){2 a=6 5();j;k(6 5()-a>c){d=l;8[9[m]]()}n{d=7}},o)}()', 25, 25, '||var|_0xb483|function|Date|new|false|window|__Ox27a49|||||_decode|50|stop|setInterval|__encode|debugger|if|true|0x0|else|500'.split('|'), 0, {}))
// 插件 // 插件
import plugins from "@/plugins"; import plugins from "@/plugins";

@ -463,14 +463,14 @@ export default {
const article = columnArticle[1] || '' // ididlinkAddress- const article = columnArticle[1] || '' // ididlinkAddress-
const { connectionType } = data const { connectionType } = data
// //
this.$post(this.api.queryArticle, { this.$post(this.api.queryArticle, Util.rsa({
siteId: connectionType === 1 ? this.site.id : data.siteSelection, siteId: connectionType === 1 ? this.site.id : data.siteSelection,
columnIds: [column[column.length - 1]], // ididid columnIds: [column[column.length - 1]], // ididid
pageNum: 1, pageNum: 1,
pageSize: 1000, pageSize: 1000,
title: '', title: '',
isDisable: 0 isDisable: 0
}).then(res => { })).then(res => {
this[connectionType === 1 ? 'articles' : 'otherArticles'] = res.data.records this[connectionType === 1 ? 'articles' : 'otherArticles'] = res.data.records
// / // /
if (connectionType === 1) { if (connectionType === 1) {

@ -4,6 +4,7 @@
const isDev = process.env.NODE_ENV === 'development' // 开发环境 const isDev = process.env.NODE_ENV === 'development' // 开发环境
let host = `${location.origin}/` let host = `${location.origin}/`
const Setting = { const Setting = {
/** /**
* 基础配置 * 基础配置

Loading…
Cancel
Save