【程序目录】更新管理端页面

This commit is contained in:
吴昊天 2022-09-27 16:04:51 +08:00
parent 75174a99df
commit 15ef909c2e
170 changed files with 57 additions and 55 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -0,0 +1 @@
.input[data-v-32e4e24c]{width:400px}

View File

@ -1 +0,0 @@
.input[data-v-8775b438]{width:400px}

View File

@ -0,0 +1 @@
.input[data-v-934e33c8]{width:400px}

View File

@ -1 +0,0 @@
.ivu-mt .type .item[data-v-1fc67926]{margin:3px 0}.tabform[data-v-1fc67926]{margin-bottom:10px}.Refresh[data-v-1fc67926]{font-size:12px;color:#1890ff;cursor:pointer}.ivu-form-item[data-v-1fc67926]{margin-bottom:10px}.status[data-v-1fc67926] .item~.item{margin-left:6px}.status[data-v-1fc67926] .statusVal{margin-bottom:7px}.type[data-v-1fc67926]{padding:3px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.tabBox_img[data-v-1fc67926]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-1fc67926]{width:100%;height:100%}

View File

@ -0,0 +1 @@
.ivu-mt .type .item[data-v-42e5015b]{margin:3px 0}.tabform[data-v-42e5015b]{margin-bottom:10px}.Refresh[data-v-42e5015b]{font-size:12px;color:#1890ff;cursor:pointer}.ivu-form-item[data-v-42e5015b]{margin-bottom:10px}.status[data-v-42e5015b] .item~.item{margin-left:6px}.status[data-v-42e5015b] .statusVal{margin-bottom:7px}.type[data-v-42e5015b]{padding:3px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.tabBox_img[data-v-42e5015b]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-42e5015b]{width:100%;height:100%}

Binary file not shown.

View File

@ -0,0 +1 @@
.ivu-mt .type .item[data-v-0472414e]{margin:3px 0}.tabform[data-v-0472414e]{margin-bottom:10px}.Refresh[data-v-0472414e]{font-size:12px;color:#1890ff;cursor:pointer}.ivu-form-item[data-v-0472414e]{margin-bottom:10px}.status[data-v-0472414e] .item~.item{margin-left:6px}.status[data-v-0472414e] .statusVal{margin-bottom:7px}.type[data-v-0472414e]{padding:3px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.tabBox_img[data-v-0472414e]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-0472414e]{width:100%;height:100%}

View File

@ -1 +0,0 @@
.ivu-mt .type .item[data-v-4b18168d]{margin:3px 0}.tabform[data-v-4b18168d]{margin-bottom:10px}.Refresh[data-v-4b18168d]{font-size:12px;color:#1890ff;cursor:pointer}.ivu-form-item[data-v-4b18168d]{margin-bottom:10px}.status[data-v-4b18168d] .item~.item{margin-left:6px}.status[data-v-4b18168d] .statusVal{margin-bottom:7px}.type[data-v-4b18168d]{padding:3px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.tabBox_img[data-v-4b18168d]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-4b18168d]{width:100%;height:100%}

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-14070da6"],{"1ea9":function(e,t,a){},"5b75":function(e,t,a){"use strict";var i=a("1ea9");a.n(i).a},ceb8a:function(e,t,a){"use strict";a.r(t);var i=a("f3f3"),s=a("c24f"),l=a("2f62");i={name:"setting_files",computed:Object(i.a)(Object(i.a)(Object(i.a)({},Object(l.e)("media",["isMobile"])),Object(l.e)("userLevel",["categoryId"])),{},{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"left"}}),data:function(){return{account:"",formValidate:{file_pwd:"",conf_file_pwd:""},ruleValidate:{file_pwd:[{required:!0,message:"请输入您的文件管理新密码",trigger:"blur"}],conf_file_pwd:[{required:!0,message:"请确认您的文件管理新密码",trigger:"blur"}]}}},mounted:function(){this.account=this.$store.state.userInfo.userInfo.account},methods:{handleSubmit:function(e){var t=this;this.$refs[e].validate((function(e){e&&Object(s.D)(t.formValidate).then((function(e){t.$Message.success(e.msg)})).catch((function(e){t.$Message.error(e.msg)}))}))}}},a("5b75"),l=a("2877"),a=Object(l.a)(i,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",[t("div",{staticClass:"i-layout-page-header"},[t("div",{staticClass:"i-layout-page-header"},[t("span",{staticClass:"ivu-page-header-title"},[e._v(e._s(e.$route.meta.title))])])]),t("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[t("Form",{ref:"formValidate",attrs:{model:e.formValidate,rules:e.ruleValidate,"label-width":160,"label-position":"right"}},[t("FormItem",{attrs:{label:"账号",prop:""}},[t("Input",{staticClass:"input",attrs:{type:"text",disabled:!0},model:{value:e.account,callback:function(t){e.account=t},expression:"account"}})],1),t("FormItem",{attrs:{label:"文件管理新密码",prop:"file_pwd"}},[t("Input",{staticClass:"input",attrs:{type:"password"},model:{value:e.formValidate.file_pwd,callback:function(t){e.$set(e.formValidate,"file_pwd",t)},expression:"formValidate.file_pwd"}})],1),t("FormItem",{attrs:{label:"文件管理确认新密码",prop:"conf_file_pwd"}},[t("Input",{staticClass:"input",attrs:{type:"password"},model:{value:e.formValidate.conf_file_pwd,callback:function(t){e.$set(e.formValidate,"conf_file_pwd",t)},expression:"formValidate.conf_file_pwd"}})],1),t("FormItem",[t("Button",{attrs:{type:"primary"},on:{click:function(t){return e.handleSubmit("formValidate")}}},[e._v("提交")])],1)],1)],1)],1)}),[],!1,null,"32e4e24c",null);t.default=a.exports}}]);

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d0ab8b4"],{1670:function(e,t,i){"use strict";i.r(t);var a=i("c964"),n=i("f3f3"),l=(i("96cf"),i("a434"),i("2f62")),s=i("90e7");n={name:"setting_templates",components:{freightTemplate:i("5334").a},data:function(){return{grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,columns1:[{title:"ID",key:"id",width:80},{title:"模板名称",key:"name",minWidth:100},{title:"计费方式",key:"type",minWidth:120},{title:"指定包邮",key:"appoint",minWidth:120},{title:"排序",key:"sort",minWidth:120},{title:"添加时间",key:"add_time",minWidth:120},{title:"操作",slot:"action",fixed:"right",minWidth:120}],levelFrom:{name:"",page:1,limit:15},levelLists:[],total:0,FromData:null,isTemplate:!1}},created:function(){this.getList()},computed:Object(n.a)(Object(n.a)({},Object(l.e)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"left"}}),methods:{freight:function(){var e=this;this.isTemplate=!0,this.$nextTick((function(t){e.$refs.template.id=0,e.$refs.template.isTemplate=!0}))},del:function(e,t,i){var a=this;t={title:t,num:i,url:"setting/shipping_templates/del/".concat(e.id),method:"DELETE",ids:""};this.$modalSure(t).then((function(e){a.$Message.success(e.msg),a.levelLists.splice(i,1)})).catch((function(e){a.$Message.error(e.msg)}))},getList:function(){var e=this;this.loading=!0,Object(s.Gb)(this.levelFrom).then(function(){var t=Object(a.a)(regeneratorRuntime.mark((function t(i){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a=i.data,e.levelLists=a.data,e.total=a.count,e.loading=!1;case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.loading=!1,e.$Message.error(t.msg)}))},pageChange:function(e){this.levelFrom.page=e,this.getList()},edit:function(e){var t=this;this.isTemplate=!0,this.$nextTick((function(i){t.$refs.template.isTemplate=!0,t.$refs.template.editFrom(e)}))},userSearchs:function(){this.levelFrom.page=1,this.getList()}}},l=i("2877"),i=Object(l.a)(n,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"i-layout-page-header"},[i("div",{staticClass:"i-layout-page-header"},[i("span",{staticClass:"ivu-page-header-title"},[e._v(e._s(e.$route.meta.title))])])]),i("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[i("Form",{ref:"levelFrom",attrs:{model:e.levelFrom,"label-width":e.labelWidth,"label-position":e.labelPosition},nativeOn:{submit:function(e){e.preventDefault()}}},[i("Row",{attrs:{type:"flex",gutter:24}},[i("Col",e._b({},"Col",e.grid,!1),[i("FormItem",{attrs:{label:"搜索:","label-for":"keyword"}},[i("Input",{attrs:{search:"","enter-button":"",placeholder:"请输入模板名称"},on:{"on-search":e.userSearchs},model:{value:e.levelFrom.name,callback:function(t){e.$set(e.levelFrom,"name",t)},expression:"levelFrom.name"}})],1)],1)],1),i("Row",{attrs:{type:"flex"}},[i("Col",e._b({},"Col",e.grid,!1),[i("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:e.freight}},[e._v("添加运费模板")])],1)],1)],1),i("Table",{ref:"table",staticClass:"mt25",attrs:{columns:e.columns1,data:e.levelLists,loading:e.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:e._u([{key:"icons",fn:function(e){var t=e.row;return e.index,[i("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.icon,expression:"row.icon"}]})])]}},{key:"action",fn:function(t){var a=t.row,n=t.index;return[i("a",{on:{click:function(t){return e.edit(a.id)}}},[e._v("修改")]),1!==a.id?i("Divider",{attrs:{type:"vertical"}}):e._e(),1!==a.id?i("a",{on:{click:function(t){return e.del(a,"删除分组",n)}}},[e._v("删除")]):e._e()]}}])}),i("div",{staticClass:"acea-row row-right page"},[i("Page",{attrs:{total:e.total,current:e.levelFrom.page,"show-elevator":"","show-total":"","page-size":e.levelFrom.limit},on:{"on-change":e.pageChange}})],1)],1),e.isTemplate?i("freight-template",{ref:"template",on:{addSuccess:e.getList,close:function(){e.isTemplate=!1}}}):e._e()],1)}),[],!1,null,null,null);t.default=i.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d0ab8b4"],{1670:function(e,t,i){"use strict";i.r(t);var a=i("c964"),n=i("f3f3"),l=(i("96cf"),i("a434"),i("2f62")),s=i("90e7");n={name:"setting_templates",components:{freightTemplate:i("5334").a},data:function(){return{grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,columns1:[{title:"ID",key:"id",width:80},{title:"模板名称",key:"name",minWidth:100},{title:"计费方式",key:"type",minWidth:120},{title:"指定包邮",key:"appoint",minWidth:120},{title:"排序",key:"sort",minWidth:120},{title:"添加时间",key:"add_time",minWidth:120},{title:"操作",slot:"action",fixed:"right",minWidth:120}],levelFrom:{name:"",page:1,limit:15},levelLists:[],total:0,FromData:null,isTemplate:!1}},created:function(){this.getList()},computed:Object(n.a)(Object(n.a)({},Object(l.e)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"left"}}),methods:{freight:function(){var e=this;this.isTemplate=!0,this.$nextTick((function(t){e.$refs.template.id=0,e.$refs.template.isTemplate=!0}))},del:function(e,t,i){var a=this;t={title:t,num:i,url:"setting/shipping_templates/del/".concat(e.id),method:"DELETE",ids:""};this.$modalSure(t).then((function(e){a.$Message.success(e.msg),a.levelLists.splice(i,1)})).catch((function(e){a.$Message.error(e.msg)}))},getList:function(){var e=this;this.loading=!0,Object(s.Hb)(this.levelFrom).then(function(){var t=Object(a.a)(regeneratorRuntime.mark((function t(i){var a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a=i.data,e.levelLists=a.data,e.total=a.count,e.loading=!1;case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.loading=!1,e.$Message.error(t.msg)}))},pageChange:function(e){this.levelFrom.page=e,this.getList()},edit:function(e){var t=this;this.isTemplate=!0,this.$nextTick((function(i){t.$refs.template.isTemplate=!0,t.$refs.template.editFrom(e)}))},userSearchs:function(){this.levelFrom.page=1,this.getList()}}},l=i("2877"),i=Object(l.a)(n,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"i-layout-page-header"},[i("div",{staticClass:"i-layout-page-header"},[i("span",{staticClass:"ivu-page-header-title"},[e._v(e._s(e.$route.meta.title))])])]),i("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[i("Form",{ref:"levelFrom",attrs:{model:e.levelFrom,"label-width":e.labelWidth,"label-position":e.labelPosition},nativeOn:{submit:function(e){e.preventDefault()}}},[i("Row",{attrs:{type:"flex",gutter:24}},[i("Col",e._b({},"Col",e.grid,!1),[i("FormItem",{attrs:{label:"搜索:","label-for":"keyword"}},[i("Input",{attrs:{search:"","enter-button":"",placeholder:"请输入模板名称"},on:{"on-search":e.userSearchs},model:{value:e.levelFrom.name,callback:function(t){e.$set(e.levelFrom,"name",t)},expression:"levelFrom.name"}})],1)],1)],1),i("Row",{attrs:{type:"flex"}},[i("Col",e._b({},"Col",e.grid,!1),[i("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:e.freight}},[e._v("添加运费模板")])],1)],1)],1),i("Table",{ref:"table",staticClass:"mt25",attrs:{columns:e.columns1,data:e.levelLists,loading:e.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:e._u([{key:"icons",fn:function(e){var t=e.row;return e.index,[i("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.icon,expression:"row.icon"}]})])]}},{key:"action",fn:function(t){var a=t.row,n=t.index;return[i("a",{on:{click:function(t){return e.edit(a.id)}}},[e._v("修改")]),1!==a.id?i("Divider",{attrs:{type:"vertical"}}):e._e(),1!==a.id?i("a",{on:{click:function(t){return e.del(a,"删除分组",n)}}},[e._v("删除")]):e._e()]}}])}),i("div",{staticClass:"acea-row row-right page"},[i("Page",{attrs:{total:e.total,current:e.levelFrom.page,"show-elevator":"","show-total":"","page-size":e.levelFrom.limit},on:{"on-change":e.pageChange}})],1)],1),e.isTemplate?i("freight-template",{ref:"template",on:{addSuccess:e.getList,close:function(){e.isTemplate=!1}}}):e._e()],1)}),[],!1,null,null,null);t.default=i.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d0e488e"],{9144:function(t,e,a){"use strict";a.r(e);var i=a("f3f3"),n=a("c24f"),s=a("2f62");i={name:"card",props:{id:{default:0}},data:function(){return{columns1:[{title:"编号",key:"id",minWidth:100,align:"center"},{title:"卡号",key:"card_number",minWidth:105,align:"center"},{title:"密码",key:"card_password",align:"center",minWidth:100},{title:"领取人名称",key:"username",align:"center",minWidth:100},{title:"领取人电话",key:"phone",align:"center",minWidth:100},{title:"领取时间",key:"use_time",align:"center",minWidth:100},{title:"是否激活",slot:"status",minWidth:100}],data1:[],loading:!1,total:0,table:{page:1,limit:15,card_number:"",phone:"",is_use:""}}},computed:Object(i.a)(Object(i.a)({},Object(s.e)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.getMemberCard()},methods:{onchangeIsShow:function(t){var e=this;t={card_id:t.id,status:t.status};Object(n.w)(t).then((function(t){e.$Message.success(t.msg),e.getMemberCard()})).catch((function(t){e.$Message.error(t.msg)}))},getMemberCard:function(){var t=this;this.loading=!0,Object(n.T)(this.id,this.table).then((function(e){t.loading=!1,t.data1=e.data.list,t.total=e.data.count})).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},formSubmit:function(){this.table.page=1,this.getMemberCard()},pageChange:function(t){this.table.page=t,this.getMemberCard()}}},s=a("2877"),a=Object(s.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[a("Form",{ref:"formData",attrs:{model:t.table,"label-width":t.labelWidth,"label-position":t.labelPosition,inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[a("FormItem",{staticStyle:{width:"200px"},attrs:{label:"卡号:"}},[a("Input",{attrs:{placeholder:"请输入卡号"},model:{value:t.table.card_number,callback:function(e){t.$set(t.table,"card_number",e)},expression:"table.card_number"}})],1),a("FormItem",{staticStyle:{width:"200px"},attrs:{label:"手机号:"}},[a("Input",{attrs:{placeholder:"请输入手机号"},model:{value:t.table.phone,callback:function(e){t.$set(t.table,"phone",e)},expression:"table.phone"}})],1),a("FormItem",{staticStyle:{width:"200px"},attrs:{label:"是否领取:"}},[a("Select",{attrs:{clearable:""},model:{value:t.table.is_use,callback:function(e){t.$set(t.table,"is_use",e)},expression:"table.is_use"}},[a("Option",{attrs:{value:"1"}},[t._v("已领取")]),a("Option",{attrs:{value:"0"}},[t._v("未领取")])],1)],1),a("FormItem",[a("Button",{attrs:{type:"primary"},on:{click:t.formSubmit}},[t._v("搜索")])],1)],1),a("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns1,data:t.data1,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"status",fn:function(e){var i=e.row;return e.index,[a("i-switch",{attrs:{value:i.status,"true-value":1,"false-value":0,size:"large"},on:{"on-change":function(e){return t.onchangeIsShow(i)}},model:{value:i.status,callback:function(e){t.$set(i,"status",e)},expression:"row.status"}},[a("span",{attrs:{slot:"open"},slot:"open"},[t._v("激活")]),a("span",{attrs:{slot:"close"},slot:"close"},[t._v("冻结")])])]}}])}),a("div",{staticClass:"acea-row row-right page"},[a("Page",{attrs:{total:t.total,current:t.table.page,"page-size":t.table.limit,"show-elevator":"","show-total":""},on:{"on-change":t.pageChange}})],1)],1)],1)}),[],!1,null,null,null);e.default=a.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d0e488e"],{9144:function(t,e,a){"use strict";a.r(e);var i=a("f3f3"),n=a("c24f"),s=a("2f62");i={name:"card",props:{id:{default:0}},data:function(){return{columns1:[{title:"编号",key:"id",minWidth:100,align:"center"},{title:"卡号",key:"card_number",minWidth:105,align:"center"},{title:"密码",key:"card_password",align:"center",minWidth:100},{title:"领取人名称",key:"username",align:"center",minWidth:100},{title:"领取人电话",key:"phone",align:"center",minWidth:100},{title:"领取时间",key:"use_time",align:"center",minWidth:100},{title:"是否激活",slot:"status",minWidth:100}],data1:[],loading:!1,total:0,table:{page:1,limit:15,card_number:"",phone:"",is_use:""}}},computed:Object(i.a)(Object(i.a)({},Object(s.e)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.getMemberCard()},methods:{onchangeIsShow:function(t){var e=this;t={card_id:t.id,status:t.status};Object(n.w)(t).then((function(t){e.$Message.success(t.msg),e.getMemberCard()})).catch((function(t){e.$Message.error(t.msg)}))},getMemberCard:function(){var t=this;this.loading=!0,Object(n.U)(this.id,this.table).then((function(e){t.loading=!1,t.data1=e.data.list,t.total=e.data.count})).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},formSubmit:function(){this.table.page=1,this.getMemberCard()},pageChange:function(t){this.table.page=t,this.getMemberCard()}}},s=a("2877"),a=Object(s.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[a("Form",{ref:"formData",attrs:{model:t.table,"label-width":t.labelWidth,"label-position":t.labelPosition,inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[a("FormItem",{staticStyle:{width:"200px"},attrs:{label:"卡号:"}},[a("Input",{attrs:{placeholder:"请输入卡号"},model:{value:t.table.card_number,callback:function(e){t.$set(t.table,"card_number",e)},expression:"table.card_number"}})],1),a("FormItem",{staticStyle:{width:"200px"},attrs:{label:"手机号:"}},[a("Input",{attrs:{placeholder:"请输入手机号"},model:{value:t.table.phone,callback:function(e){t.$set(t.table,"phone",e)},expression:"table.phone"}})],1),a("FormItem",{staticStyle:{width:"200px"},attrs:{label:"是否领取:"}},[a("Select",{attrs:{clearable:""},model:{value:t.table.is_use,callback:function(e){t.$set(t.table,"is_use",e)},expression:"table.is_use"}},[a("Option",{attrs:{value:"1"}},[t._v("已领取")]),a("Option",{attrs:{value:"0"}},[t._v("未领取")])],1)],1),a("FormItem",[a("Button",{attrs:{type:"primary"},on:{click:t.formSubmit}},[t._v("搜索")])],1)],1),a("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns1,data:t.data1,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"status",fn:function(e){var i=e.row;return e.index,[a("i-switch",{attrs:{value:i.status,"true-value":1,"false-value":0,size:"large"},on:{"on-change":function(e){return t.onchangeIsShow(i)}},model:{value:i.status,callback:function(e){t.$set(i,"status",e)},expression:"row.status"}},[a("span",{attrs:{slot:"open"},slot:"open"},[t._v("激活")]),a("span",{attrs:{slot:"close"},slot:"close"},[t._v("冻结")])])]}}])}),a("div",{staticClass:"acea-row row-right page"},[a("Page",{attrs:{total:t.total,current:t.table.page,"page-size":t.table.limit,"show-elevator":"","show-total":""},on:{"on-change":t.pageChange}})],1)],1)],1)}),[],!1,null,null,null);e.default=a.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d21afa5"],{be8d:function(t,e,i){"use strict";i.r(e);var a=i("c964"),r=i("f3f3"),n=(i("a434"),i("96cf"),i("2f62")),o=i("c24f");r={name:"user_group",data:function(){return{grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,columns1:[{title:"ID",key:"id",width:80},{title:"分组名称",key:"group_name",minWidth:600},{title:"操作",slot:"action",fixed:"right",minWidth:120}],groupFrom:{page:1,limit:15},groupLists:[],total:0}},computed:Object(r.a)(Object(r.a)({},Object(n.e)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"left"}}),created:function(){this.getList()},methods:{add:function(){var t=this;this.$modalForm(Object(o.n)(0)).then((function(){return t.getList()}))},getList:function(){var t=this;this.loading=!0,Object(o.L)(this.groupFrom).then(function(){var e=Object(a.a)(regeneratorRuntime.mark((function e(i){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=i.data,t.groupLists=a.list,t.total=a.count,t.loading=!1;case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},pageChange:function(t){this.groupFrom.page=t,this.getList()},edit:function(t){var e=this;this.$modalForm(Object(o.n)(t)).then((function(){return e.getList()}))},del:function(t,e,i){var a=this;e={title:e,num:i,url:"user/user_group/del/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(e).then((function(t){a.$Message.success(t.msg),a.groupLists.splice(i,1),a.getList()})).catch((function(t){a.$Message.error(t.msg)}))}}},n=i("2877"),i=Object(n.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"i-layout-page-header"},[i("div",{staticClass:"i-layout-page-header"},[i("span",{staticClass:"ivu-page-header-title"},[t._v(t._s(t.$route.meta.title))])])]),i("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[i("Row",{attrs:{type:"flex"}},[i("Col",t._b({},"Col",t.grid,!1),[i("Button",{directives:[{name:"auth",rawName:"v-auth",value:["admin-user-group"],expression:"['admin-user-group']"}],attrs:{type:"primary",icon:"md-add"},on:{click:t.add}},[t._v("添加分组")])],1)],1),i("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns1,data:t.groupLists,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"icons",fn:function(t){var e=t.row;return t.index,[i("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.icon,expression:"row.icon"}]})])]}},{key:"action",fn:function(e){var a=e.row,r=e.index;return[i("a",{on:{click:function(e){return t.edit(a.id)}}},[t._v("修改")]),i("Divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(e){return t.del(a,"删除分组",r)}}},[t._v("删除")])]}}])}),i("div",{staticClass:"acea-row row-right page"},[i("Page",{attrs:{total:t.total,"show-elevator":"","show-total":"","page-size":t.groupFrom.limit},on:{"on-change":t.pageChange}})],1)],1)],1)}),[],!1,null,"47526cfb",null);e.default=i.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d21afa5"],{be8d:function(t,e,i){"use strict";i.r(e);var a=i("c964"),r=i("f3f3"),n=(i("a434"),i("96cf"),i("2f62")),o=i("c24f");r={name:"user_group",data:function(){return{grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,columns1:[{title:"ID",key:"id",width:80},{title:"分组名称",key:"group_name",minWidth:600},{title:"操作",slot:"action",fixed:"right",minWidth:120}],groupFrom:{page:1,limit:15},groupLists:[],total:0}},computed:Object(r.a)(Object(r.a)({},Object(n.e)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"left"}}),created:function(){this.getList()},methods:{add:function(){var t=this;this.$modalForm(Object(o.n)(0)).then((function(){return t.getList()}))},getList:function(){var t=this;this.loading=!0,Object(o.M)(this.groupFrom).then(function(){var e=Object(a.a)(regeneratorRuntime.mark((function e(i){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=i.data,t.groupLists=a.list,t.total=a.count,t.loading=!1;case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},pageChange:function(t){this.groupFrom.page=t,this.getList()},edit:function(t){var e=this;this.$modalForm(Object(o.n)(t)).then((function(){return e.getList()}))},del:function(t,e,i){var a=this;e={title:e,num:i,url:"user/user_group/del/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(e).then((function(t){a.$Message.success(t.msg),a.groupLists.splice(i,1),a.getList()})).catch((function(t){a.$Message.error(t.msg)}))}}},n=i("2877"),i=Object(n.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"i-layout-page-header"},[i("div",{staticClass:"i-layout-page-header"},[i("span",{staticClass:"ivu-page-header-title"},[t._v(t._s(t.$route.meta.title))])])]),i("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[i("Row",{attrs:{type:"flex"}},[i("Col",t._b({},"Col",t.grid,!1),[i("Button",{directives:[{name:"auth",rawName:"v-auth",value:["admin-user-group"],expression:"['admin-user-group']"}],attrs:{type:"primary",icon:"md-add"},on:{click:t.add}},[t._v("添加分组")])],1)],1),i("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns1,data:t.groupLists,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"icons",fn:function(t){var e=t.row;return t.index,[i("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.icon,expression:"row.icon"}]})])]}},{key:"action",fn:function(e){var a=e.row,r=e.index;return[i("a",{on:{click:function(e){return t.edit(a.id)}}},[t._v("修改")]),i("Divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(e){return t.del(a,"删除分组",r)}}},[t._v("删除")])]}}])}),i("div",{staticClass:"acea-row row-right page"},[i("Page",{attrs:{total:t.total,"show-elevator":"","show-total":"","page-size":t.groupFrom.limit},on:{"on-change":t.pageChange}})],1)],1)],1)}),[],!1,null,"47526cfb",null);e.default=i.exports}}]);

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-42ea53e2"],{"06a6":function(e,t,a){},"265f":function(e,t,a){"use strict";a.r(t);var r=a("f3f3"),i=a("c24f"),s=a("2f62");r={name:"setting_user",computed:Object(r.a)(Object(r.a)(Object(r.a)({},Object(s.e)("media",["isMobile"])),Object(s.e)("userLevel",["categoryId"])),{},{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"left"}}),data:function(){return{account:"",formValidate:{real_name:"",pwd:"",new_pwd:"",conf_pwd:"",file_pwd:"",conf_file_pwd:""},ruleValidate:{real_name:[{required:!0,message:"您的姓名不能为空",trigger:"blur"}],pwd:[{required:!0,message:"请输入您的原始密码",trigger:"blur"}],new_pwd:[{required:!0,message:"请输入您的新密码",trigger:"blur"}],conf_pwd:[{required:!0,message:"请确认您的新密码",trigger:"blur"}],file_pwd:[{required:!0,message:"请输入您的文件管理新密码",trigger:"blur"}],conf_file_pwd:[{required:!0,message:"请确认您的文件管理新密码",trigger:"blur"}]}}},mounted:function(){this.account=this.$store.state.userInfo.userInfo.account},methods:{handleSubmit:function(e){var t=this;this.$refs[e].validate((function(e){e?Object(i.I)(t.formValidate).then((function(e){t.$Message.success(e.msg)})).catch((function(e){t.$Message.error(e.msg)})):t.formValidate.new_pwd!==t.formValidate.conf_pwd&&t.$Message.error("您输入的新密码与旧密码不一致")}))}}},a("ddff"),s=a("2877"),a=Object(s.a)(r,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",[t("div",{staticClass:"i-layout-page-header"},[t("div",{staticClass:"i-layout-page-header"},[t("span",{staticClass:"ivu-page-header-title"},[e._v(e._s(e.$route.meta.title))])])]),t("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[t("Form",{ref:"formValidate",attrs:{model:e.formValidate,rules:e.ruleValidate,"label-width":160,"label-position":"right"}},[t("FormItem",{attrs:{label:"账号",prop:""}},[t("Input",{staticClass:"input",attrs:{type:"text",disabled:!0},model:{value:e.account,callback:function(t){e.account=t},expression:"account"}})],1),t("FormItem",{attrs:{label:"姓名",prop:"real_name"}},[t("Input",{staticClass:"input",attrs:{type:"text"},model:{value:e.formValidate.real_name,callback:function(t){e.$set(e.formValidate,"real_name",t)},expression:"formValidate.real_name"}})],1),t("FormItem",{attrs:{label:"原始密码",prop:"pwd"}},[t("Input",{staticClass:"input",attrs:{type:"password"},model:{value:e.formValidate.pwd,callback:function(t){e.$set(e.formValidate,"pwd",t)},expression:"formValidate.pwd"}})],1),t("FormItem",{attrs:{label:"新密码",prop:"new_pwd"}},[t("Input",{staticClass:"input",attrs:{type:"password"},model:{value:e.formValidate.new_pwd,callback:function(t){e.$set(e.formValidate,"new_pwd",t)},expression:"formValidate.new_pwd"}})],1),t("FormItem",{attrs:{label:"确认新密码",prop:"conf_pwd"}},[t("Input",{staticClass:"input",attrs:{type:"password"},model:{value:e.formValidate.conf_pwd,callback:function(t){e.$set(e.formValidate,"conf_pwd",t)},expression:"formValidate.conf_pwd"}})],1),t("FormItem",{attrs:{label:"文件管理新密码",prop:"file_pwd"}},[t("Input",{staticClass:"input",attrs:{type:"password"},model:{value:e.formValidate.file_pwd,callback:function(t){e.$set(e.formValidate,"file_pwd",t)},expression:"formValidate.file_pwd"}})],1),t("FormItem",{attrs:{label:"文件管理确认新密码",prop:"conf_file_pwd"}},[t("Input",{staticClass:"input",attrs:{type:"password"},model:{value:e.formValidate.conf_file_pwd,callback:function(t){e.$set(e.formValidate,"conf_file_pwd",t)},expression:"formValidate.conf_file_pwd"}})],1),t("FormItem",[t("Button",{attrs:{type:"primary"},on:{click:function(t){return e.handleSubmit("formValidate")}}},[e._v("提交")])],1)],1)],1)],1)}),[],!1,null,"8775b438",null);t.default=a.exports},ddff:function(e,t,a){"use strict";var r=a("06a6");a.n(r).a}}]);

Binary file not shown.

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4caf6556"],{"265f":function(e,t,a){"use strict";a.r(t);var r=a("f3f3"),s=a("c24f"),i=a("2f62");r={name:"setting_user",computed:Object(r.a)(Object(r.a)(Object(r.a)({},Object(i.e)("media",["isMobile"])),Object(i.e)("userLevel",["categoryId"])),{},{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"left"}}),data:function(){return{account:"",formValidate:{real_name:"",pwd:"",new_pwd:"",conf_pwd:""},ruleValidate:{real_name:[{required:!0,message:"您的姓名不能为空",trigger:"blur"}],pwd:[{required:!0,message:"请输入您的原始密码",trigger:"blur"}],new_pwd:[{required:!0,message:"请输入您的新密码",trigger:"blur"}],conf_pwd:[{required:!0,message:"请确认您的新密码",trigger:"blur"}]}}},mounted:function(){this.account=this.$store.state.userInfo.userInfo.account},methods:{handleSubmit:function(e){var t=this;this.$refs[e].validate((function(e){e?Object(s.J)(t.formValidate).then((function(e){t.$Message.success(e.msg)})).catch((function(e){t.$Message.error(e.msg)})):t.formValidate.new_pwd!==t.formValidate.conf_pwd&&t.$Message.error("您输入的新密码与旧密码不一致")}))}}},a("e978"),i=a("2877"),a=Object(i.a)(r,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("div",[t("div",{staticClass:"i-layout-page-header"},[t("div",{staticClass:"i-layout-page-header"},[t("span",{staticClass:"ivu-page-header-title"},[e._v(e._s(e.$route.meta.title))])])]),t("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[t("Form",{ref:"formValidate",attrs:{model:e.formValidate,rules:e.ruleValidate,"label-width":160,"label-position":"right"}},[t("FormItem",{attrs:{label:"账号",prop:""}},[t("Input",{staticClass:"input",attrs:{type:"text",disabled:!0},model:{value:e.account,callback:function(t){e.account=t},expression:"account"}})],1),t("FormItem",{attrs:{label:"姓名",prop:"real_name"}},[t("Input",{staticClass:"input",attrs:{type:"text"},model:{value:e.formValidate.real_name,callback:function(t){e.$set(e.formValidate,"real_name",t)},expression:"formValidate.real_name"}})],1),t("FormItem",{attrs:{label:"原始密码",prop:"pwd"}},[t("Input",{staticClass:"input",attrs:{type:"password"},model:{value:e.formValidate.pwd,callback:function(t){e.$set(e.formValidate,"pwd",t)},expression:"formValidate.pwd"}})],1),t("FormItem",{attrs:{label:"新密码",prop:"new_pwd"}},[t("Input",{staticClass:"input",attrs:{type:"password"},model:{value:e.formValidate.new_pwd,callback:function(t){e.$set(e.formValidate,"new_pwd",t)},expression:"formValidate.new_pwd"}})],1),t("FormItem",{attrs:{label:"确认新密码",prop:"conf_pwd"}},[t("Input",{staticClass:"input",attrs:{type:"password"},model:{value:e.formValidate.conf_pwd,callback:function(t){e.$set(e.formValidate,"conf_pwd",t)},expression:"formValidate.conf_pwd"}})],1),t("FormItem",[t("Button",{attrs:{type:"primary"},on:{click:function(t){return e.handleSubmit("formValidate")}}},[e._v("提交")])],1)],1)],1)],1)}),[],!1,null,"934e33c8",null);t.default=a.exports},"57d8":function(e,t,a){},e978:function(e,t,a){"use strict";var r=a("57d8");a.n(r).a}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More