{"version":3,"sources":["webpack:///./src/Entity/BaseModel.ts","webpack:///./src/Entity/weixin/WxText.ts","webpack:///./src/Entity/weixin/WxTextImg.ts","webpack:///./src/Entity/weixin/WxImg.ts","webpack:///./src/Entity/weixin/WxVoid.ts","webpack:///./src/Entity/weixin/WxGroup.ts","webpack:///./src/Entity/weixin/WxMenu.ts","webpack:///./src/Entity/weixin/ReplyHelp.ts","webpack:///./src/Entity/weixin/DataElement.ts","webpack:///./src/views/tenants/tenantsView/wx-message_ImgTable.vue?e39b","webpack:///./src/views/tenants/tenantsView/wx-message_ImgTable.vue?fd1a","webpack:///./src/views/tenants/tenantsView/wx-message_ImgTable.vue?25f6","webpack:///./src/views/tenants/tenantsView/wx-message_ImgTable.vue","webpack:///./node_modules/core-js/modules/es6.regexp.split.js","webpack:///./src/JS/Bus.ts","webpack:///./src/views/tenants/tenantsView/wx-message_ImgTable.vue?3bd7"],"names":["ActionName","ApplicationId","TenantId","TextId","Type","Contents","Keyword","State","GraphicId","Nature","GraphicTitle","UpdaterName","CoverImage","Reward","SortId","Comment","FollowDisplay","DetailImage","OnlyFansCanComment","ThumbMediaId","Synchronize","ContentSourceUrl","switchType","switchDetailImage","switchReward","switchComment","switchFollowDisplay","switchState","switchOnlyFansCanComment","ImageId","JumpLink","UploadImage","MediaId","VoiceId","VoiceTitle","VoiceLink","HighLink","Description","ReallyImage","GatherId","Title","MsgType","SendType","Sex","Provide","City","Area","SetSendDate","IsSetSendDate","Status","SendStatus","peopleList","Id","Aid","ParentId","TypeCode","TypeCodeTwo","TypeName","MenuName","Url","AppId","Remark","Enable","TableName","menuData","Individuation","IndividuationName","sub_button","momentDataArr","TimeSlot","ReplyTypeId","Remarks","LinkUrl","ImgUrl","AppReplyId","AppReplyType","AppReplyName","MultipleReplies","ElementCode","ElementName","SortNumber","DomainCode","render","_vm","this","_h","$createElement","_c","_self","staticClass","directives","name","rawName","value","expression","attrs","loadingText","style","marginBottom","on","AddImgTextEdit","_v","GetDownload","GetUpload","staticStyle","slot","Inquire","model","callback","$$v","getImgList","inboxTabData","scrollHeight","formatNature","scopedSlots","_u","key","fn","scope","showImg","row","formatStatus","formatDate","formatState","$event","handleEdit","$index","handleDel","pageIndex","pagesize","totalItem","handleSizeChange","handleCurrentChange","Data","TextImgEdit","refresh","viewImage","picture","url","height","staticRenderFns","ImgEdit","imgTabData","loading","GetAppData","val","loadData","params","Input","Name","SaveImgText","res","ErrorCode","$message","success","imageUrl","img_url","img","Image","src","Math","ceil","width","tempData","split","column","index","UpdaterDate","date","replace","substring","TenantID","that","Bus","$off","$on","obj","document","body","$confirm","confirmButtonText","cancelButtonText","type","then","AppAccount","UpdateDbOthersMediaListAsync","error","ErrorMessage","UploadWxOthersMediaListAsync","slice","length","_this","push","GetImgText","output","filter","x","toUpperCase","indexOf","trim","act","confirmStr","components","wxImgEdit","component","isRegExp","anObject","speciesConstructor","advanceStringIndex","toLength","callRegExpExec","regexpExec","fails","$min","min","$push","$SPLIT","LENGTH","LAST_INDEX","MAX_UINT32","SUPPORTS_Y","RegExp","defined","SPLIT","$split","maybeCallNative","internalSplit","separator","limit","string","String","undefined","call","match","lastIndex","lastLength","flags","ignoreCase","multiline","unicode","sticky","lastLastIndex","splitLimit","separatorCopy","source","apply","test","O","splitter","regexp","done","rx","S","C","unicodeMatching","lim","p","q","A","e","z","i","bus"],"mappings":"6fAEa,EAAb,oCACQ,KAAAA,WAA0B,SAC1B,KAAAC,cAAqB,GACrB,KAAAC,SAAgB,I,8cCFjB,IAAO,EAAd,4F,0BACQ,EAAAC,OAAc,EACd,EAAAC,KAAY,EACZ,EAAAC,SAAgB,GAChB,EAAAC,QAAe,GACf,EAAAC,MAAa,EALrB,YAA6B,G,8cCAtB,IAAM,EAAb,4F,0BACI,EAAAC,UAAoB,EACpB,EAAAJ,KAAe,EACf,EAAAK,OAAc,EACd,EAAAJ,SAAmB,GACnB,EAAAC,QAAkB,GAClB,EAAAI,aAAuB,GACvB,EAAAC,YAAsB,GACtB,EAAAC,WA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pE,SAAWiE,EAAK,OAAOG,EAC7B,IAAK,IAAIG,EAAI,EAAGA,GAAKD,EAAEtE,OAAS,EAAGuE,IAEjC,GADAH,EAAElE,KAAKoE,EAAEC,IACLH,EAAEpE,SAAWiE,EAAK,OAAOG,EAE/BD,EAAID,EAAIG,GAIZ,OADAD,EAAElE,KAAK4D,EAAE/D,MAAMmE,IACRE,Q,2DClIb,gBAGMI,EAAM,IAAI,aAED,U,kCCLf,yBAA2qB,EAAG","file":"js/chunk-9a48439c.9e8f4425.js","sourcesContent":["import { ActionNameType } from \"./Type/ActionNameType\";\r\n\r\nexport class BaseModel{\r\n ActionName:ActionNameType=\"CREATE\"\r\n ApplicationId:string=\"\"\r\n TenantId:string=\"\"\r\n}","/**文本回复的字段 */\r\nimport { BaseModel } from '../BaseModel';\r\n\r\nexport class WXText extends BaseModel{ \r\n TextId:number=0 \r\n Type:number=1\r\n Contents:string=\"\"\r\n Keyword:string=\"\"\r\n State:number=1 \r\n}","/**图文回复的字段 */\r\nimport { BaseModel } from '../BaseModel';\r\n\r\nexport class WxTextImg extends BaseModel {\r\n GraphicId: number = 0\r\n Type: number = 1\r\n Nature:number=1\r\n Contents: string = \"\"\r\n Keyword: string = \"\"\r\n GraphicTitle: string = \"\"\r\n UpdaterName: string = \"\"\r\n CoverImage: string = \"\"\r\n Reward:number=0\r\n SortId:number=0\r\n Comment:number=0\r\n FollowDisplay:number=0\r\n DetailImage:number=0\r\n OnlyFansCanComment:number=0\r\n State:number=1//审核状态\r\n ThumbMediaId:string=\"\"\r\n Synchronize:number=0\r\n ContentSourceUrl:string=\"\"\r\n switchType:boolean=false\r\n switchDetailImage:boolean=false\r\n switchReward:boolean=false\r\n switchComment:boolean=false\r\n switchFollowDisplay:boolean=true\r\n switchState:boolean=true\r\n switchOnlyFansCanComment:boolean=false;\r\n}","/**图片回复的字段 */\r\nimport { BaseModel } from '../BaseModel';\r\n\r\nexport class WxImg extends BaseModel{ \r\n ImageId:number=0 \r\n Type:number=1\r\n JumpLink:string=\"\"\r\n UploadImage:string=\"\"\r\n Keyword:string=\"\"\r\n State:number=1\r\n Nature:number=0\r\n MediaId:string=\"\" \r\n}","/**语音回复的字段 */\r\nimport { BaseModel } from '../BaseModel';\r\n\r\nexport class WxVoid extends BaseModel {\r\n VoiceId: number = 0\r\n Type: number = 1\r\n VoiceTitle: string = \"\"\r\n VoiceLink: string = \"\"\r\n HighLink: string = \"\"\r\n Description: string = \"\"\r\n Keyword: string = \"\"\r\n ReallyImage: string = \"\"\r\n State: number = 1\r\n Nature:number=0\r\n MediaId:string=\"\"\r\n}","/**图片回复的字段 */\r\nimport { BaseModel } from '../BaseModel';\r\n\r\nexport class WxGroup extends BaseModel{ \r\n GatherId:number=0 \r\n Title:string=\"\"\r\n MsgType:number=99\r\n SendType:any=1\r\n Sex:number=-1\r\n Provide:any=[]\r\n City:any=[]\r\n Area:any=[]\r\n SetSendDate:string=\"\"\r\n IsSetSendDate:number=1\r\n txtImportFans:any\r\n Status:number=1\r\n SendStatus:any=0;\r\n peopleList:any=[];\r\n}","/*微信菜单 */\r\nimport { BaseModel } from '../BaseModel';\r\n\r\nexport class WxMenu extends BaseModel {\r\n Id:Number=0\r\n Aid:Number=0\r\n ParentId:Number=0\r\n TypeCode:string=\"click\"\r\n TypeCodeTwo:string=\"wx-text\"\r\n TypeName:string=\"\"\r\n MenuName:string= \"\"\r\n Url:string=\"\"\r\n AppId:string=\"\"\r\n Remark:string=\"\"\r\n SortId:string=\"10\"\r\n Enable:string=\"1\"\r\n TableName:string=\"\"\r\n menuData:any = ''\r\n Individuation:Number=0\r\n IndividuationName:string=\"\"\r\n sub_button:any= []\r\n momentDataArr:string=\"\"\r\n}","// 关注时回复与帮助\r\nimport { BaseModel } from '../BaseModel';\r\nexport class ReplyHelp extends BaseModel{ \r\n TimeSlot:any= []//时段\r\n Type:number=0//0、自定义;1、选择关键词\r\n ReplyTypeId:number= 2//回复类型:0、非定义时段回复,1、单图片;2、文本回复;3、外链图文;4、多媒体\r\n Title:string= \"\"//回复标题:\r\n Remarks:string= \"\"//回复简介\r\n LinkUrl:string= \"\"//选择外链图文\r\n ImgUrl:string= \"\"//回复图片\r\n Contents:string= \"\"//回复内容:\r\n AppReplyId:number=0//TA_AppReplyGraphic、TA_AppReplyImage、TA_AppReplyText、TA_AppReplyVoice表的ID\r\n AppReplyType:string=\"\"//AppReplyText 文本,AppReplyImage 图片,AppReplyGraphic 图文、AppReplyVoice 多媒体\r\n AppReplyName:string=\"\"\r\n MediaId:string=\"\"\r\n Keyword:string=\"\"\r\n State:number=1\r\n MultipleReplies:string=\"0\" \r\n}","// 数据字典\r\nimport { BaseModel } from '../BaseModel';\r\nexport class DataElement extends BaseModel{ \r\n ElementCode:string= \"\"\r\n ElementName:string= \"\"\r\n SortNumber:string= \"10\"\r\n Remark: string=\"\"\r\n DomainCode: string=\"\"\r\n Status:number= 1\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"wx-message_TextTable\"},[(_vm.ImgEdit)?_c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"element-loading-text\":_vm.loadingText,\"element-loading-spinner\":\"el-icon-loading\",\"element-loading-background\":\"rgba(0, 0, 0, 0.8)\"}},[_c('div',{staticClass:\"marginbottom\"},[_c('el-button',{style:({marginBottom:'5px'}),attrs:{\"icon\":\"el-icon-plus\",\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":_vm.AddImgTextEdit}},[_vm._v(\"新增图片回复\")]),_c('el-button',{attrs:{\"size\":\"small\",\"icon\":\"el-icon-download\"},on:{\"click\":_vm.GetDownload}},[_vm._v(\"拉取微信素材库\")]),_c('el-button',{attrs:{\"size\":\"small\",\"icon\":\"el-icon-upload2\"},on:{\"click\":_vm.GetUpload}},[_vm._v(\"推送微信素材库\")]),_c('span',{staticClass:\"reminder marginleft20\"},[_vm._v(\"温馨提示\")]),_c('el-tooltip',{attrs:{\"placement\":\"bottom-start\"}},[_c('div',{staticStyle:{\"max-width\":\"450px\"},attrs:{\"slot\":\"content\"},slot:\"content\"},[_vm._v(\"永久素材: 需要同步微信素材库关键词才有效;临时素材:不能同步微信素材库\")]),_c('i',{staticClass:\"el-icon-warning-outline\",staticStyle:{\"margin-right\":\"20px\"}})]),_c('el-select',{staticStyle:{\"width\":\"100px\",\"margin-right\":\"10px\"},style:({marginBottom:'5px'}),attrs:{\"size\":\"small\",\"placeholder\":\"选择状态\"},on:{\"change\":_vm.Inquire},model:{value:(_vm.State),callback:function ($$v) {_vm.State=$$v},expression:\"State\"}},[_c('el-option',{attrs:{\"label\":\"全部\"}}),_c('el-option',{attrs:{\"label\":\"启用\",\"value\":\"1\"}}),_c('el-option',{attrs:{\"label\":\"禁用\",\"value\":\"0\"}})],1),_c('el-select',{staticStyle:{\"width\":\"150px\",\"margin-right\":\"10px\"},attrs:{\"size\":\"small\",\"placeholder\":\"请选择素材类型\"},on:{\"change\":_vm.getImgList},model:{value:(_vm.Nature),callback:function ($$v) {_vm.Nature=$$v},expression:\"Nature\"}},[_c('el-option',{attrs:{\"label\":\"请选择素材类型\",\"value\":\"\"}}),_c('el-option',{attrs:{\"label\":\"永久素材\",\"value\":\"1\"}}),_c('el-option',{attrs:{\"label\":\"临时素材\",\"value\":\"0\"}})],1),_c('el-input',{staticStyle:{\"width\":\"250px\",\"margin-right\":\"10px\"},attrs:{\"prefix-icon\":\"el-icon-search\",\"placeholder\":\"请输入关键词搜索\",\"size\":\"small\",\"maxlength\":\"50\",\"show-word-limit\":\"\"},model:{value:(_vm.Keyword),callback:function ($$v) {_vm.Keyword=$$v},expression:\"Keyword\"}}),_c('el-button',{attrs:{\"icon\":\"el-icon-search\",\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":_vm.Inquire}},[_vm._v(\"查询\")])],1),_c('div',{staticClass:\"Datatable\"},[_c('el-table',{staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.inboxTabData,\"stripe\":\"\",\"height\":_vm.scrollHeight}},[_c('el-table-column',{attrs:{\"label\":\"关键字\",\"prop\":\"Keyword\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"素材类型\",\"prop\":\"Nature\",\"formatter\":_vm.formatNature,\"width\":\"90\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"图片\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('img',{staticStyle:{\"width\":\"35px\",\"height\":\"35px\"},attrs:{\"src\":_vm.showImg(scope.row.UploadImage),\"onclick\":'window.open(\\''+_vm.showImg(scope.row.UploadImage)+'\\')'}})]}}],null,false,3667023116)}),_c('el-table-column',{attrs:{\"label\":\"跳转地址\",\"prop\":\"JumpLink\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"匹配类型\",\"prop\":\"Type\",\"width\":\"100\",\"formatter\":_vm.formatStatus,\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"添加时间\",\"prop\":\"CreatorDate\",\"formatter\":_vm.formatDate,\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"状态\",\"prop\":\"State\",\"width\":\"60\",\"formatter\":_vm.formatState}}),_c('el-table-column',{attrs:{\"label\":\"操作\",\"width\":\"100\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-link',{staticClass:\"cursor\",staticStyle:{\"margin-right\":\"10px\"},attrs:{\"icon\":\"el-icon-edit\",\"underline\":false,\"title\":\"编辑\"},on:{\"click\":function($event){return _vm.handleEdit(scope.$index, scope.row)}}}),_c('el-link',{staticClass:\"cursor\",staticStyle:{\"margin-right\":\"10px\"},attrs:{\"icon\":\"el-icon-document-delete\",\"underline\":false,\"title\":\"删除\"},on:{\"click\":function($event){return _vm.handleDel(scope.$index, scope.row,'this')}}}),_c('el-link',{directives:[{name:\"show\",rawName:\"v-show\",value:(scope.row.Nature=='1'&&scope.row.MediaId!=''),expression:\"scope.row.Nature=='1'&&scope.row.MediaId!=''\"}],staticClass:\"cursor\",staticStyle:{\"margin-right\":\"10px\"},attrs:{\"icon\":\"el-icon-delete\",\"underline\":false,\"title\":\"微信同步删除\"},on:{\"click\":function($event){return _vm.handleDel(scope.$index, scope.row,'wxdel')}}})]}}],null,false,1843367713)})],1)],1),_c('div',{staticClass:\"managerfy\"},[_c('el-pagination',{attrs:{\"current-page\":_vm.pageIndex,\"page-sizes\":[10,15,20],\"page-size\":_vm.pagesize,\"layout\":\"total, sizes, prev, pager, next, jumper\",\"total\":_vm.totalItem},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1)]):_c('wxImgEdit',{attrs:{\"AddaccountForm\":_vm.Data},on:{\"backtable\":function($event){_vm.TextImgEdit=!_vm.TextImgEdit},\"refresh\":function($event){return _vm.refresh()}}}),_c('div',{staticClass:\"wxxxgl-dialog-wrap\"},[_c('el-dialog',{attrs:{\"title\":\"查看图片\",\"visible\":_vm.viewImage,\"center\":\"\"},on:{\"update:visible\":function($event){_vm.viewImage=$event}}},[_c('div',{staticClass:\"matchDaialogClass\"},[_c('a',{attrs:{\"href\":_vm.picture.url,\"target\":\"_blank\"}},[_c('img',{attrs:{\"src\":_vm.picture.url,\"height\":_vm.picture.height}})])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Provide, Vue, Watch } from \"vue-property-decorator\";\r\nimport wxImgEdit from \"../tenantsView/wx-message_ImgEdit.vue\"; //图片回复表单\r\nimport wxTextEdit from \"../tenantsView/wx-message_TextEdit.vue\"; //文本回复表单\r\nimport HttpClient from \"@/API/HttpClient\";\r\nimport Utils from \"@/store/utils\";\r\nimport httpApi from \"@/API/Tenant/Weixin\";\r\nimport { format } from \"path\";\r\n\r\n//import App from \"@/components/Global/GetAppData\"; //缓存接口\r\nimport { log } from \"util\";\r\nimport { WxImg } from \"@/Entity\"; //全局常量\r\nimport { getCookie } from \"@/JS/cookie\"; //使用getCookie方法\r\nimport Bus from \"@/JS/Bus\";\r\n@Component({\r\n components: { wxImgEdit }\r\n})\r\nexport default class extends Vue {\r\n $message: any;\r\n //注入数据 @Provide()\r\n @Provide()\r\n private pagesize = 10; //每页的数据条数\r\n private pageIndex = 1; // 默认第一页\r\n private totalItem = 0; //数据总长度\r\n private Keyword = \"\"; //搜索\r\n private ImgEdit = true;\r\n private Data = {}; //把行信息传到子组件\r\n private imgTabData = [];\r\n private loading = false; //加载数据\r\n private inboxTabData: any = [];\r\n private loadingText = \"数据正在同步中,请稍后.....\";\r\n private Nature: string = \"\";\r\n private State: string = \"\"; //状态\r\n private scrollHeight = 500; //当前高度\r\n private GetAppData: any = []; //取应用号信息\r\n //查看图片相关\r\n private viewImage = false;\r\n private picture = {\r\n url: \"\",\r\n height: \"\"\r\n };\r\n //方法\r\n private handleClick() {}\r\n private handleSizeChange(val: any) {\r\n this.pagesize = val;\r\n this.loadData();\r\n }\r\n private handleCurrentChange(val: any) {\r\n this.pageIndex = val;\r\n this.loadData();\r\n }\r\n //只修改关键词\r\n async UpdateKeyword(row: any) {\r\n //this.$message.success(\"只修改关键词\"+JSON.stringify(row));\r\n row.ActionName = \"UPDATE\"; //修改方法\r\n let params: any = {\r\n Input: [\r\n {\r\n Name: \"AppReplyImageDTO\",\r\n value: row\r\n }\r\n ]\r\n };\r\n var res: any = await httpApi.SaveImgText(params);\r\n if (res.ErrorCode == 0) {\r\n this.$message.success(\"保存成功!\");\r\n } else {\r\n }\r\n }\r\n //查看图片\r\n onViewImage(imageUrl: string) {\r\n if (imageUrl) {\r\n this.viewImage = true;\r\n var img_url = imageUrl;\r\n var img = new Image();\r\n img.src = img_url;\r\n this.picture.height = Math.ceil((img.height / img.width) * 570) + \"px\";\r\n this.picture.url = imageUrl;\r\n }\r\n }\r\n //显示图片\r\n private showImg(val: string) {\r\n var tempData = val.split(\"?\");\r\n return tempData[0];\r\n }\r\n //格式化状态\r\n formatState(row: any, column: any) {\r\n switch (row.State) {\r\n case 1:\r\n return \"启用\";\r\n case 0:\r\n return \"禁用\";\r\n case -1:\r\n return \"删除\";\r\n }\r\n }\r\n //新增文本回复\r\n AddImgTextEdit() {\r\n this.ImgEdit = false;\r\n this.Data = new WxImg();\r\n }\r\n handleEdit(index: any, row: any) {\r\n this.Data = row; //把行信息传给data\r\n this.ImgEdit = false;\r\n }\r\n\r\n //格式化时间\r\n formatDate(row: any, column: any) {\r\n if (row.UpdaterDate != null && row.UpdaterDate != \"\") {\r\n // var date = new Date(row.UpdaterDate);\r\n // return FomatDataStr.formatTimeToStr(date, \"yyyy-MM-dd hh:mm:ss\");\r\n var date = row.UpdaterDate;\r\n date = date.replace(\"T\", \" \");\r\n date = date.substring(0, 16);\r\n return date;\r\n } else {\r\n return \"\";\r\n }\r\n }\r\n\r\n //格式化匹配度类型\r\n formatStatus(row: any, column: any) {\r\n switch (row.Type) {\r\n case 0:\r\n return \"包含匹配\";\r\n case 1:\r\n return \"完全匹配\";\r\n default:\r\n return \"\";\r\n }\r\n }\r\n //素材类型\r\n formatNature(row: any, column: any) {\r\n if (row.Nature == `1`) {\r\n return `永久素材`;\r\n } else {\r\n return `临时素材`;\r\n }\r\n }\r\n //查询方法\r\n Inquire() {\r\n this.getImgList();\r\n }\r\n //表单过来的刷新方法\r\n refresh() {\r\n this.getImgList();\r\n this.ImgEdit = true;\r\n }\r\n //初始化\r\n created() {\r\n let Aid = getCookie(\"Aid\");\r\n let TenantID = getCookie(\"TenantID\");\r\n this.GetAppData = {\r\n Aid: Aid,\r\n TenantID: TenantID\r\n };\r\n var that = this;\r\n Bus.$off(\"switchAccountFn\");\r\n Bus.$on(\"switchAccountFn\", (obj:any) => {\r\n that.GetAppData.Aid=obj.Aid; \r\n that.getImgList(); \r\n });\r\n this.getImgList();\r\n this.scrollHeight = document.body.scrollHeight - 440;\r\n }\r\n\r\n //拉取微信素材库\r\n async GetDownload() {\r\n this.$confirm(\r\n \"拉取素材前会删除本地的永久素材确定要操作,建议先推送再拉取\",\r\n \"提示\",\r\n {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\"\r\n }\r\n ).then(async () => {\r\n let AppAccount = this.GetAppData;\r\n if (AppAccount) {\r\n this.loading = true;\r\n this.loadingText = \"数据正在拉取中,请稍后.....\";\r\n let params: any = {\r\n Input: [\r\n {\r\n Name: \"dto\",\r\n value: { TenantID: AppAccount.TenantID, Aid: AppAccount.Aid }\r\n },\r\n { Name: \"type\", value: 0 }\r\n ]\r\n };\r\n var res: any = await httpApi.UpdateDbOthersMediaListAsync(params);\r\n this.loading = false;\r\n if (res.ErrorCode == 0) {\r\n this.$message.success(\"拉取成功!\");\r\n this.getImgList();\r\n } else {\r\n this.$message.error(res.ErrorMessage);\r\n }\r\n }\r\n });\r\n }\r\n //推送数据\r\n async GetUpload() {\r\n let AppAccount = this.GetAppData;\r\n if (AppAccount) {\r\n this.loading = true;\r\n this.loadingText = \"数据正在推送中,请稍后.....\";\r\n let params: any = {\r\n Input: [\r\n {\r\n Name: \"dto\",\r\n value: { TenantID: AppAccount.TenantID, Aid: AppAccount.Aid }\r\n },\r\n { Name: \"type\", value: 0 }\r\n ]\r\n };\r\n var res: any = await httpApi.UploadWxOthersMediaListAsync(params);\r\n this.loading = false;\r\n if (res.ErrorCode == 0) {\r\n this.$message.success(\"推送成功!\");\r\n //this.getImgList();\r\n } else {\r\n this.$message.error(res.ErrorMessage);\r\n }\r\n }\r\n }\r\n //加载分页数据\r\n loadData() {\r\n if (this.imgTabData) {\r\n this.inboxTabData = this.imgTabData.slice(\r\n (this.pageIndex - 1) * this.pagesize,\r\n this.pageIndex * this.pagesize\r\n );\r\n this.totalItem = this.imgTabData.length;\r\n }\r\n }\r\n //加载数据\r\n async getImgList() {\r\n var _this = this;\r\n //console.log(this.GetAppData);\r\n let AppAccount = this.GetAppData;\r\n if (AppAccount) {\r\n this.loading=true;\r\n //搜索的数据 传参\r\n let params: any = {\r\n Input: [\r\n { Name: \"Aid\", value: AppAccount.Aid },\r\n { Name: \"Nature\", value: this.Nature },\r\n //分页参数\r\n { Name: \"page\", value: this.pageIndex },\r\n { Name: \"rows\", value: this.pagesize }\r\n ]\r\n };\r\n if (this.State) {\r\n params.Input.push({ Name: \"State\", value: this.State });\r\n }\r\n //console.log(params);\r\n var res: any = await httpApi.GetImgText(params);\r\n this.loading=false;\r\n if (res.ErrorCode == 0) {\r\n _this.imgTabData = res.output[0].value;\r\n //console.log(\"图片数据\", _this.imgTabData);\r\n //前端搜索\r\n if (_this.Keyword) {\r\n _this.imgTabData = res.output[0].value.filter(\r\n (x: {\r\n Keyword: {\r\n toUpperCase: () => { indexOf: (arg0: string) => number };\r\n };\r\n }) =>\r\n x.Keyword.toUpperCase().indexOf(\r\n _this.Keyword.trim().toUpperCase()\r\n ) != -1\r\n );\r\n }\r\n // _this.totalItem = _this.imgTabData.length;\r\n this.loadData();\r\n } else {\r\n this.$message.error(res.ErrorMessage);\r\n }\r\n }\r\n }\r\n //单行删除\r\n async handleDel(index: any, row: any, act: string) {\r\n let confirmStr = \"确定要删除当前数据吗?\";\r\n if (act == \"wxdel\")\r\n confirmStr = \"确定要删除当前数据,微信也同步删除确定要操作吗?\";\r\n this.$confirm(confirmStr, \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\"\r\n }).then(async () => {\r\n let model = row as WxImg; //把行内信息转换成wxText\r\n var _this = this;\r\n let AppAccount = this.GetAppData;\r\n\r\n if (AppAccount) {\r\n model.ApplicationId = AppAccount.Aid;\r\n model.TenantId = AppAccount.TenantID;\r\n model.ActionName = \"DELETE\";\r\n let params: any = {\r\n Input: [\r\n {\r\n Name: \"AppReplyImageDTO\",\r\n value: model\r\n },\r\n {\r\n Name: \"act\",\r\n value: act\r\n }\r\n ]\r\n };\r\n var res: any = await httpApi.SaveImgText(params);\r\n if (res.ErrorCode == 0) {\r\n this.$message.success(\"删除成功!\");\r\n this.getImgList();\r\n } else {\r\n this.$message.error(\"删除失败:\" + res.ErrorMessage);\r\n }\r\n }\r\n return new WxImg();\r\n });\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./wx-message_ImgTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./wx-message_ImgTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./wx-message_ImgTable.vue?vue&type=template&id=9969010c&scoped=true&\"\nimport script from \"./wx-message_ImgTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./wx-message_ImgTable.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./wx-message_ImgTable.vue?vue&type=style&index=0&id=9969010c&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9969010c\",\n null\n \n)\n\nexport default component.exports","'use strict';\n\nvar isRegExp = require('./_is-regexp');\nvar anObject = require('./_an-object');\nvar speciesConstructor = require('./_species-constructor');\nvar advanceStringIndex = require('./_advance-string-index');\nvar toLength = require('./_to-length');\nvar callRegExpExec = require('./_regexp-exec-abstract');\nvar regexpExec = require('./_regexp-exec');\nvar fails = require('./_fails');\nvar $min = Math.min;\nvar $push = [].push;\nvar $SPLIT = 'split';\nvar LENGTH = 'length';\nvar LAST_INDEX = 'lastIndex';\nvar MAX_UINT32 = 0xffffffff;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\nrequire('./_fix-re-wks')('split', 2, function (defined, SPLIT, $split, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = String(this);\n if (separator === undefined && limit === 0) return [];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) return $split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy[LAST_INDEX];\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if (output[LENGTH] >= splitLimit) break;\n }\n if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if (lastLastIndex === string[LENGTH]) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);\n };\n } else {\n internalSplit = $split;\n }\n\n return [\n // `String.prototype.split` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = defined(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined\n ? splitter.call(separator, O, limit)\n : internalSplit.call(String(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (SUPPORTS_Y ? 'y' : 'g');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n if (\n z === null ||\n (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n A.push(S.slice(p));\n return A;\n }\n ];\n});\n","import Vue from 'vue';\r\n\r\n// 使用 Event Bus\r\nconst bus = new Vue();\r\n\r\nexport default bus;\r\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./wx-message_ImgTable.vue?vue&type=style&index=0&id=9969010c&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../node_modules/style-resources-loader/lib/index.js??ref--10-oneOf-1-4!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./wx-message_ImgTable.vue?vue&type=style&index=0&id=9969010c&lang=less&scoped=true&\""],"sourceRoot":""}