PageSourceSearch

https://wlmq.com/js/3982.15776829.js

js wlmq.com collected 2026-10-08 10:05:05 UTC 3,230 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkvue_antd_pro"]=self["webpackChunkvue_antd_pro"]||[]).push([[3982],{3982:function(e,t,n){n.r(t),n.d(t,{default:function(){return l}});var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-card",{attrs:{title:e.$t("Account.SystemMessageType"),bordered:!1}},[n("s-form",{attrs:{baseMd:24,formItemLayout:e.formItemLayout,formItems:e.formItems,formData:e.formData,spinning:e.spinning,loading:e.loading},on:{submit:e.handleSubmit,back:e.handleBack}})],1)},a=[],o=n(81127),r=n(56252),i=n(68812),u={data:function(){return{spinning:!1,formItemLayout:{labelCol:{sm:{span:24},md:{span:3}},wrapperCol:{sm:{span:24},md:{span:21}}},formItems:[{title:"Account.SystemMessageTypeIcon",dataIndex:"icon",type:"Upload"},{title:"Account.SystemMessageTypeTypeName",dataIndex:"typeName",required:!0},{title:"Account.SystemMessageTypeTypeColor",dataIndex:"typeColor",required:!0,type:"ChromeColor"},{title:"Account.SystemMessageTypeOrderIndex",dataIndex:"orderIndex",type:"AInputNumber"},{title:"Account.SystemMessageDetailTpl",dataIndex:"systemMessageDetailTpls",type:"SystemMessageDetailTpls",noLabel:!0,formItemLayout:{labelCol:{sm:{span:24},md:{span:0}},wrapperCol:{sm:{span:24},md:{span:24}}}}],formData:{},loading:!1}},mounted:function(){var e=this.$route.query,t=e.id,n=e.total;this.$set(this.formData,"orderIndex",Number(n||0)+1),t&&this.loadData()},methods:{loadData:function(){var e=this;return(0,r.A)((0,o.A)().m(function t(){var n;return(0,o.A)().w(function(t){while(1)switch(t.n){case 0:return e.spinning=!0,t.n=1,(0,i.jQ)(e.$route.query.id);case 1:n=t.v,n.systemMessageDetailTpls=n.systemMessageDetailTpls.sort(function(e,t){return e.orderIndex-t.orderIndex}),e.formData=n,e.spinning=!1;case 2:return t.a(2)}},t)}))()},handleSubmit:function(e){this.loading=!0,this.formData.id?this.updateInfo(e):this.addInfo(e)},addInfo:function(e){var t=this;(0,i.GJ)(e).then(function(){t.$notification.success({message:t.$t("submit.success")}),t.handleBack()}).catch(function(){t.loading=!1})},updateInfo:function(e){var t=this;e.id=this.formData.id,(0,i.om)(e).then(function(){t.$notification.success({message:t.$t("submit.success")}),t.handleBack()}).catch(function(){t.loading=!1})},handleBack:function(){this.$router.go(-1)}},components:{SForm:function(){return Promise.all([n.e(74692),n.e(36939),n.e(63057),n.e(23965),n.e(33364),n.e(47e3),n.e(33591)]).then(n.bind(n,26428))}}},c=u,m=n(81656),d=(0,m.A)(c,s,a,!1,null,null,null),l=d.exports},68812:function(e,t,n){n.d(t,{C7:function(){return o},GJ:function(){return i},Sl:function(){return c},jQ:function(){return r},om:function(){return u}});var s=n(75769),a={SystemMessageType:"/Account/SystemMessageType",SystemMessageTypeSimpleLists:"/Account/SystemMessageType/SimpleLists"};function o(e){return(0,s.Ay)({url:a.SystemMessageType,method:"get",params:e})}function r(e){return(0,s.Ay)({url:"".concat(a.SystemMessageType,"/").concat(e),method:"get",params:{id:e}})}function i(e){return(0,s.Ay)({url:a.SystemMessageType,method:"post",data:e})}function u(e){return(0,s.Ay)({url:"".concat(a.SystemMessageType,"/").concat(e.id),method:"put",data:e})}function c(e){return(0,s.Ay)({url:"".concat(a.SystemMessageType,"/").concat(e),method:"delete"})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.