This commit is contained in:
朱文强 2023-04-17 10:59:47 +08:00
bovenliggende 66b6afce40
commit 71d9d4e1f2
11 gewijzigde bestanden met toevoegingen van 15 en 8 verwijderingen

Bestand weergeven

@ -1,5 +1,12 @@
/*
* @Author: zwq
* @Date: 2023-02-07 08:55:09
* @LastEditors: zwq
* @LastEditTime: 2023-04-17 10:54:36
* @Description:
*/
'use strict'
module.exports = {
NODE_ENV: '"production"',
BASE_API: '"./"'
BASE_API: '"http://wms.picaiba.com/report-ui"'
}

2
dist/index.html vendored

Bestand-diff onderdrukt omdat een of meer regels te lang zijn

Bestand-diff onderdrukt omdat een of meer regels te lang zijn

1
dist/static/js/app.dcda1c56.js vendored Normal file

Bestand-diff onderdrukt omdat een of meer regels te lang zijn

Bestand-diff onderdrukt omdat een of meer regels te lang zijn

1
dist/static/js/chunk-12f3.e7e107d9.js vendored Normal file

Bestand-diff onderdrukt omdat een of meer regels te lang zijn

1
dist/static/js/chunk-2194.27dbc78d.js vendored Normal file
Bestand weergeven

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2194"],{"5Z1L":function(e,t,i){},lAHl:function(e,t,i){"use strict";i.r(t);var l=i("t3Un");function a(e){return Object(l.a)({url:"/file/pageList",method:"GET",params:e})}function n(e){return Object(l.a)({url:"/file",method:"post",data:e})}function r(e){return Object(l.a)({url:"/file/delete/batch",method:"POST",data:e})}function o(e){return Object(l.a)({url:"/file",method:"put",data:e})}function u(e){return Object(l.a)({url:"/file/"+e.id,method:"get",params:e})}var d=i("X4fA"),s={name:"File",components:{anjiCrud:i("sYqA").default},data:function(){var e=this;return{selectedList:[],uploadUrl:"http://wms.picaiba.com/report-ui/file/upload",crudOption:{title:"文件管理",labelWidth:"120px",queryFormFields:[{inputType:"input",label:"文件路径",field:"filePath"}],tableButtons:[{label:"删除",type:"danger",permission:"fileManage:delete",icon:"el-icon-delete",plain:!1,click:function(){return e.$refs.listPage.handleDeleteBatch()}}],rowButtons:[{label:"复制url",click:this.copyUrlPath},{label:"下载",click:this.customButtom},{label:"删除",permission:"fileManage:delete",click:function(t){return e.$refs.listPage.handleDeleteBatch(t)}}],buttons:{query:{api:a,permission:"fileManage:query",sort:"create_time",order:"DESC"},queryByPrimarykey:{api:u,permission:"fileManage:query"},add:{api:n,permission:"fileManage:upload",isShow:!1},delete:{api:r,permission:"fileManage:delete"},edit:{api:o,permission:"fileManage:update",isShow:!1},rowButtonsWidth:150},columns:[{label:"",field:"id",primaryKey:!0,tableHide:!0,editHide:!0},{label:"图片缩略图",field:"urlPath",columnType:"imgPreview",editHide:!0,placeholder:"",disabled:!1},{label:"文件标识",placeholder:"",field:"fileId",editField:"fileId",tableHide:!0,inputType:"input",rules:[{min:1,max:64,message:"不超过64个字符",trigger:"blur"}],disabled:!1},{label:"文件类型",placeholder:"",field:"fileType",editField:"fileType",inputType:"input",rules:[{min:1,max:1024,message:"不超过1024个字符",trigger:"blur"}],disabled:!1},{label:"文件路径",placeholder:"",field:"filePath",editField:"filePath",inputType:"input",rules:[{min:1,max:1024,message:"不超过1024个字符",trigger:"blur"}],disabled:!1},{label:"url路径",placeholder:"",field:"urlPath",editField:"urlPath",inputType:"input",rules:[{min:1,max:1024,message:"不超过1024个字符",trigger:"blur"}],disabled:!1},{label:"内容说明",placeholder:"",field:"fileInstruction",editField:"fileInstruction",inputType:"input",rules:[{min:1,max:1024,message:"不超过1024个字符",trigger:"blur"}],disabled:!1},{label:"创建人",field:"createByView",columnType:"expand",inputType:"input",disabled:!0},{label:"创建时间",field:"createTime",columnType:"expand",inputType:"input",disabled:!0}]}}},computed:{headers:function(){return{Authorization:Object(d.f)()}}},methods:{handleUpload:function(e,t,i){this.$refs.listPage.handleQueryForm(),this.$refs.upload.clearFiles()},handleError:function(){this.$message({message:"上传失败!",type:"error"})},downloadFile:function(e){window.open(e.urlPath)},customButtom:function(e){this.downloadFile(e)},copyUrlPath:function(e){this.copyToClip(e.urlPath),this.$message({message:"已将url路径复制至剪切板",type:"success"})},copyToClip:function(e,t){var i=document.createElement("input");i.setAttribute("value",e),document.body.appendChild(i),i.select(),document.execCommand("copy"),document.body.removeChild(i)}}},p=(i("wl5f"),i("KHd+")),c=Object(p.a)(s,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("anji-crud",{ref:"listPage",attrs:{option:e.crudOption},scopedSlots:e._u([{key:"tableButtons",fn:function(){return[i("el-upload",{ref:"upload",staticClass:"el-upload",attrs:{action:e.uploadUrl,headers:e.headers,"on-success":e.handleUpload,"on-error":e.handleError,"show-file-list":!1,limit:1}},[i("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"fileManage:upload",expression:"'fileManage:upload'"}],attrs:{type:"primary",icon:"el-icon"}},[e._v("文件上传")])],1)]},proxy:!0},{key:"edit",fn:function(t){return[i("el-button",{attrs:{type:"text"},on:{click:function(i){return e.copyUrlPath(t)}}},[e._v("复制url")])]}},{key:"rowButton",fn:function(t){return[i("el-button",{attrs:{type:"text"},on:{click:function(i){return e.customButtom(t)}}},[e._v("下载")])]}}])})},[],!1,null,"b39c21a8",null);c.options.__file="index.vue";t.default=c.exports},wl5f:function(e,t,i){"use strict";var l=i("5Z1L");i.n(l).a}}]);

Bestand weergeven

@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2194"],{"5Z1L":function(e,t,i){},lAHl:function(e,t,i){"use strict";i.r(t);var l=i("t3Un");function a(e){return Object(l.a)({url:"/file/pageList",method:"GET",params:e})}function n(e){return Object(l.a)({url:"/file",method:"post",data:e})}function r(e){return Object(l.a)({url:"/file/delete/batch",method:"POST",data:e})}function o(e){return Object(l.a)({url:"/file",method:"put",data:e})}function u(e){return Object(l.a)({url:"/file/"+e.id,method:"get",params:e})}var d=i("X4fA"),s={name:"File",components:{anjiCrud:i("sYqA").default},data:function(){var e=this;return{selectedList:[],uploadUrl:".//file/upload",crudOption:{title:"文件管理",labelWidth:"120px",queryFormFields:[{inputType:"input",label:"文件路径",field:"filePath"}],tableButtons:[{label:"删除",type:"danger",permission:"fileManage:delete",icon:"el-icon-delete",plain:!1,click:function(){return e.$refs.listPage.handleDeleteBatch()}}],rowButtons:[{label:"复制url",click:this.copyUrlPath},{label:"下载",click:this.customButtom},{label:"删除",permission:"fileManage:delete",click:function(t){return e.$refs.listPage.handleDeleteBatch(t)}}],buttons:{query:{api:a,permission:"fileManage:query",sort:"create_time",order:"DESC"},queryByPrimarykey:{api:u,permission:"fileManage:query"},add:{api:n,permission:"fileManage:upload",isShow:!1},delete:{api:r,permission:"fileManage:delete"},edit:{api:o,permission:"fileManage:update",isShow:!1},rowButtonsWidth:150},columns:[{label:"",field:"id",primaryKey:!0,tableHide:!0,editHide:!0},{label:"图片缩略图",field:"urlPath",columnType:"imgPreview",editHide:!0,placeholder:"",disabled:!1},{label:"文件标识",placeholder:"",field:"fileId",editField:"fileId",tableHide:!0,inputType:"input",rules:[{min:1,max:64,message:"不超过64个字符",trigger:"blur"}],disabled:!1},{label:"文件类型",placeholder:"",field:"fileType",editField:"fileType",inputType:"input",rules:[{min:1,max:1024,message:"不超过1024个字符",trigger:"blur"}],disabled:!1},{label:"文件路径",placeholder:"",field:"filePath",editField:"filePath",inputType:"input",rules:[{min:1,max:1024,message:"不超过1024个字符",trigger:"blur"}],disabled:!1},{label:"url路径",placeholder:"",field:"urlPath",editField:"urlPath",inputType:"input",rules:[{min:1,max:1024,message:"不超过1024个字符",trigger:"blur"}],disabled:!1},{label:"内容说明",placeholder:"",field:"fileInstruction",editField:"fileInstruction",inputType:"input",rules:[{min:1,max:1024,message:"不超过1024个字符",trigger:"blur"}],disabled:!1},{label:"创建人",field:"createByView",columnType:"expand",inputType:"input",disabled:!0},{label:"创建时间",field:"createTime",columnType:"expand",inputType:"input",disabled:!0}]}}},computed:{headers:function(){return{Authorization:Object(d.f)()}}},methods:{handleUpload:function(e,t,i){this.$refs.listPage.handleQueryForm(),this.$refs.upload.clearFiles()},handleError:function(){this.$message({message:"上传失败!",type:"error"})},downloadFile:function(e){window.open(e.urlPath)},customButtom:function(e){this.downloadFile(e)},copyUrlPath:function(e){this.copyToClip(e.urlPath),this.$message({message:"已将url路径复制至剪切板",type:"success"})},copyToClip:function(e,t){var i=document.createElement("input");i.setAttribute("value",e),document.body.appendChild(i),i.select(),document.execCommand("copy"),document.body.removeChild(i)}}},p=(i("wl5f"),i("KHd+")),c=Object(p.a)(s,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("anji-crud",{ref:"listPage",attrs:{option:e.crudOption},scopedSlots:e._u([{key:"tableButtons",fn:function(){return[i("el-upload",{ref:"upload",staticClass:"el-upload",attrs:{action:e.uploadUrl,headers:e.headers,"on-success":e.handleUpload,"on-error":e.handleError,"show-file-list":!1,limit:1}},[i("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"fileManage:upload",expression:"'fileManage:upload'"}],attrs:{type:"primary",icon:"el-icon"}},[e._v("文件上传")])],1)]},proxy:!0},{key:"edit",fn:function(t){return[i("el-button",{attrs:{type:"text"},on:{click:function(i){return e.copyUrlPath(t)}}},[e._v("复制url")])]}},{key:"rowButton",fn:function(t){return[i("el-button",{attrs:{type:"text"},on:{click:function(i){return e.customButtom(t)}}},[e._v("下载")])]}}])})},[],!1,null,"b39c21a8",null);c.options.__file="index.vue";t.default=c.exports},wl5f:function(e,t,i){"use strict";var l=i("5Z1L");i.n(l).a}}]);

Bestand weergeven

@ -1,4 +1,4 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-25a2"],{"+iuc":function(e,t,n){n("wgeU"),n("FlQf"),n("bBy9"),n("B9jh"),n("dL40"),n("xvv9"),n("V+O7"),e.exports=n("WEpk").Set},"/oaI":function(e,t,n){},"2MPD":function(e,t,n){},"2Tsy":function(e,t,n){},"2V9f":function(e,t,n){},"4rho":function(e,t,n){},"51B1":function(e,t,n){},"5DEy":function(e,t,n){},"62hx":function(e,t,n){},"7zd4":function(e,t,n){},"8ATB":function(e,t,n){},"8gvo":function(e,t,n){},"8iia":function(e,t,n){var i=n("QMMT"),o=n("RRc/");e.exports=function(e){return function(){if(i(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},AbCa:function(e,t,n){},B9jh:function(e,t,n){"use strict";var i=n("Wu5q"),o=n("n3ko");e.exports=n("raTm")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return i.def(o(this,"Set"),e=0===e?0:e,e)}},i)},BjKj:function(e,t,n){},C2SN:function(e,t,n){var i=n("93I4"),o=n("kAMH"),r=n("UWiX")("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),i(t)&&null===(t=t[r])&&(t=void 0)),void 0===t?Array:t}},C6rC:function(e,t,n){},C9rm:function(e,t,n){},CClx:function(e,t,n){},CHaL:function(e,t,n){},CjOT:function(e,t,n){},DTDp:function(e,t,n){},"EPS+":function(e,t,n){},EzsQ:function(e,t,n){},HyZH:function(e,t,n){},"J+ZK":function(e,t,n){},KaET:function(e,t,n){},KgQ1:function(e,t,n){},Krc3:function(e,t,n){},MNXI:function(e,t,n){},MNsG:function(e,t,n){"use strict";(function(e,i){n.d(t,"h",function(){return g}),n.d(t,"e",function(){return m}),n.d(t,"d",function(){return v}),n.d(t,"f",function(){return _}),n.d(t,"g",function(){return y}),n.d(t,"c",function(){return b}),n.d(t,"b",function(){return w}),n.d(t,"i",function(){return C}),n.d(t,"a",function(){return S});var o=!1,r=!1,s=!1,a=!1,u=!1,l=!1,c=void 0,d=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||d){if("object"==typeof e){o="win32"===e.platform,r="darwin"===e.platform,s="linux"===e.platform,"en","en";var h=Object({NODE_ENV:"production",BASE_API:"./"}).VSCODE_NLS_CONFIG;if(h)try{var p=JSON.parse(h),f=p.availableLanguages["*"];p.locale,f||"en",p._translationsConfigFile}catch(e){}a=!0}}else o=(c=navigator.userAgent).indexOf("Windows")>=0,r=c.indexOf("Macintosh")>=0,l=c.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=c.indexOf("Linux")>=0,u=!0,navigator.language;var g=o,m=r,v=s,_=a,y=u,b=l,w="object"==typeof self?self:"object"==typeof i?i:{},C=function(){if(w.setImmediate)return w.setImmediate.bind(w);if("function"==typeof w.postMessage&&!w.importScripts){var t=[];w.addEventListener("message",function(e){if(e.data&&e.data.vscodeSetImmediateId)for(var n=0,i=t.length;n<i;n++){var o=t[n];if(o.id===e.data.vscodeSetImmediateId)return t.splice(n,1),void o.callback()}});var n=0;return function(e){var i=++n;t.push({id:i,callback:e}),w.postMessage({vscodeSetImmediateId:i},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);var i=Promise.resolve();return function(e){return i.then(e)}}(),S=r?2:o?1:3}).call(this,n("8oxB"),n("yLpj"))},OKK6:function(e,t,n){},OhnE:function(e,t,n){},QaAZ:function(e,t,n){},QvA3:function(e,t,n){},RMfO:function(e,t,n){},"RRc/":function(e,t,n){var i=n("oioR");e.exports=function(e,t){var n=[];return i(e,!1,n.push,n,t),n}},TT2d:function(e,t,n){},UCkY:function(e,t,n){},URDS:function(e,t,n){(function(e){
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-25a2"],{"+iuc":function(e,t,n){n("wgeU"),n("FlQf"),n("bBy9"),n("B9jh"),n("dL40"),n("xvv9"),n("V+O7"),e.exports=n("WEpk").Set},"/oaI":function(e,t,n){},"2MPD":function(e,t,n){},"2Tsy":function(e,t,n){},"2V9f":function(e,t,n){},"4rho":function(e,t,n){},"51B1":function(e,t,n){},"5DEy":function(e,t,n){},"62hx":function(e,t,n){},"7zd4":function(e,t,n){},"8ATB":function(e,t,n){},"8gvo":function(e,t,n){},"8iia":function(e,t,n){var i=n("QMMT"),o=n("RRc/");e.exports=function(e){return function(){if(i(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},AbCa:function(e,t,n){},B9jh:function(e,t,n){"use strict";var i=n("Wu5q"),o=n("n3ko");e.exports=n("raTm")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return i.def(o(this,"Set"),e=0===e?0:e,e)}},i)},BjKj:function(e,t,n){},C2SN:function(e,t,n){var i=n("93I4"),o=n("kAMH"),r=n("UWiX")("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),i(t)&&null===(t=t[r])&&(t=void 0)),void 0===t?Array:t}},C6rC:function(e,t,n){},C9rm:function(e,t,n){},CClx:function(e,t,n){},CHaL:function(e,t,n){},CjOT:function(e,t,n){},DTDp:function(e,t,n){},"EPS+":function(e,t,n){},EzsQ:function(e,t,n){},HyZH:function(e,t,n){},"J+ZK":function(e,t,n){},KaET:function(e,t,n){},KgQ1:function(e,t,n){},Krc3:function(e,t,n){},MNXI:function(e,t,n){},MNsG:function(e,t,n){"use strict";(function(e,i){n.d(t,"h",function(){return g}),n.d(t,"e",function(){return m}),n.d(t,"d",function(){return v}),n.d(t,"f",function(){return _}),n.d(t,"g",function(){return y}),n.d(t,"c",function(){return b}),n.d(t,"b",function(){return w}),n.d(t,"i",function(){return C}),n.d(t,"a",function(){return S});var o=!1,r=!1,s=!1,a=!1,u=!1,l=!1,c=void 0,d=void 0!==e&&void 0!==e.versions&&void 0!==e.versions.electron&&"renderer"===e.type;if("object"!=typeof navigator||d){if("object"==typeof e){o="win32"===e.platform,r="darwin"===e.platform,s="linux"===e.platform,"en","en";var h=Object({NODE_ENV:"production",BASE_API:"http://wms.picaiba.com/report-ui"}).VSCODE_NLS_CONFIG;if(h)try{var p=JSON.parse(h),f=p.availableLanguages["*"];p.locale,f||"en",p._translationsConfigFile}catch(e){}a=!0}}else o=(c=navigator.userAgent).indexOf("Windows")>=0,r=c.indexOf("Macintosh")>=0,l=c.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=c.indexOf("Linux")>=0,u=!0,navigator.language;var g=o,m=r,v=s,_=a,y=u,b=l,w="object"==typeof self?self:"object"==typeof i?i:{},C=function(){if(w.setImmediate)return w.setImmediate.bind(w);if("function"==typeof w.postMessage&&!w.importScripts){var t=[];w.addEventListener("message",function(e){if(e.data&&e.data.vscodeSetImmediateId)for(var n=0,i=t.length;n<i;n++){var o=t[n];if(o.id===e.data.vscodeSetImmediateId)return t.splice(n,1),void o.callback()}});var n=0;return function(e){var i=++n;t.push({id:i,callback:e}),w.postMessage({vscodeSetImmediateId:i},"*")}}if(void 0!==e&&"function"==typeof e.nextTick)return e.nextTick.bind(e);var i=Promise.resolve();return function(e){return i.then(e)}}(),S=r?2:o?1:3}).call(this,n("8oxB"),n("yLpj"))},OKK6:function(e,t,n){},OhnE:function(e,t,n){},QaAZ:function(e,t,n){},QvA3:function(e,t,n){},RMfO:function(e,t,n){},"RRc/":function(e,t,n){var i=n("oioR");e.exports=function(e,t){var n=[];return i(e,!1,n.push,n,t),n}},TT2d:function(e,t,n){},UCkY:function(e,t,n){},URDS:function(e,t,n){(function(e){
/*!
Copyright (c) 2014 Taylor Hakes
Copyright (c) 2014 Forbes Lindesay

Bestand-diff onderdrukt omdat een of meer regels te lang zijn

Bestand-diff onderdrukt omdat een of meer regels te lang zijn