启程易购后端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qicheng_shop_backend/public/system/js/chunk-7e8029c3.ad7a715f.js

1 line
10 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7e8029c3"],{"0c7e":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-card",[a("el-form",{attrs:{model:e.basicsForm,"label-width":"120px"}},[a("el-row",{attrs:{gutter:24}},[a("el-col",{staticClass:"mt10",attrs:{span:24}},[a("el-form-item",{attrs:{label:"用户默认头像:"}},[a("div",{staticStyle:{display:"inline-block"},on:{click:function(t){return e.modalPicTap("1")}}},[e.authorizedPicture?a("div",{staticClass:"uploadPictrue"},[a("img",{attrs:{src:e.authorizedPicture}})]):a("div",{staticClass:"uploadPictrue"},[a("i",{staticClass:"iconfont iconshangpinshuliang-jia"})])]),e._v(" "),a("div",{staticClass:"upload-text"},[e._v("建议尺寸:120*120px")])])],1),e._v(" "),a("el-col",{staticClass:"mt10",attrs:{span:24}},[a("el-form-item",{attrs:{label:"用户信息设置:"}},[a("el-table",{ref:"table",staticClass:"goods",attrs:{data:e.listOne,"row-key":"id","highlight-current-row":"",draggable:!0}},[a("el-table-column",{attrs:{label:"#","min-width":"50"}},[[a("i",{staticClass:"iconfont-diy icondrag"})]],2),e._v(" "),a("el-table-column",{attrs:{label:"信息名称",prop:"title","min-width":"80"}}),e._v(" "),a("el-table-column",{attrs:{label:"使用","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:t.row.is_used,callback:function(a){e.$set(t.row,"is_used",a)},expression:"scope.row.is_used"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"必填","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:0==t.row.is_used},model:{value:t.row.is_require,callback:function(a){e.$set(t.row,"is_require",a)},expression:"scope.row.is_require"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"用户端显示","min-width":"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-checkbox",{attrs:{"true-label":1,"false-label":0,disabled:0==t.row.is_used},model:{value:t.row.is_show,callback:function(a){e.$set(t.row,"is_show",a)},expression:"scope.row.is_show"}})]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"信息格式","min-width":"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.type_name))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"提示信息",prop:"msg","min-width":"150"}}),e._v(" "),a("el-table-column",{attrs:{label:"操作","min-width":"60",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[1!=t.row.is_default?a("el-button",{attrs:{type:"text",size:"small"},on:{click:function(a){return e.delInfo(t.row.id)}}},[e._v("删除")]):e._e()]}}])})],1),e._v(" "),a("div",{staticClass:"upload-text goods"},[e._v("\n 1.开启使用后,后台添加用户时可填写此信息;开启必填后,后台添加用户时此信息必须填写;开启用户端展示后,在商城用户个人信息中展示\n "),a("br"),e._v("\n 2.自定义添加日期和单选格式的字段,暂不支持用户列表搜索,如业务需要建议进一步开发;其它字段均支持用户列表搜索\n ")]),e._v(" "),a("el-button",{staticClass:"addInfo",attrs:{type:"default",size:"small"},on:{click:function(t){e.addModel=!0}}},[e._v("新增信息")]),e._v(" "),a("div",{staticClass:"mt20"},[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleSubmit()}}},[e._v("保存")])],1)],1)],1)],1)],1)],1),e._v(" "),a("el-dialog",{attrs:{visible:e.addModel,title:"新增信息","class-name":"vertical-center-modal",scrollable:"",width:"630px"},on:{"update:visible":function(t){e.addModel=t},close:e.cancelSubmit}},[a("el-form",{ref:"formValidate",attrs:{model:e.formItem,rules:e.ruleValidate,size:"small","label-width":"90px"}},[a("el-row",[a("el-col",[a("el-form-item",{attrs:{label:"字段名:",prop:"field"}},[a("el-input",{staticClass:"width100",attrs:{placeholder:"以英文开头