imeik-imui 2.3.7 → 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/2.0230635e.css +1 -0
- package/dist/css/3.366b417b.css +1 -0
- package/dist/css/4.8406421c.css +1 -0
- package/dist/css/5.49962813.css +1 -0
- package/dist/css/6.a356f722.css +1 -0
- package/dist/css/7.48ce7654.css +1 -0
- package/dist/css/fail.c6cef1a9.css +1 -0
- package/dist/imeik-imui.common.10.js +384 -0
- package/dist/imeik-imui.common.10.js.gz +0 -0
- package/dist/imeik-imui.common.11.js +118 -0
- package/dist/imeik-imui.common.12.js +140 -0
- package/dist/imeik-imui.common.13.js +127 -0
- package/dist/imeik-imui.common.14.js +357 -0
- package/dist/imeik-imui.common.15.js +157 -0
- package/dist/imeik-imui.common.16.js +320 -0
- package/dist/imeik-imui.common.17.js +102 -0
- package/dist/imeik-imui.common.2.js +400 -0
- package/dist/imeik-imui.common.2.js.gz +0 -0
- package/dist/imeik-imui.common.3.js +484 -0
- package/dist/imeik-imui.common.3.js.gz +0 -0
- package/dist/imeik-imui.common.4.js +876 -0
- package/dist/imeik-imui.common.4.js.gz +0 -0
- package/dist/imeik-imui.common.5.js +92 -0
- package/dist/imeik-imui.common.6.js +99 -0
- package/dist/imeik-imui.common.7.js +293 -0
- package/dist/imeik-imui.common.7.js.gz +0 -0
- package/dist/imeik-imui.common.8.js +315 -0
- package/dist/imeik-imui.common.9.js +77 -0
- package/dist/imeik-imui.common.fail.js +195 -0
- package/dist/imeik-imui.common.fail.js.gz +0 -0
- package/dist/imeik-imui.common.js +26520 -800
- package/dist/imeik-imui.common.js.gz +0 -0
- package/dist/imeik-imui.css +1 -1
- package/dist/imeik-imui.css.gz +0 -0
- package/dist/imeik-imui.umd.10.js +384 -0
- package/dist/imeik-imui.umd.10.js.gz +0 -0
- package/dist/imeik-imui.umd.11.js +118 -0
- package/dist/imeik-imui.umd.12.js +140 -0
- package/dist/imeik-imui.umd.13.js +127 -0
- package/dist/imeik-imui.umd.14.js +357 -0
- package/dist/imeik-imui.umd.15.js +157 -0
- package/dist/imeik-imui.umd.16.js +320 -0
- package/dist/imeik-imui.umd.17.js +102 -0
- package/dist/imeik-imui.umd.2.js +400 -0
- package/dist/imeik-imui.umd.2.js.gz +0 -0
- package/dist/imeik-imui.umd.3.js +484 -0
- package/dist/imeik-imui.umd.3.js.gz +0 -0
- package/dist/imeik-imui.umd.4.js +876 -0
- package/dist/imeik-imui.umd.4.js.gz +0 -0
- package/dist/imeik-imui.umd.5.js +92 -0
- package/dist/imeik-imui.umd.6.js +99 -0
- package/dist/imeik-imui.umd.7.js +293 -0
- package/dist/imeik-imui.umd.7.js.gz +0 -0
- package/dist/imeik-imui.umd.8.js +315 -0
- package/dist/imeik-imui.umd.9.js +77 -0
- package/dist/imeik-imui.umd.fail.js +195 -0
- package/dist/imeik-imui.umd.fail.js.gz +0 -0
- package/dist/imeik-imui.umd.js +26520 -800
- package/dist/imeik-imui.umd.js.gz +0 -0
- package/dist/imeik-imui.umd.min.10.js +1 -0
- package/dist/imeik-imui.umd.min.11.js +1 -0
- package/dist/imeik-imui.umd.min.12.js +1 -0
- package/dist/imeik-imui.umd.min.13.js +1 -0
- package/dist/imeik-imui.umd.min.14.js +1 -0
- package/dist/imeik-imui.umd.min.15.js +1 -0
- package/dist/imeik-imui.umd.min.16.js +1 -0
- package/dist/imeik-imui.umd.min.17.js +1 -0
- package/dist/imeik-imui.umd.min.2.js +1 -0
- package/dist/imeik-imui.umd.min.3.js +1 -0
- package/dist/imeik-imui.umd.min.4.js +1 -0
- package/dist/imeik-imui.umd.min.5.js +1 -0
- package/dist/imeik-imui.umd.min.6.js +1 -0
- package/dist/imeik-imui.umd.min.7.js +1 -0
- package/dist/imeik-imui.umd.min.8.js +1 -0
- package/dist/imeik-imui.umd.min.9.js +1 -0
- package/dist/imeik-imui.umd.min.fail.js +1 -0
- package/dist/imeik-imui.umd.min.js +48 -23
- package/dist/imeik-imui.umd.min.js.gz +0 -0
- package/dist/img/403.f6b0bff1.png +0 -0
- package/dist/img/404.6f8b0c05.png +0 -0
- package/dist/img/home.3c5166d9.svg +172 -0
- package/dist/img/home.3c5166d9.svg.gz +0 -0
- package/dist/img/itemImg.2dab467d.png +0 -0
- package/dist/img/logo2023.9a27179a.svg +42 -0
- package/dist/img/logo2023.9a27179a.svg.gz +0 -0
- package/dist/img/menu-icon-approval-current.2130b50f.png +0 -0
- package/dist/img/menu-icon-approval.562a6985.png +0 -0
- package/dist/img/menu-icon-employees-current.b19603be.png +0 -0
- package/dist/img/menu-icon-miniapp-current.163007db.png +0 -0
- package/dist/img/menu-icon-miniapp.d5ae6730.png +0 -0
- package/dist/img/menu-icon-system-current.7c9509ad.png +0 -0
- package/dist/img/user-avatar.8f143865.png +0 -0
- package/package.json +1 -1
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[10],{"7bab":function(e,t,i){"use strict";i.r(t);var s=function(){var e=this,t=e._self._c;return t("ImWrapper",[t("div",{staticClass:"bg-white p-4 mb-[32px]"},[t("ImForm",{ref:"ImForm",attrs:{form:e.formConfig,"is-view":e.isView}},[t("CardHeader",{staticClass:"-mt-4",attrs:{slot:"infoSlot",text:"素材信息"},slot:"infoSlot"}),t("FormSplit",{attrs:{slot:"split"},slot:"split"}),t("CardHeader",{attrs:{slot:"moreInfo",text:"更多信息"},slot:"moreInfo"})],1)],1),e.isView?e._e():t("FixedBottom",[t("el-button",{on:{click:e.closeCurrent}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v("保 存")])],1)],1)},o=[],r=i("5530"),l=(i("ac1f"),i("5319"),{name:"FormWithMultiplePartDemo",data:function(){return{objectCode:this.$route.query.objectCode,formConfig:{column:3,gutter:24,attrs:{labelPosition:"top"},props:{author:"张三",introduction:"简介",name:"名称",gender:"male",coverUrl:"https://udstatic.imeik.com/pcUploads/1726199178042/d1626d76a40835bf15e5a80dccf51a3a.jpeg",videoId:"70695608718371efaa476eb3690d0102",fileList:[]},formItems:[]}}},computed:{isView:function(){return!1},formItems:function(){return[{type:"ImSlot",notInForm:!0,slots:{slot:"infoSlot"}},{type:"ImInput",prop:"author",label:"作者",rules:[{required:!this.isView,message:"请输入作者"}],attrs:{isView:this.isView,maxlength:32,showWordLimit:!0}},{type:"ImInput",prop:"name",label:"名称",rules:[{required:!this.isView,message:"请输入名称"}],attrs:{isView:this.isView,maxlength:32,showWordLimit:!0}},{type:"ImSelect",prop:"gender",label:"性别",rules:[{required:!this.isView,message:"请选择性别"}],attrs:{isView:this.isView,class:"w-full",options:[{label:"男",value:"male"},{label:"女",value:"female"}]}},{type:"ImInput",prop:"introduction",label:"简介",span:24,rules:[{required:!this.isView,message:"请输入简介"}],attrs:{isView:this.isView,type:"textarea",rows:6,maxlength:64,showWordLimit:!0}},{type:"ImSlot",notInForm:!0,slots:{slot:"split"}},{type:"ImSlot",notInForm:!0,slots:{slot:"moreInfo"}},{type:"ImMultiVideoUpload",prop:"imagelost",label:"视频封面",rules:[{required:!this.isView,message:"请上传视频封面"}],attrs:{isView:this.isView,tipText:"请上传.png,.jpg,.jpeg,.gif,.svg格式文件,每个文件不超过5M,最多上传9张图片 "}},{type:"ImBr",notInForm:!0},{type:"ImFieldFileUpload",prop:"123",label:"视频文件",rules:[{required:!this.isView,message:"请选择视频文件"}],attrs:{isView:this.isView,tipText:"12312收到发生的反手刀辅导费"}},{type:"ImBr",notInForm:!0},{type:"ImMultiImgUploadList",prop:"ImMultiImgUploadList",label:"视频文件",rules:[{required:!this.isView,message:"请选择视频文件"}],attrs:{isView:this.isView}},{type:"ImBr",notInForm:!0},{type:"ImMultiVideoUpload",prop:"fileList",span:24,label:"文件",rules:[{required:!this.isView,message:"请选择文件"}],attrs:{isView:this.isView}}]}},watch:{formItems:{handler:function(e){this.formConfig.formItems=e},immediate:!0}},created:function(){this.objectCode&&this.getItemDetail()},methods:{getItemDetail:function(){},submitForm:function(e){var t=this;this.$refs.ImForm.validate((function(e){if(e){var i=Object(r["a"])({},t.formConfig.props);t.objectCode&&(i.objectCode=t.objectCode)}else t.$message.warning("请检查表单项!")}))},closeCurrent:function(){this.$refs.ImForm.reset(),this.$router.replace({name:"ListPage"})}}}),a=l,m=i("2877"),n=Object(m["a"])(a,s,o,!1,null,null,null);t["default"]=n.exports}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[11],{eb75:function(t,e,i){"use strict";i.r(e);var r=function(){var t=this,e=t._self._c;return e("ImWrapper",[e("div",{staticClass:"p-4 bg-white",attrs:{slot:"header"},slot:"header"},[t._v("这个页面是卡片组件的演示页面")]),e("ImCard",{scopedSlots:t._u([{key:"title",fn:function(){return[e("span",[t._v("卡片标题1")])]},proxy:!0},{key:"extra",fn:function(){return[e("el-button",{staticClass:"float-right",attrs:{type:"primary",size:"mini"}},[t._v("操作1")])]},proxy:!0}])},[e("div",[t._v("卡片内容1")])]),e("ImCard",{scopedSlots:t._u([{key:"title",fn:function(){return[e("span",[t._v("卡片标题2")])]},proxy:!0},{key:"extra",fn:function(){return[e("el-button",{staticClass:"float-right",attrs:{type:"primary",size:"mini"}},[t._v("操作2")])]},proxy:!0}])},[e("div",[t._v("卡片内容2")])]),e("ImCard",{scopedSlots:t._u([{key:"title",fn:function(){return[e("span",[t._v("卡片标题3")])]},proxy:!0},{key:"extra",fn:function(){return[e("el-button",{staticClass:"float-right",attrs:{type:"primary",size:"mini"}},[t._v("操作3")])]},proxy:!0}])},[e("div",[t._v("卡片内容3")])])],1)},n=[],s={name:"ImCardDemo"},a=s,o=i("2877"),u=Object(o["a"])(a,r,n,!1,null,"355ecc6f",null);e["default"]=u.exports}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[12],{fc67:function(e,t,i){"use strict";i.r(t);var o=function(){var e=this,t=e._self._c;return t("ImWrapper",[t("div",{staticClass:"p-4 bg-white",attrs:{slot:"header"},slot:"header"},[e._v("这个页面是对话框组件的演示页面")]),t("el-button",{on:{click:e.openDialog}},[e._v("打开对话框")]),t("ImDialog",{attrs:{visible:e.dialogVisible,title:"示例对话框",width:"600px",height:"auto"},on:{"update:visible":function(t){e.dialogVisible=t},submit:e.handleSubmit,cancel:e.handleCancel}},[t("ImForm",{attrs:{form:e.formConfig}})],1)],1)},l=[],n={name:"ImDialogDemo",data:function(){return{dialogVisible:!1,formConfig:{column:1,gutter:24,attrs:{labelPosition:"top"},props:{ruleName:void 0,keywords:void 0,content:void 0},formItems:[{type:"ImInput",prop:"ruleName",label:"规则名称",attrs:{maxlength:10,showWordLimit:!0}},{type:"ImInput",prop:"keywords",label:"关键词",attrs:{maxlength:10,showWordLimit:!0}},{type:"ImInput",prop:"content",label:"回复内容",attrs:{type:"textarea",rows:4,size:"medium",maxlength:50,showWordLimit:!0}}]}}},methods:{openDialog:function(){this.dialogVisible=!0},handleSubmit:function(){console.log("提交表单",this.formConfig.props),this.dialogVisible=!1},handleCancel:function(){console.log("取消操作"),this.dialogVisible=!1}}},s=n,a=i("2877"),r=Object(a["a"])(s,o,l,!1,null,"6e40dfbc",null);t["default"]=r.exports}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[13],{e56d:function(e,t,i){"use strict";i.r(t);var o=function(){var e=this,t=e._self._c;return t("ImWrapper",[t("div",{staticClass:"p-4 bg-white",attrs:{slot:"header"},slot:"header"},[e._v("这个页面是抽屉组件的演示页面")]),t("el-button",{on:{click:e.openDrawer}},[e._v("打开抽屉")]),t("ImDrawer",{attrs:{visible:e.drawerVisible,title:"示例抽屉",width:600},on:{"update:visible":function(t){e.drawerVisible=t},submit:e.handleSubmit,close:e.handleClose}},[t("ImForm",{attrs:{form:e.formConfig}})],1)],1)},r=[],s={name:"ImDrawerDemo",data:function(){return{drawerVisible:!1,formConfig:{column:1,gutter:24,attrs:{labelPosition:"top"},props:{name:void 0,description:void 0},formItems:[{type:"ImInput",prop:"name",label:"名称",attrs:{maxlength:20,showWordLimit:!0}},{type:"ImInput",prop:"description",label:"描述",attrs:{type:"textarea",rows:4,maxlength:100,showWordLimit:!0}}]}}},methods:{openDrawer:function(){this.drawerVisible=!0},handleSubmit:function(){console.log("提交表单",this.formConfig.props),this.drawerVisible=!1},handleClose:function(){console.log("关闭抽屉"),this.drawerVisible=!1}}},n=s,a=i("2877"),l=Object(a["a"])(n,o,r,!1,null,"3fdaf850",null);t["default"]=l.exports}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[14],{d3a5:function(e,t,r){"use strict";r.r(t);var l=function(){var e=this,t=e._self._c;return t("ImWrapper",[t("ImCard",[t("h3",{attrs:{slot:"title"},slot:"title"},[e._v("常用表单")]),t("el-button",{attrs:{type:"primary"},on:{click:e.handleClick}},[e._v("点击")]),t("ImForm",{ref:"ImForm",attrs:{form:e.formConfig}})],1),t("ImCard",[t("h3",{attrs:{slot:"title"},slot:"title"},[e._v("表格形式表单")]),t("ImForm",{attrs:{form:e.formConfig1,"table-h":""}})],1)],1)},i=[],s={data:function(){return{formConfig:{column:4,gutter:24,attrs:{labelWidth:"120px",labelPosition:"top"},props:{author:"",introduction:"",name:"",type:void 0,coverUrl:"",fileUrl:"",checkbox:[1,2]},formItems:[{type:"ImInput",prop:"author",label:"作者",rules:[{required:!0,message:"请输入作者"}],attrs:{maxlength:32}},{type:"ImInput",prop:"name",label:"名称",rules:[{required:!0,message:"请输入名称"}],attrs:{maxlength:32,showWordLimit:!0}},{type:"ImBr",prop:"br",label:"换行",notInForm:!0},{type:"ImDatePicker",label:"规则时效",prop:"ruleTimeRange",rules:[{required:!this.isView,message:"请输入规则时效"}],attrs:{isView:this.isView,style:"width: 100%;",valueFormat:"yyyy-MM-dd HH:mm:ss",labelFormat:"YYYY.MM.DD HH:mm:ss",type:"datetimerange",startPlaceholder:"开始日期",endPlaceholder:"结束日期",defaultTime:["00:00:00","23:59:59"]}},{type:"ImSelect",prop:"gender",label:"性别",rules:[{required:!0,message:"请选择性别"}],attrs:{style:"width: 100%"}},{type:"ImCheckbox",prop:"checkbox",label:"复选框",attrs:{isView:!1,options:[{label:"选项1",value:1},{label:"选项2",value:2}]}},{type:"FieldFileUpload",prop:"fileList",label:"上传附件",span:24,rules:[{required:!this.isView,message:"请上传附件"}],attrs:{isView:this.isView,fileSize:5,limit:50,tipText:"请上传pdf、jpg、png、docx、doc格式文件,且每个文件不超过5M,最多上传50个文件"}},{type:"ImInput",prop:"introduction",label:"简介",span:24,rules:[{required:!0,message:"请输入简介"}],attrs:{type:"textarea",rows:6,maxlength:64,showWordLimit:!0}}]},formConfig1:{column:3,gutter:0,attrs:{labelWidth:"120px",labelPosition:"right"},props:{author:"",introduction:"",name:"",type:void 0,coverUrl:"",fileUrl:"",checkbox:[1,2]},formItems:[{type:"ImInput",prop:"author",label:"作者",rules:[{required:!0,message:"请输入作者"}],attrs:{maxlength:32}},{type:"ImInput",prop:"name",label:"名称",rules:[{required:!0,message:"请输入名称"}],attrs:{maxlength:32,showWordLimit:!0}},{type:"ImDatePicker",label:"规则时效",prop:"ruleTimeRange",rules:[{required:!this.isView,message:"请输入规则时效"}],attrs:{isView:this.isView,style:"width: 100%;",valueFormat:"yyyy-MM-dd HH:mm:ss",labelFormat:"YYYY.MM.DD HH:mm:ss",type:"datetimerange",startPlaceholder:"开始日期",endPlaceholder:"结束日期",defaultTime:["00:00:00","23:59:59"]}},{type:"ImSelect",prop:"gender",label:"性别",rules:[{required:!0,message:"请选择性别"}],attrs:{style:"width: 100%"}},{type:"ImCheckbox",prop:"checkbox",label:"复选框",attrs:{isView:!1,options:[{label:"选项1",value:1},{label:"选项2",value:2}]}},{type:"FieldFileUpload",prop:"fileList",label:"上传附件",span:24,rules:[{required:!this.isView,message:"请上传附件"}],attrs:{isView:this.isView,fileSize:5,limit:50,tipText:"请上传pdf、jpg、png、docx、doc格式文件,且每个文件不超过5M,最多上传50个文件"}},{type:"ImInput",prop:"introduction",label:"简介",span:24,rules:[{required:!0,message:"请输入简介"}],attrs:{type:"textarea",rows:6,maxlength:64,showWordLimit:!0}}]}}},methods:{handleClick:function(){this.$refs.ImForm.showCustomDialog()}}},a=s,o=r("2877"),p=Object(o["a"])(a,l,i,!1,null,null,null);t["default"]=p.exports}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[15],{a92c:function(t,e,l){"use strict";l.r(e);var o=function(){var t=this,e=t._self._c;return e("ImWrapper",[e("div",{staticClass:"bg-white p-4",attrs:{slot:"header"},slot:"header"},[t._v("合并单元格使用方式实例")]),e("ImCard",[e("h3",{attrs:{slot:"title"},slot:"title"},[t._v("合并单元格")]),e("ImTable",{attrs:{table:t.tableConfig,"has-border":""}},[e("template",{slot:"multipleLine"},t._l(4,(function(l){return e("ImTableCellWithBorder",{key:l},[t._v(" item ")])})),1),e("template",{slot:"operate"},[e("el-button",{attrs:{size:"medium",type:"text"}},[t._v("查看")]),e("el-button",{attrs:{size:"medium",type:"text"}},[t._v("编辑")]),e("el-button",{attrs:{size:"medium",type:"text"}},[t._v("删除")])],1)],2)],1)],1)},i=[],a={data:function(){return{tableConfig:{data:[{},{},{},{}],tableItems:[{prop:"paperNumber",label:"试卷编号",attrs:{fixed:"left","show-overflow-tooltip":!0,width:"180"}},{label:"试卷名称",type:"slot",slot:"multipleLine",attrs:{"min-width":"180"}},{prop:"productName",label:"关联认证产品",attrs:{"show-overflow-tooltip":!0,"min-width":"120"}},{prop:"createName",label:"创建人",attrs:{"show-overflow-tooltip":!0,"min-width":"100"}},{prop:"createTime",label:"创建时间",attrs:{"show-overflow-tooltip":!0,"min-width":"180"}},{prop:"updateName",label:"最近更新人",attrs:{"show-overflow-tooltip":!0,"min-width":"100"}},{prop:"updateTime",label:"最近更新时间",attrs:{"show-overflow-tooltip":!0,"min-width":"180"}},{prop:"",label:"操作",type:"slot",attrs:{fixed:"right",width:"150"},slot:"operate"}]}}}},r=a,s=l("2877"),p=Object(s["a"])(r,o,i,!1,null,null,null);e["default"]=p.exports}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[16],{d524:function(t,e,o){"use strict";o.r(e);var l=function(){var t=this,e=t._self._c;return e("ImWrapper",[e("ImCard",[e("h3",{attrs:{slot:"title"},slot:"title"},[t._v("合并单元格")]),e("div",{staticClass:"text-right pb-2"},[e("el-button",{attrs:{type:"primary"},on:{click:t.showCustomFieldsDialog1}},[t._v("自定义字段")])],1),e("ImTable",{ref:"table1",attrs:{table:t.tableConfig,"has-border":""}},[e("template",{slot:"multipleLine"},t._l(4,(function(t){return e("ImTableCellWithBorder",{key:t},[e("ImOneLineDot",{attrs:{text:"itemitemitemitemitemitemitemitemitemitemitemitemitem"}})],1)})),1),e("template",{slot:"operate"},[e("el-button",{attrs:{size:"medium",type:"text"}},[t._v("查看")]),e("el-button",{attrs:{size:"medium",type:"text"}},[t._v("编辑")]),e("el-button",{attrs:{size:"medium",type:"text"}},[t._v("删除")])],1)],2)],1)],1)},i=[],a=(o("14d9"),{data:function(){return{tableConfig:{data:[{}],tableItems:[{prop:"paperNumber",label:"试卷编号",attrs:{fixed:"left","show-overflow-tooltip":!0,width:"180"}},{label:"试卷名称",prop:"paperName",type:"slot",slot:"multipleLine",attrs:{"min-width":"180"}},{prop:"productName",label:"关联认证产品",attrs:{"show-overflow-tooltip":!0,"min-width":"120"}},{prop:"createName",label:"创建人",attrs:{"show-overflow-tooltip":!0,"min-width":"100"}},{prop:"createTime",label:"创建时间",attrs:{"show-overflow-tooltip":!0,"min-width":"180"}},{prop:"updateName",label:"最近更新人",attrs:{"show-overflow-tooltip":!0,"min-width":"100"}},{prop:"updateTime",label:"最近更新时间",attrs:{"show-overflow-tooltip":!0,"min-width":"180"}},{prop:"test1",label:"测试字段1测试字段2测试字段2测试字段2",attrs:{"show-overflow-tooltip":!0,"min-width":"180"}},{prop:"test2",label:"测试字段2测试字段2测试字段2测试字段2",attrs:{"show-overflow-tooltip":!0,"min-width":"180"}},{prop:"operate",label:"操作",type:"slot",attrs:{fixed:"right",width:"150"},slot:"operate"}]},tableConfig2:{attrs:{virtualScroll:!0,"max-height":"500px"},data:[{}],tableItems:[{prop:"name",label:"试卷编号",attrs:{"show-overflow-tooltip":!0,width:"180"}},{prop:"combineHeader",label:"合并表头",type:"children",attrs:{"show-overflow-tooltip":!0,"min-width":"180"},children:[{label:"试卷名称",type:"slot",slot:"multipleLine",attrs:{"min-width":"180"},children:[{label:"试卷名称1",prop:"test1"},{label:"试卷名称2",prop:"test2"}]},{prop:"productName",label:"关联认证产品",attrs:{"show-overflow-tooltip":!0,"min-width":"120"},children:[{label:"试卷名称1",prop:"test1"},{label:"试卷名称2",prop:"test2"}]},{prop:"createName",headSlot:"labelSlot",attrs:{"show-overflow-tooltip":!0,"min-width":"100"},children:[{headSlot:"labelSlot",prop:"test1"},{label:"试卷名称2",prop:"test2",type:"slot",slot:"multipleLine"}]}]},{prop:"updateName",label:"最近更新人",attrs:{"show-overflow-tooltip":!0,"min-width":"100"}},{prop:"updateTime",label:"最近更新时间",type:"customFilter",attrs:{"show-overflow-tooltip":!0,"min-width":"180"},filter:function(t){return"-"}},{prop:"operate",label:"操作",type:"slot",attrs:{width:"150"},slot:"operate"}]}}},computed:{},watch:{},created:function(){for(var t=[],e=0;e<5e3;e++)t.push({name:"name"+e});this.tableConfig2.data=t},mounted:function(){},methods:{showCustomFieldsDialog1:function(){this.$refs.table1.showCustomDialog()},showCustomFieldsDialog2:function(){this.$refs.table2.showCustomDialog()}}}),r=a,p=o("2877"),s=Object(p["a"])(r,l,i,!1,null,null,null);e["default"]=s.exports}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[17],{9495:function(t,e,r){"use strict";r.r(e);var i=function(){var t=this,e=t._self._c;return e("div")},a=[],u=(r("caad"),r("14d9"),r("ac1f"),r("2532"),r("5319"),r("a18c")),n={name:"RedirectLogic",data:function(){return{routerPathArray:[]}},beforeMount:function(){this.getRouterPath(u["a"]),this.routerPathArray.includes(this.$route.path)?this.$router.replace("/403"):this.$router.replace("/404")},methods:{getRouterPath:function(t){for(var e=0;e<t.length;e++){var r=t[e];r.path&&this.routerPathArray.push(r.path),r.children&&this.getRouterPath(r.children)}}}},h=n,o=r("2877"),s=Object(o["a"])(h,i,a,!1,null,null,null);e["default"]=s.exports}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[2],{2396:function(t,e,n){},"5e87":function(t,e,n){"use strict";n("c0b2")},c0b2:function(t,e,n){},c307:function(t,e,n){"use strict";n("2396")},c421:function(t,e,n){"use strict";n.d(e,"e",(function(){return l})),n.d(e,"b",(function(){return f})),n.d(e,"a",(function(){return d})),n.d(e,"d",(function(){return m})),n.d(e,"c",(function(){return g}));n("d3b7"),n("e6cf");var r=n("5f87"),i=n("5c96"),a=n("bc3a"),o=n.n(a),s=(n("e9c4"),n("b64b"),n("fa7d"));function c(t){var e=s["a"].encrypt(t),n=localStorage.getItem(e);if(n){var r=s["a"].decrypt(n);return JSON.parse(r)}}var u=o.a.create({baseURL:Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BASE_API,timeout:3e5});u.interceptors.request.use((function(t){return Object(r["a"])()&&(t.headers.Authorization=Object(r["a"])()),t.headers.app=c("currentApp"),t.headers.platSource=1,t}),(function(t){Promise.reject(t)})),u.interceptors.response.use((function(t){var e=t.data;return e}),(function(t){return i["Message"].closeAll(),Object(i["Message"])({message:t.message,type:"error",duration:5e3}),Promise.reject(t)}));var p=u;function l(t){return p({url:"/applyCenter-admin/config/list",method:"post",data:t})}function f(t){return p({url:"/applyCenter-admin/config/del",method:"post",data:t})}function d(t){return p({url:"/applyCenter-admin/config/add",method:"post",data:t})}function m(t){return p({url:"/applyCenter-admin/config/get",method:"post",data:t})}function g(t){return p({url:"/applyCenter-admin/config/edit",method:"post",data:t})}},c52b:function(t,e,n){t.exports=n.p+"img/itemImg.2dab467d.png"},c7e2:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;return e("ImWrapper",[e("div",{staticClass:"applyItemContainer"},t._l(t.options,(function(t){return e("ApplyFormItem",{key:t.id,attrs:{"item-data":t}})})),1)])},i=[],a=n("c421"),o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"item-view"},[e("p",{staticClass:"form-title"},[t._v(t._s(t.itemData.formConfigName))]),e("el-button",{staticClass:"button-view",attrs:{type:"primary"},on:{click:function(e){return t.applyRequest(t.itemData)}}},[t._v("申请"),e("i",{staticClass:"el-icon-arrow-right el-icon--right bold"})]),e("img",{staticClass:"bg-img",attrs:{src:n("c52b"),alt:""}})],1)},s=[],c=(n("14d9"),{name:"ApplyFormItem",props:{itemData:{type:Object,default:function(){}}},data:function(){return{}},mounted:function(){},methods:{applyRequest:function(t){this.$router.push({name:"ApplyManageApply",query:{id:t.id}})}}}),u=c,p=(n("5e87"),n("2877")),l=Object(p["a"])(u,o,s,!1,null,"79cedba3",null),f=l.exports,d={name:"ApplyManageList",components:{ApplyFormItem:f},data:function(){return{options:[]}},created:function(){this.getApplyFormConfigList()},methods:{getApplyFormConfigList:function(){var t=this;Object(a["e"])({page:1,limit:100}).then((function(e){if(200===e.code){var n=e.data||[];t.options=n.list||[]}else t.$message.error(e.message)}))}}},m=d,g=(n("c307"),Object(p["a"])(m,r,i,!1,null,"0111b390",null));e["default"]=g.exports}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[3],{"0146":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;return e("ImWrapper",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"min-h-full"},[e("el-card",{staticClass:"box-card mb-[32px]"},[e("div",{staticClass:"header pl-4 pr-4",attrs:{slot:"header"},slot:"header"},[e("div",{staticClass:"header-text"},[t._v(" 申请 "),e("span",[t._v(t._s(t.subTitle))])]),e("div",{staticClass:"header-version"},[t._v(t._s(t.formDesc))])]),e("div",{staticClass:"add-meeting-main"},[e("ImForm",{ref:"ImForm",attrs:{"table-h":"",form:t.formConfig}})],1)]),e("FixedBottom",{staticClass:"meeting-detail-button"},[e("el-button",{on:{click:t.closeCurrent}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary",loading:t.submitLoading},on:{click:t.submitForm}},[t._v("提交")])],1)],1)},i=[],a=r("5530"),o=(r("4de4"),r("b64b"),r("d3b7"),r("c421")),s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"fixedBottom fixed bottom-0 text-center right-0 bg-white shadow-dark-50 shadow-2xl z-10",class:{sidebarOpened:t.sidebarOpened}},[t._t("default")],2)},c=[],u=r("2f62"),d={name:"FixedBottom",computed:Object(a["a"])(Object(a["a"])({},Object(u["b"])(["sidebar"])),{},{sidebarOpened:function(){return!!this.sidebar.opened}})},f=d,l=(r("59a3"),r("2877")),m=Object(l["a"])(f,s,c,!1,null,"404d30c6",null),p=m.exports,b=r("fa7d"),g={name:"meetingApply",components:{FixedBottom:p},data:function(){return{loading:!1,submitLoading:!1,formConfig:{column:4,gutter:0,attrs:{labelWidth:"165px"},props:{},formItems:[]},subTitle:"",formDesc:"",id:this.$route.query.id}},created:function(){this.getApplyFormConfig()},methods:{getApplyFormConfig:function(){var t=this;Object(o["d"])({id:this.id}).then((function(e){if(200===e.code){var r=e.data||{};t.subTitle=r.formConfigName||"",t.formDesc=r.formDesc||"";try{var n=JSON.parse(r.formData);if(n&&n.length){var i=n.filter((function(t){var e;return null===t||void 0===t||null===(e=t.attrs)||void 0===e||!e.permission||b["a"].hasPermission(t.attrs.permission)}));t.formConfig.formItems=i}}catch(a){t.formConfig=[]}}else t.$message.error(e.message)}))},closeCurrent:function(){this.$router.back()},getProps:function(){var t=this.formConfig.props,e=Object(a["a"])({},t);return e},submitForm:function(){var t=this;this.$refs.ImForm.validate((function(e){if(!e)return t.$message.warning("请检查表单项!"),!1;var r=t.getProps();console.log("data",r)}))}}},h=g,v=(r("5b23"),Object(l["a"])(h,n,i,!1,null,"4d987f00",null));e["default"]=v.exports},"1f73":function(t,e,r){},"59a3":function(t,e,r){"use strict";r("1f73")},"5b23":function(t,e,r){"use strict";r("de91")},c421:function(t,e,r){"use strict";r.d(e,"e",(function(){return f})),r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return m})),r.d(e,"d",(function(){return p})),r.d(e,"c",(function(){return b}));r("d3b7"),r("e6cf");var n=r("5f87"),i=r("5c96"),a=r("bc3a"),o=r.n(a),s=(r("e9c4"),r("b64b"),r("fa7d"));function c(t){var e=s["a"].encrypt(t),r=localStorage.getItem(e);if(r){var n=s["a"].decrypt(r);return JSON.parse(n)}}var u=o.a.create({baseURL:Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BASE_API,timeout:3e5});u.interceptors.request.use((function(t){return Object(n["a"])()&&(t.headers.Authorization=Object(n["a"])()),t.headers.app=c("currentApp"),t.headers.platSource=1,t}),(function(t){Promise.reject(t)})),u.interceptors.response.use((function(t){var e=t.data;return e}),(function(t){return i["Message"].closeAll(),Object(i["Message"])({message:t.message,type:"error",duration:5e3}),Promise.reject(t)}));var d=u;function f(t){return d({url:"/applyCenter-admin/config/list",method:"post",data:t})}function l(t){return d({url:"/applyCenter-admin/config/del",method:"post",data:t})}function m(t){return d({url:"/applyCenter-admin/config/add",method:"post",data:t})}function p(t){return d({url:"/applyCenter-admin/config/get",method:"post",data:t})}function b(t){return d({url:"/applyCenter-admin/config/edit",method:"post",data:t})}},de91:function(t,e,r){}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[4],{"42a3":function(e,t,i){"use strict";i("8135")},"7dfb":function(e,t,i){"use strict";i.r(t);i("ac1f"),i("841c");var o=function(){var e=this,t=e._self._c;return t("ImWrapper",[t("ImSearchArea",[t("ImForm",{ref:"ImForm",attrs:{form:e.formConfig},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.search.apply(null,arguments)}}})],1),t("ImTableArea",[t("div",{staticClass:"mb-4"},[t("el-button",{attrs:{type:"primary"},on:{click:e.addItem}},[e._v("新建申请表单")]),t("el-button",{attrs:{type:"primary"},on:{click:e.customizeFields}},[e._v("自定义列表字段")])],1),t("ImTable",{ref:"ImTable",attrs:{loading:e.loading,table:e.tableConfig},scopedSlots:e._u([{key:"operate",fn:function(i){return[t("el-button",{attrs:{size:"medium",type:"text"},on:{click:function(t){return e.editItem(i.row)}}},[e._v("编辑")]),t("el-button",{attrs:{size:"medium",type:"text"},on:{click:function(t){return e.configItem(i.row)}}},[e._v("申请表单配置")]),t("el-button",{attrs:{size:"medium",type:"text"},on:{click:function(t){return e.deleteItem(i.row)}}},[e._v("删除")])]}}])}),t("ImPagination",{ref:"ImPagination",attrs:{"page-size":e.pageSize,"current-page":e.currentPage,total:e.total},on:{"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},change:e.getList}})],1),t("AddOrEditForm",{ref:"AddOrEditForm",on:{update:e.getList}})],1)},n=[],r=i("5530"),a=(i("7db0"),i("14d9"),i("d3b7"),i("e6cf"),i("a79d"),function(){var e=this,t=e._self._c;return t("ImDialog",{staticClass:"AddOrEditForm",attrs:{visible:e.dialogVisible,"save-loading":e.saveLoading,"close-on-click-modal":!1,height:"auto",width:"800px",title:e.id?"编辑申请表单":"新建申请表单"},on:{"update:visible":function(t){e.dialogVisible=t},submit:e.submitForm,cancel:e.closeDialog}},[t("ImForm",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"ImForm",attrs:{form:e.formConfig}})],1)}),s=[],l=(i("b64b"),i("159b"),i("c421")),c=[{label:"会议",value:"1"},{label:"非销售",value:"2"},{label:"销售",value:"3"},{label:"物资",value:"4"}],u={name:"AddOrEditForm",components:{},data:function(){return{saveLoading:!1,loading:!1,formConfig:{column:2,gutter:20,attrs:{labelWidth:"120px",labelPosition:"top"},props:{formConfigName:void 0,formTypeNo:void 0,formDesc:void 0},formItems:[]},id:void 0,dialogVisible:!1}},computed:{formItems:function(){return[{type:"ImInput",prop:"formConfigName",label:"申请表单名称",rules:[{required:!0,message:"请输入申请表单名称"}],attrs:{maxLength:20}},{type:"ImSelect",prop:"formTypeNo",label:"申请表单类型",rules:[{required:!0,message:"请选择申请表单类型"}],attrs:{disabled:!!this.objectCode,style:"width: 100%",options:c,clearable:!0}},{type:"ImInput",prop:"formDesc",label:"申请表单介绍",span:24,attrs:{maxlength:100,type:"textarea",rows:3,size:"medium",showWordLimit:!0}}]}},watch:{formItems:{deep:!0,immediate:!0,handler:function(e){this.formConfig.formItems=e}}},methods:{add:function(){this.objectCode=void 0,this.formConfig.props={formConfigName:void 0,formTypeNo:void 0,formDesc:void 0},this.showDialog()},edit:function(e){this.id=e,this.dialogVisible=!0,this.getDetails(),this.showDialog()},getDetails:function(){var e=this;this.loading=!0,Object(l["d"])({id:this.id}).then((function(t){if(200===t.code){var i=t.data||{};e.objectCode=i.objectCode;var o=Object.keys(e.formConfig.props);o.forEach((function(t){e.formConfig.props[t]=i[t]}))}else e.$message.error(t.message)})).finally((function(){e.loading=!1}))},showDialog:function(){var e=this;this.dialogVisible=!0,this.$nextTick((function(){e.$refs.ImForm&&e.$refs.ImForm.clearValidate()}))},submitForm:function(){var e=this;this.$refs.ImForm.validate((function(t){if(t){var i=Object(r["a"])({},e.formConfig.props);e.saveLoading=!0,e.id?(i.id=e.id,Object(l["c"])(i).then((function(t){e.saveSuccess(t)})).finally((function(){e.saveLoading=!1}))):Object(l["a"])(i).then((function(t){e.saveSuccess(t)})).finally((function(){e.saveLoading=!1}))}else e.$message.warning("请检查表单项!")}))},saveSuccess:function(e){200===e.code?(this.$message.success("操作成功!"),this.$emit("update"),this.closeDialog()):this.$message.error(e.message)},closeDialog:function(){this.$refs.ImForm.reset(),this.dialogVisible=!1}}},d=u,m=(i("42a3"),i("2877")),f=Object(m["a"])(d,a,s,!1,null,"24d67095",null),p=f.exports,g={name:"FormManageList",components:{AddOrEditForm:p},data:function(){return{inited:!1,formConfig:{column:4,gutter:24,attrs:{labelPosition:"top"},props:{formConfigName:void 0,formTypeNo:void 0},formItems:[{type:"ImInput",prop:"formConfigName",label:"申请表单名称"},{type:"ImSelect",prop:"formTypeNo",label:"申请表单分类",attrs:{clearable:!0,class:"w-full",options:c},listeners:{change:this.search}},{type:"ImButton",notInCol:!0,prop:"operate",attrs:{style:"float: right;margin-top: 40px;",options:[{label:"重 置",attrs:{type:"default"},listeners:{click:this.resetForm}},{label:"查 询",attrs:{type:"primary"},listeners:{click:this.search}},{label:"自定义字段",attrs:{type:"primary"},listeners:{click:this.customFormFields}}]}}]},tableConfig:{data:[],tableItems:[{prop:"index",label:"序号",type:"index",attrs:{width:"60"}},{prop:"formConfigName",label:"申请表单名称",attrs:{"min-width":"120"}},{prop:"formTypeNo",label:"申请表单类型",type:"customFilter",attrs:{"min-width":"120"},filter:function(e){var t=c.find((function(t){return t.value===e}));return t?t.label:"-"}},{prop:"formDesc",label:"申请表单介绍",attrs:{showOverflowTooltip:!0,"min-width":"220"}},{prop:"operate",label:"操作",type:"slot",slot:"operate",attrs:{width:"200",fixed:"right"}}]},loading:!1,pageSize:10,currentPage:1,total:0}},created:function(){this.getList(),this.inited=!0},activated:function(){this.inited?this.inited=!1:this.getList()},mounted:function(){console.log("this.$imui",this.$imui)},methods:{customFormFields:function(){this.$refs.ImForm.showCustomDialog()},editItem:function(e){this.$refs.AddOrEditForm.edit(e.id)},addItem:function(){this.$refs.AddOrEditForm.add()},configItem:function(e){this.$router.push({name:"ApplyFormManageFormConfig",query:{id:e.id}})},deleteItem:function(e){var t=this;this.$confirm("确定要删除该项吗?","提示",{type:"warning",customClass:"deleteConfirm",confirmButtonText:"确定",cancelButtonText:"取消"}).then((function(){Object(l["b"])({id:e.id}).then((function(e){200===e.code?(t.$message.success("操作成功!"),t.search()):t.$message.error(e.message)}))})).catch((function(){}))},resetForm:function(){this.$refs.ImForm.reset(),this.$refs.ImPagination.reset(),this.getList()},search:function(){this.$refs.ImPagination.reset(),this.getList()},getList:function(){var e=this,t=Object(r["a"])({page:this.currentPage,limit:this.pageSize},this.formConfig.props);this.loading=!0,Object(l["e"])(t).then((function(t){200===t.code&&(e.total=t.data.totalCount,e.tableConfig.data=t.data.list||[])})).finally((function(){e.loading=!1}))},customizeFields:function(){this.$refs.ImTable.showCustomDialog()}}},h=g,b=Object(m["a"])(h,o,n,!1,null,null,null);t["default"]=b.exports},8135:function(e,t,i){},c421:function(e,t,i){"use strict";i.d(t,"e",(function(){return d})),i.d(t,"b",(function(){return m})),i.d(t,"a",(function(){return f})),i.d(t,"d",(function(){return p})),i.d(t,"c",(function(){return g}));i("d3b7"),i("e6cf");var o=i("5f87"),n=i("5c96"),r=i("bc3a"),a=i.n(r),s=(i("e9c4"),i("b64b"),i("fa7d"));function l(e){var t=s["a"].encrypt(e),i=localStorage.getItem(t);if(i){var o=s["a"].decrypt(i);return JSON.parse(o)}}var c=a.a.create({baseURL:Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BASE_API,timeout:3e5});c.interceptors.request.use((function(e){return Object(o["a"])()&&(e.headers.Authorization=Object(o["a"])()),e.headers.app=l("currentApp"),e.headers.platSource=1,e}),(function(e){Promise.reject(e)})),c.interceptors.response.use((function(e){var t=e.data;return t}),(function(e){return n["Message"].closeAll(),Object(n["Message"])({message:e.message,type:"error",duration:5e3}),Promise.reject(e)}));var u=c;function d(e){return u({url:"/applyCenter-admin/config/list",method:"post",data:e})}function m(e){return u({url:"/applyCenter-admin/config/del",method:"post",data:e})}function f(e){return u({url:"/applyCenter-admin/config/add",method:"post",data:e})}function p(e){return u({url:"/applyCenter-admin/config/get",method:"post",data:e})}function g(e){return u({url:"/applyCenter-admin/config/edit",method:"post",data:e})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[5],{"46f9":function(e,t,i){"use strict";i("56ea")},"56ea":function(e,t,i){},"7abe":function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("ImWrapper",[t("div",{staticClass:"homeMine"},[t("img",{attrs:{src:i("e3e6")}}),t("div",{staticClass:"homeMine_text"},[e._v("欢迎使用爱美客管理系统")])])])},s=[],u={name:"home",data:function(){return{}}},a=u,f=(i("46f9"),i("2877")),c=Object(f["a"])(a,n,s,!1,null,null,null);t["default"]=c.exports},e3e6:function(e,t,i){e.exports=i.p+"img/home.3c5166d9.svg"}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[6],{"44fd":function(i,t,s){"use strict";s.r(t);var e=function(){var i=this,t=i._self._c;return t("ImWrapper",[t("ImCard",[t("h3",{attrs:{slot:"title"},slot:"title"},[i._v("ImLoading 组件示例")]),t("div",{staticClass:"loading-demo"},[t("div",{staticClass:"loading-item"},[t("h4",[i._v("中等尺寸")]),t("ImLoading",{attrs:{size:"medium"}})],1),t("div",{staticClass:"loading-item"},[t("h4",[i._v("小尺寸")]),t("ImLoading",{attrs:{size:"small"}})],1),t("div",{staticClass:"loading-item"},[t("h4",[i._v("迷你尺寸")]),t("ImLoading",{attrs:{size:"mini"}})],1)])])],1)},a=[],n={name:"ImLoadingDemo"},l=n,d=(s("615c"),s("2877")),o=Object(d["a"])(l,e,a,!1,null,"5d5515b6",null);t["default"]=o.exports},"615c":function(i,t,s){"use strict";s("9af2")},"9af2":function(i,t,s){}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[7],{"03b1":function(e,i,t){"use strict";t.r(i);var o=function(){var e=this,i=e._self._c;return i("div",{staticClass:"screen-capture-widget"},[i("el-popover",{attrs:{placement:"top-end",width:"200",trigger:"click"},model:{value:e.visible,callback:function(i){e.visible=i},expression:"visible"}},[i("div",{staticClass:"capture-options"},[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:e.captureScreenshot}},[e._v(" 截屏 ")]),i("el-button",{attrs:{type:"success",size:"mini"},on:{click:e.toggleScreenRecording}},[e._v(" "+e._s(e.isRecording?"停止录屏":"开始录屏")+" ")])],1),i("el-button",{staticClass:"capture-button",attrs:{slot:"reference",type:"primary",icon:"el-icon-camera",circle:""},slot:"reference"})],1),i("el-dialog",{attrs:{title:"操作结果",visible:e.dialogVisible,width:"30%"},on:{"update:visible":function(i){e.dialogVisible=i}}},[i("span",[e._v(e._s(e.dialogMessage))]),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{attrs:{type:"primary"},on:{click:function(i){e.dialogVisible=!1}}},[e._v("确定")])],1)]),i("transition",{attrs:{name:"fade"}},[e.isRecording?i("div",{staticClass:"stop-recording-bar"},[i("el-button",{attrs:{type:"danger"},on:{click:e.stopRecording}},[e._v("停止录屏")]),i("span",{staticClass:"recording-indicator"})],1):e._e()])],1)},n=[],s=(t("14d9"),t("d3b7"),t("159b"),t("3f24")),a={name:"ScreenCaptureWidget",data:function(){return{isRecording:!1,mediaRecorder:null,chunks:[],visible:!1,dialogVisible:!1,dialogMessage:""}},methods:{captureScreenshot:function(){var e=this;navigator.mediaDevices.getDisplayMedia({preferCurrentTab:!0}).then((function(e){var i=e.getVideoTracks()[0],t=new ImageCapture(i);return t.grabFrame()})).then((function(i){var t=document.createElement("canvas");t.width=i.width,t.height=i.height,t.getContext("2d").drawImage(i,0,0),t.toBlob((function(i){var t=new File([i],"截图.png",{type:"image/png"});e.saveImage(t)}),"image/png")})).catch((function(i){console.error("截屏失败:",i),e.showDialog("截屏失败")}))},toggleScreenRecording:function(){this.isRecording?this.stopRecording():this.startRecording()},startRecording:function(){var e=this;navigator.mediaDevices.getDisplayMedia({video:!0}).then((function(i){e.mediaRecorder=new MediaRecorder(i),e.mediaRecorder.ondataavailable=function(i){i.data.size>0&&e.chunks.push(i.data)},e.mediaRecorder.onstop=function(){var i=new Blob(e.chunks,{type:"video/webm"}),t=new File([i],"录屏.webm",{type:"video/webm"});e.chunks=[],e.saveVideo(t)},e.mediaRecorder.start(),e.isRecording=!0,e.showDialog("开始录屏")})).catch((function(i){console.error("开始录屏失败:",i),e.showDialog("开始录屏失败")}))},stopRecording:function(){this.mediaRecorder&&(this.mediaRecorder.stop(),this.isRecording=!1,this.showDialog("录屏已停止"))},saveImage:function(e){var i=this;Object(s["b"])({file:e,onSuccess:function(e){console.log("截图上传成功:",e),i.showDialog("截图上传成功")},onError:function(e){console.error("截图上传失败:",e),i.showDialog("截图上传失败")}}),this.stopScreenSharing()},saveVideo:function(e){var i=this;Object(s["b"])({file:e,onSuccess:function(e){console.log("录屏上传成功:",e),i.showDialog("录屏上传成功")},onError:function(e){console.error("录屏上传失败:",e),i.showDialog("录屏上传失败")}}),this.stopScreenSharing()},stopScreenSharing:function(){this.mediaRecorder&&this.mediaRecorder.stream&&this.mediaRecorder.stream.getTracks().forEach((function(e){return e.stop()}))},showDialog:function(e){this.dialogMessage=e,this.dialogVisible=!0}}},r=a,c=(t("b866"),t("2877")),l=Object(c["a"])(r,o,n,!1,null,"bd53852c",null);i["default"]=l.exports},"4a57":function(e,i,t){},b866:function(e,i,t){"use strict";t("4a57")}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[8],{"53fc":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;return t("FormConfigPage",{attrs:{title:e.title,"form-config":e.formData},on:{saveSubmit:e.onSavaSubmit,goBack:e.goBack}})},a=[],o=(n("e9c4"),n("b64b"),n("ac1f"),n("5319"),n("c421")),i={name:"ApplyFormManage",data:function(){return{id:this.$route.query.id,formData:null,title:""}},beforeDestroy:function(){this.$store.commit("app/OPEN_SIDEBAR")},mounted:function(){this.$store.commit("app/CLOSE_SIDEBAR")},created:function(){this.getDetails()},methods:{getDetails:function(){var e=this;Object(o["d"])({id:this.id}).then((function(t){if(200===t.code){var n=t.data||{};e.title=n.formConfigName,n.formData&&(e.formData=JSON.parse(n.formData))}else e.$message.error(t.message)}))},goBack:function(){this.$router.replace({name:"ApplyFormManageList"})},onSavaSubmit:function(e){var t=this,n={id:this.id,formData:JSON.stringify(e)};console.log("data",n),Object(o["c"])(n).then((function(e){200===e.code?t.$message.success("保存成功"):t.$message.error(e.message)}))}}},c=i,s=n("2877"),u=Object(s["a"])(c,r,a,!1,null,null,null);t["default"]=u.exports},c421:function(e,t,n){"use strict";n.d(t,"e",(function(){return d})),n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return g}));n("d3b7"),n("e6cf");var r=n("5f87"),a=n("5c96"),o=n("bc3a"),i=n.n(o),c=(n("e9c4"),n("b64b"),n("fa7d"));function s(e){var t=c["a"].encrypt(e),n=localStorage.getItem(t);if(n){var r=c["a"].decrypt(n);return JSON.parse(r)}}var u=i.a.create({baseURL:Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_BASE_API,timeout:3e5});u.interceptors.request.use((function(e){return Object(r["a"])()&&(e.headers.Authorization=Object(r["a"])()),e.headers.app=s("currentApp"),e.headers.platSource=1,e}),(function(e){Promise.reject(e)})),u.interceptors.response.use((function(e){var t=e.data;return t}),(function(e){return a["Message"].closeAll(),Object(a["Message"])({message:e.message,type:"error",duration:5e3}),Promise.reject(e)}));var f=u;function d(e){return f({url:"/applyCenter-admin/config/list",method:"post",data:e})}function m(e){return f({url:"/applyCenter-admin/config/del",method:"post",data:e})}function p(e){return f({url:"/applyCenter-admin/config/add",method:"post",data:e})}function l(e){return f({url:"/applyCenter-admin/config/get",method:"post",data:e})}function g(e){return f({url:"/applyCenter-admin/config/edit",method:"post",data:e})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[9],{"2d85":function(o,n,e){"use strict";e.r(n);var i=function(){var o=this,n=o._self._c;return n("FormConfigPage",{attrs:{title:o.title,"form-config":o.formConfig},on:{saveSubmit:o.onSaveSubmit,goBack:o.onGoBack}})},t=[],f={name:"FormConfigPageDemo",data:function(){return{title:"表单配置演示",formConfig:null}},methods:{onSaveSubmit:function(o){console.log("保存提交的表单数据:",o)},onGoBack:function(){console.log("返回上一页")}}},l=f,u=e("2877"),s=Object(u["a"])(l,i,t,!1,null,null,null);n["default"]=s.exports}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]=("undefined"!==typeof self?self:this)["webpackJsonpimeik_imui"]||[]).push([[0],{"18aa":function(t,s,i){"use strict";i("bbb0")},a167:function(t,s,i){"use strict";i("dae6")},bbb0:function(t,s,i){},cc89:function(t,s,i){"use strict";i.r(s);var e=function(){var t=this,s=t._self._c;return s("div",{staticClass:"gyl-full-screen container-404"},[s("div",{staticClass:"pic-404"},[s("div",{staticClass:"pic-404-bg"}),s("el-button",{staticClass:"go-home",attrs:{type:"primary"},on:{click:t.routerback}},[t._v(" 返回首页 ")])],1)])},a=[],c=(i("14d9"),{name:"Page404",methods:{routerback:function(){this.$router.push("/")}}}),n=c,u=(i("18aa"),i("2877")),r=Object(u["a"])(n,e,a,!1,null,"3aa5cc40",null);s["default"]=r.exports},dae6:function(t,s,i){},e409:function(t,s,i){"use strict";i.r(s);var e=function(){var t=this,s=t._self._c;return s("div",{staticClass:"gyl-full-screen container-404"},[s("div",{staticClass:"pic-403"},[s("div",{staticClass:"pic-403-bg"}),s("div",{staticStyle:{"font-size":"40px"}},[t._v("403")]),s("div",[t._v("对不起,暂无访问权限")]),s("el-button",{staticClass:"go-home",attrs:{type:"primary"},on:{click:t.routerback}},[t._v(" 返回首页 ")])],1)])},a=[],c=(i("14d9"),{name:"Page404",methods:{routerback:function(){this.$router.push("/")}}}),n=c,u=(i("a167"),i("2877")),r=Object(u["a"])(n,e,a,!1,null,"123a4930",null);s["default"]=r.exports}}]);
|