Commit 9cc424fa by 无尘

fix:修改素材

parent bddf6748
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.aa3cb0a57d591c57519e7821b94aecdc.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.63a0399bc66d17e57607.js></script><script type=text/javascript src=./static/js/vendor.ec5b5af1da21f97836b5.js></script><script type=text/javascript src=./static/js/app.73f179c0b16048b4cd11.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css><link href=./static/css/app.c0fd1b35be7f0bb0cd58697795c841ed.css rel=stylesheet></head><body style="min-width: 1400px;" class=damolish><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script>// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();</script><script type=text/javascript src=./static/js/manifest.3c0d267e49024096ff65.js></script><script type=text/javascript src=./static/js/vendor.ec5b5af1da21f97836b5.js></script><script type=text/javascript src=./static/js/app.73f179c0b16048b4cd11.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(a&&a(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},f={76:0};function d(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=f[e]=[c,d]});a[2]=c;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"75512f3d6a564da7391d",1:"06c4e42e62c1f75191f0",2:"95860c596ce8eeb79301",3:"317153cd3f6b0047eb86",4:"c3c7a44f10799d6b0570",5:"c056ac7c79aab226f1ac",6:"f1d5161ef40a7ba3f6cf",7:"ece0a2d210892b176e55",8:"7d0a8e6532c58d0c2415",9:"ea31d337331fea67d62b",10:"62eecd9e2e85ea911ebd",11:"9b3374cd4a81129f7a3c",12:"6c1505f8ef62166b7a6e",13:"2ccd52bd6e1150f23c90",14:"0225e369d82f24077aba",15:"592a2e6008db77975bcc",16:"bc276325eab50b4b86c0",17:"edf42ec3b001b6cfe65e",18:"4b0922e27b6b34b18611",19:"30252583b235f2c70040",20:"ba2e2bd0823422a4de6c",21:"9e35f4bb567c79f900c4",22:"4657c811baa7a2a81fa8",23:"b696c3789461b84413c4",24:"4ad7713214fd3234337d",25:"9e5733792c18c643ff3a",26:"54efe70e981ee20ef028",27:"4c65de628f548349df50",28:"4fbce325a868a8eed45f",29:"dd6838c438e8e01143be",30:"6e3dad3ed142df770d0e",31:"963d650c22609bb350cc",32:"648e00249c751be0ef72",33:"3b19f619921aacfda1e4",34:"b57b41292517a536addb",35:"cf76e4b74afa283a3eec",36:"db02c347e3e009b70eac",37:"5038b3a9b73a30e92ed9",38:"8dacabcebbcf33c09d69",39:"36ad49af4ad28511cb7e",40:"53d1aada48d77cf4670b",41:"b7276467d43930494f90",42:"cef9078afe497dcad23b",43:"c353323742d5dbd08fb8",44:"21732320382ad9591379",45:"ea4b39548055481346ef",46:"77005fb1df27e8d0dcfa",47:"27ddf80c8da77bf9c52d",48:"46491eec4d9b28b07f2a",49:"961ddd83c04214b4e2b0",50:"49955822174c9ebab437",51:"c84a655307ea7a2993bc",52:"23ce7f8f10e2d853d7e7",53:"03649cc9cbca035a1d60",54:"4c35b1e21352f05966df",55:"8a707dea9d35fe36a516",56:"a497356aa0b1b941f70e",57:"fa0993908f0e01751c40",58:"89745e27566eaf3aebae",59:"35846fe10eaf6d8a8c93",60:"02ef368f3955ef4fa3ee",61:"cc56326182e5e1134503",62:"ef71a1048465b72ae595",63:"aaaae3e573c9454df03d",64:"6e4ab38ada941a5fb834",65:"859191282a6e5fdc4b7f",66:"a970ad3d710b5c92c175",67:"0dd6204bfe8e0903ea36",68:"b0e48542a6189f95e7a9",69:"78c1148df0648f724434",70:"d8b620c8d056d806ac23",71:"8ce9113b1568e9bf5537",72:"a6222ada9c9a2655c92a",73:"959fb844a60624eba321"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,b,n){for(var r,t,o,i=0,u=[];i<c.length;i++)t=c[i],f[t]&&u.push(f[t][0]),f[t]=0;for(r in b)Object.prototype.hasOwnProperty.call(b,r)&&(e[r]=b[r]);for(a&&a(c,b,n);u.length;)u.shift()();if(n)for(i=0;i<n.length;i++)o=d(d.s=n[i]);return o};var c={},f={76:0};function d(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=f[e]=[c,d]});a[2]=c;var b=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=12e4,d.nc&&n.setAttribute("nonce",d.nc),n.src=d.p+"static/js/"+e+"."+{0:"75512f3d6a564da7391d",1:"06c4e42e62c1f75191f0",2:"95860c596ce8eeb79301",3:"317153cd3f6b0047eb86",4:"c3c7a44f10799d6b0570",5:"f63a725ebf5405d505a6",6:"f1d5161ef40a7ba3f6cf",7:"ece0a2d210892b176e55",8:"7d0a8e6532c58d0c2415",9:"ea31d337331fea67d62b",10:"62eecd9e2e85ea911ebd",11:"9b3374cd4a81129f7a3c",12:"6c1505f8ef62166b7a6e",13:"2ccd52bd6e1150f23c90",14:"0225e369d82f24077aba",15:"592a2e6008db77975bcc",16:"bc276325eab50b4b86c0",17:"edf42ec3b001b6cfe65e",18:"4b0922e27b6b34b18611",19:"30252583b235f2c70040",20:"ba2e2bd0823422a4de6c",21:"9e35f4bb567c79f900c4",22:"4657c811baa7a2a81fa8",23:"b696c3789461b84413c4",24:"4ad7713214fd3234337d",25:"9e5733792c18c643ff3a",26:"54efe70e981ee20ef028",27:"4c65de628f548349df50",28:"4fbce325a868a8eed45f",29:"dd6838c438e8e01143be",30:"6e3dad3ed142df770d0e",31:"963d650c22609bb350cc",32:"648e00249c751be0ef72",33:"3b19f619921aacfda1e4",34:"b57b41292517a536addb",35:"cf76e4b74afa283a3eec",36:"db02c347e3e009b70eac",37:"5038b3a9b73a30e92ed9",38:"8dacabcebbcf33c09d69",39:"36ad49af4ad28511cb7e",40:"53d1aada48d77cf4670b",41:"b7276467d43930494f90",42:"cef9078afe497dcad23b",43:"c353323742d5dbd08fb8",44:"21732320382ad9591379",45:"ea4b39548055481346ef",46:"77005fb1df27e8d0dcfa",47:"27ddf80c8da77bf9c52d",48:"46491eec4d9b28b07f2a",49:"961ddd83c04214b4e2b0",50:"49955822174c9ebab437",51:"c84a655307ea7a2993bc",52:"23ce7f8f10e2d853d7e7",53:"03649cc9cbca035a1d60",54:"4c35b1e21352f05966df",55:"8a707dea9d35fe36a516",56:"a497356aa0b1b941f70e",57:"fa0993908f0e01751c40",58:"89745e27566eaf3aebae",59:"35846fe10eaf6d8a8c93",60:"02ef368f3955ef4fa3ee",61:"cc56326182e5e1134503",62:"ef71a1048465b72ae595",63:"aaaae3e573c9454df03d",64:"6e4ab38ada941a5fb834",65:"859191282a6e5fdc4b7f",66:"a970ad3d710b5c92c175",67:"0dd6204bfe8e0903ea36",68:"b0e48542a6189f95e7a9",69:"78c1148df0648f724434",70:"d8b620c8d056d806ac23",71:"8ce9113b1568e9bf5537",72:"a6222ada9c9a2655c92a",73:"959fb844a60624eba321"}[e]+".js";var r=setTimeout(t,12e4);function t(){n.onerror=n.onload=null,clearTimeout(r);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return n.onerror=n.onload=t,b.appendChild(n),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -4,11 +4,11 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-05-14 11:01:03
* @LastEditTime: 2020-05-14 11:19:15
-->
<!--
<text-table :categoryId="categoryId" :textTableData="textTableData" @handleSelectionChange="handleSelectionChange" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></text-table>
import textTable from '@/components/set/text-table.vue';
<file-table :categoryId="categoryId" :textTableData="tableData" @handleSelectionChange="handleSelectionChange" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></file-table>
import fileTable from '@/components/set/file-table.vue';
-->
<template>
<div class="text-table-body">
......@@ -33,7 +33,7 @@
</el-table-column>
<el-table-column prop="" label="内容">
<template slot-scope="scope">
<div style="width: 40px;height:40px;background:#f5f7fa;" @click="toOpenFile(scope.row)"><img style="width: 19px;" src="../../assets/file.svg" alt="" /></div>
<div class="flex flex-pack-center" style="width: 40px;height:40px;background:#f5f7fa;" @click="toOpenFile(scope.row)"><img style="width: 23px;" src="../../assets/file.svg" alt="" /></div>
</template>
</el-table-column>
<el-table-column prop="" label="编辑人" show-overflow-tooltip>
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-05-13 16:16:05
* @LastEditTime: 2020-05-14 11:20:25
-->
<!--
<image-table :categoryId="currentCategoryId" :textTableData="tableData" @handleSelectionChange="handleSelectionChange" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></image-table>
......@@ -33,8 +33,8 @@
</el-table-column>
<el-table-column prop="" label="内容">
<template slot-scope="scope"
><img :src="scope.row.imgUrl" alt="" style="width: 40px;height:40px;"
/></template>
><div style="width: 40px;height:40px;"><img :src="scope.row.imgUrl" alt="" style="width: 40px;height:40px;" /></div
></template>
</el-table-column>
<el-table-column prop="" label="编辑人" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.staffName }}</template>
......
......@@ -4,11 +4,11 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-05-12 18:23:41
* @LastEditTime: 2020-05-14 11:29:14
-->
<!--
<group-dialog @closeGroup="closeGroup" @submitGroup="submitGroup"></group-dialog>
import groupDialog from '@/components/set/group-dialog.vue';
<select-group :materialIds="materialIds" @closeGroup="closeGroup" @submitGroup="submitGroup"></select-group>
import selectGroup from '@/components/set/select-group.vue';
-->
<template>
<el-dialog title="批量操作-移至分组" :visible.sync="dialogVisible" width="485px" :before-close="handleClose">
......@@ -16,14 +16,9 @@
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
<el-form-item label="分组" prop="categoryId">
<el-select v-model="ruleForm.categoryId" placeholder="请选择">
<el-option label="未分组" value="-1"></el-option>
<el-option
v-for="item in options"
:key="item.categoryId"
:label="item.categoryName"
:value="item.categoryId">
</el-option>
</el-select>
<el-option label="未分组" value="-1"></el-option>
<el-option v-for="item in options" :key="item.categoryId" :label="item.categoryName" :value="item.categoryId"> </el-option>
</el-select>
</el-form-item>
</el-form>
</div>
......@@ -41,7 +36,12 @@ import showMsg from '@/common/js/showmsg';
import errMsg from '@/common/js/error';
export default {
props: {
materialIds: {
type: Array,
default() {
return [];
}
}
},
components: {
limitInput
......@@ -52,7 +52,7 @@ export default {
dialogVisible: true,
options: [],
ruleForm: {
categoryId: '',
categoryId: ''
},
rules: {
categoryId: [{ required: true, message: '请选择分组名称', trigger: 'change' }]
......@@ -83,7 +83,6 @@ export default {
const data = {
categoryId: that.ruleForm.categoryId,
materialIds: that.materialIds
};
postRequest('/haoban-manage3-web/material-batch', data)
.then(res => {
......@@ -111,7 +110,7 @@ export default {
let para = {
wxEnterpriseId: that.wxEnterpriseId
};
getRequest('/haoban-manage3-web/category-list', para)
postRequest('/haoban-manage3-web/category-list', para)
.then(res => {
let resData = res.data;
if (resData.errorCode == 1) {
......@@ -126,7 +125,7 @@ export default {
message: error.message
});
});
},
}
},
watch: {
editRow(newData) {
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-05-14 09:55:19
* @LastEditTime: 2020-05-14 11:20:59
-->
<!--
<image-table :categoryId="currentCategoryId" :textTableData="tableData" @handleSelectionChange="handleSelectionChange" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></image-table>
......@@ -33,8 +33,10 @@
</el-table-column>
<el-table-column prop="" label="内容">
<template slot-scope="scope"
><video :src="scope.row.link" class="avatar" style="width: 40px;height:40px;">您的浏览器不支持视频播放</video></template
>
><div style="width: 40px;height:40px;">
<video :src="scope.row.link" class="avatar" style="width: 40px;height:40px;">您的浏览器不支持视频播放</video>
</div>
</template>
</el-table-column>
<el-table-column prop="" label="编辑人" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.staffName }}</template>
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-05-14 10:06:08
* @LastEditTime: 2020-05-14 11:21:31
-->
<!--
<image-table :categoryId="currentCategoryId" :textTableData="tableData" @handleSelectionChange="handleSelectionChange" @refreshTable="refreshTable" @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"></image-table>
......@@ -33,8 +33,8 @@
</el-table-column>
<el-table-column prop="" label="封面">
<template slot-scope="scope"
><img :src="scope.row.imgUrl" alt="" style="width: 40px;height:40px;"
/></template>
><div style="width: 40px;height:40px;"><img :src="scope.row.imgUrl" alt="" style="width: 40px;height:40px;" /></div
></template>
</el-table-column>
<el-table-column prop="" label="链接" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.link }}</template>
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-03-16 09:59:39
* @LastEditors: 无尘
* @LastEditTime: 2020-05-14 11:02:54
* @LastEditTime: 2020-05-14 11:28:34
-->
<template>
<div class="daily-set-wrap ">
......@@ -113,9 +113,11 @@
<web-edit v-if="webShow" :categoryId="currentCategoryId" @closeText="closeText" @submitText="submitText"></web-edit>
<video-edit v-if="videoShow" :categoryId="currentCategoryId" @closeText="closeText" @submitText="submitText"></video-edit>
<file-edit v-if="fileShow" :categoryId="currentCategoryId" @closeText="closeText" @submitText="submitText"></file-edit>
<select-group v-if="multTrans" :materialIds="materialIds" @closeGroup="closeGroup" @submitGroup="submitGroup"></select-group>
</div>
</template>
<script>
import selectGroup from '@/components/set/select-group.vue';
import textEdit from '@/components/set/text-edit.vue';
import imageEdit from '@/components/set/image-edit.vue';
import webEdit from '@/components/set/web-edit.vue';
......@@ -158,7 +160,9 @@ export default {
imageShow: false,
webShow: false,
videoShow: false,
fileShow: false
fileShow: false,
multTrans: false,
materialIds: []
};
},
methods: {
......@@ -175,6 +179,7 @@ export default {
if (e == 1) {
that.postMultDel();
} else {
that.materialIds = that.multData.map(ele => ele.materialId).join(',');
that.multTrans = true;
}
},
......@@ -486,7 +491,7 @@ export default {
destroyed() {
document.documentElement.style.backgroundColor = '#fff';
},
components: { groupDialog, textTable, imageTable, webTable, videoTable, fileTable, textEdit, imageEdit, webEdit, videoEdit, fileEdit }
components: { groupDialog, selectGroup, textTable, imageTable, webTable, videoTable, fileTable, textEdit, imageEdit, webEdit, videoEdit, fileEdit }
};
</script>
<style type="text/less" lang="less" scoped>
......
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