cpop_nftmeta_sdm/web/admin-web/static/js/chunk-23548d2a.3958ce07.js
2024-10-25 16:17:26 +08:00

1 line
5.8 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-23548d2a"],{"43cb":function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return o})),r.d(e,"d",(function(){return i})),r.d(e,"c",(function(){return l}));var a=r("b775");function n(t){return Object(a["a"])({url:"/admin/zshareactivityplatform",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/admin/zshareactivityplatform/"+t,method:"delete"})}function i(t){return Object(a["a"])({url:"/admin/zshareactivityplatform/get/vo/"+t,method:"get"})}function l(t){return Object(a["a"])({url:"/admin/zshareactivityplatform/get/platform/"+t,method:"get"})}},"6b4d":function(t,e,r){"use strict";r.d(e,"c",(function(){return n})),r.d(e,"a",(function(){return o})),r.d(e,"f",(function(){return i})),r.d(e,"b",(function(){return l})),r.d(e,"e",(function(){return c})),r.d(e,"d",(function(){return s}));var a=r("b775");function n(t){return Object(a["a"])({url:"/admin/zactivitycheck/page",method:"get",params:t})}function o(t){return Object(a["a"])({url:"/admin/zactivitycheck",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/admin/zactivitycheck",method:"put",data:t})}function l(t){return Object(a["a"])({url:"/admin/zactivitycheck/"+t,method:"delete"})}function c(t,e,r){return Object(a["a"])({url:"/admin/zactivitycheck/sharing/"+t+"/"+e+"/"+r,method:"get"})}function s(t){return Object(a["a"])({url:"/admin/zactivitycheck/midjourney",method:"post",data:t})}},ab56:function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-dialog",{attrs:{title:"完成详情",visible:t.show,width:"600px"},on:{"update:visible":function(e){t.show=e}}},[r("el-form",{ref:"form",attrs:{model:t.form,"label-width":"90px",rules:t.rules}},[r("el-form-item",{attrs:{label:"活动标题:",prop:""}},[r("span",[t._v(t._s(t.form.title))])]),t._v(" "),r("el-form-item",{attrs:{label:"用户昵称:",prop:"nickname"}},[r("span",[t._v(t._s(t.form.nickname))])]),t._v(" "),r("el-form-item",{attrs:{label:"手机号:",prop:"username"}},[r("span",[t._v(t._s(t.form.username))])]),t._v(" "),r("el-form-item",{attrs:{label:"图片",prop:"imgUrl"}},[r("el-image",{staticClass:"img-evetNot",attrs:{src:t.form.imgUrl}})],1),t._v(" "),r("el-form-item",{attrs:{label:"是否通过",prop:"checkStatus"}},[r("custom-select",{attrs:{options:t.check},model:{value:t.form.checkStatus,callback:function(e){t.$set(t.form,"checkStatus",e)},expression:"form.checkStatus"}})],1),t._v(" "),1==this.form.checkStatus&&3==this.form.type?r("el-form-item",{attrs:{label:"分享平台",prop:"platformId"}},[r("custom-select",{attrs:{search:!0,options:t.platformList,prop:{label:"platform",value:"id"}},model:{value:t.form.platformId,callback:function(e){t.$set(t.form,"platformId",e)},expression:"form.platformId"}})],1):t._e(),t._v(" "),r("el-form-item",{attrs:{label:"备注",prop:"remark"}},[r("el-input",{attrs:{type:"textarea"},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1)],1),t._v(" "),r("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{type:"primary"},on:{click:t.saveHandler}},[t._v(t._s(t.btn_title))]),t._v(" "),r("el-button",{on:{click:t.close}},[t._v("取消")])],1)],1)},n=[],o=r("6b4d"),i=r("e1c8"),l=r("ff39"),c=r("43cb"),s={components:{customSelect:i["default"]},name:"zActivityCheckForm",data:function(){return{checkType:l["b"],form:{platformId:""},show:!1,loading:!1,rules:{checkStatus:[{required:!0,trigger:"blur",message:"请选择是否通过"}],platformId:[{required:!0,trigger:"blur",message:"请选择分享平台"}]},check:[{label:"通过",value:1},{label:"不通过",value:2}],platformList:[],midjourneyCheck:{}}},computed:{formState:function(){return!this.form.id},btn_title:function(){return this.formState?"新建":"保存"}},methods:{open:function(t){if(t){var e=Object.assign({},t);this.form=e,this.form.checkStatus=null,this.getPlatformList()}else this.form={};this.show=!0},close:function(){this.show=!1},saveHandler:function(){var t=this;this.$refs.form.validate((function(e){e&&(t.loading=!0,t.formState?t.createHandler():t.editHandler())}))},createHandler:function(){var t=this;Object(o["a"])(this.form).then((function(e){"success"===e.code&&t.finish()})).finally((function(){t.loading=!1}))},editHandler:function(){var t=this;Object(o["f"])(this.form).then((function(e){"success"===e.code&&t.finish()})).finally((function(){t.loading=!1})),1==this.form.checkStatus&&3==this.form.type&&Object(o["e"])(this.form.activityId,this.form.memberId,this.form.platformId).then((function(e){t.$message.success(e.msg)})),1==this.form.checkStatus&&4==this.form.type&&Object(o["d"])(this.form).then((function(e){t.$message.success(e.msg)}))},finish:function(){this.close(),this.$emit("reloadTable")},getPlatformList:function(){var t=this;Object(c["c"])(this.form.activityId).then((function(e){t.platformList=e.data}))}}},u=s,f=r("2877"),m=Object(f["a"])(u,a,n,!1,null,null,null);e["default"]=m.exports},ff39:function(t,e,r){"use strict";r.d(e,"c",(function(){return a})),r.d(e,"d",(function(){return n})),r.d(e,"a",(function(){return o})),r.d(e,"e",(function(){return i})),r.d(e,"b",(function(){return l}));var a=[{label:"公告",value:1},{label:"消息",value:2}],n=[{label:"服务协议",value:"SERVE"},{label:"隐私协议",value:"PRIVACY"}],o=[{label:"日常签到",value:"SIGN"},{label:"藏品购买",value:"PURCHASE"},{label:"分享",value:"SHARE"},{label:"AI绘画",value:"PAINTING"}],i=[{label:"藏品分享",value:"NFTSHARE"},{label:"系列分享",value:"CATEGORYSHARE"},{label:"文章分享",value:"ARTICLESHARE"},{label:"平台分享",value:"PLATFORMSHARE"}],l=[{label:"待审核",value:0},{label:"通过",value:1},{label:"不通过",value:2}]}}]);