新版交易所前段管理后台
1
jhzh
2025-09-10 f6b255f15d0acd8f4cb5a2c1528d9c5d75794cf4
1
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1611de18"],{"20ca":function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));const s=(t,e)=>{let a,s=e||300;return function(){let e=arguments;a&&clearTimeout(a);let r=!a;a=setTimeout(()=>{a=null},s),r&&t.apply(this,e)}}},aa1b:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:"请输入驳回原因","close-on-click-modal":!1,visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"0px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:""}},[a("el-input",{attrs:{type:"textarea",placeholder:"驳回原因",maxlength:"500",autosize:{minRows:8,maxRows:8},"show-word-limit":""},model:{value:t.dataForm.content,callback:function(e){t.$set(t.dataForm,"content",e)},expression:"dataForm.content"}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v("取消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v("确定")])],1)],1)},r=[],i=(a("ed08"),a("20ca")),o={data(){return{visible:!1,menuList:[],menuListTreeProps:{label:"name",children:"children"},dataForm:{id:0,roleName:"",remark:""},dataRule:{roleName:[{required:!0,message:"角色名称不能为空",trigger:"blur"},{pattern:/\s\S+|S+\s|\S/,message:"请输入正确的角色名称",trigger:"blur"}],remark:[{required:!1,pattern:/\s\S+|S+\s|\S/,message:"输入格式有误",trigger:"blur"}]},tempKey:-666666}},methods:{init(t){this.$refs["dataForm"]&&(this.$refs["dataForm"].clearValidate(),this.$refs["dataForm"].resetFields()),this.dataForm={},this.dataForm.id=t||0,this.visible=!0},dataFormSubmit:Object(i["a"])((function(){this.$refs["dataForm"].validate(t=>{t&&this.$http({url:this.$http.adornUrl("/highLevelAuth/examine"),method:"post",data:this.$http.adornData({content:this.dataForm.content,id:this.dataForm.id,type:2})}).then(({data:t})=>{0==t.code?this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{this.visible=!1,this.$emit("refreshDataList")}}):this.$message({message:t.msg,type:"error",duration:1500,onClose:()=>{this.visible=!1}})})})})),getDataList(){this.$http({url:this.$http.adornUrl("/highLevelAuth/list"),method:"post",data:this.$http.adornData({current:this.page.currentPage,size:this.page.pageSize,rolename:this.dataForm.rolename,userCode:this.dataForm.userCode,userId:this.dataForm.userId,startTime:this.dataForm.startTime,endTime:this.dataForm.endTime})}).then(({data:t})=>{0==t.code?(this.dataList=t.data.records,this.page.total=t.data.total,this.dataListLoading=!1):this.$message({message:t.msg,type:"error"})})}}},n=o,l=a("2877"),d=Object(l["a"])(n,s,r,!1,null,null,null);e["default"]=d.exports}}]);