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.
2 lines
30 KiB
2 lines
30 KiB
6 years ago
|
webpackJsonp([16],{1074:function(t,e,n){"use strict";e.__esModule=!0;var i=n(123),s=d(n(1210)),a=d(n(646)),r=d(n(1212)),o=d(n(663)),u=d(n(670)),c=d(n(654)),l=d(n(650));function d(t){return t&&t.__esModule?t:{default:t}}e.default={name:"queue-index",data:function(){return{pageSize:10,pageNo:1,total:null,searchVal:"",isLoading:!0,queueList:[]}},props:{},methods:Object.assign({},(0,i.mapActions)("security",["getQueueListP"]),{_onConditions:function(t){this.searchVal=t.searchVal,this.pageNo=1,this._getQueueListP()},_page:function(t){this.pageNo=t,this._getQueueListP()},_create:function(t){var e=this,n=this.$modal.dialog({closable:!1,showMask:!0,escClose:!0,className:"v-modal-custom",transitionName:"opacityp",render:function(i){return i(r.default,{on:{onUpdate:function(){e._getQueueListP("false"),n.remove()},close:function(){n.remove()}},props:{item:t}})}})},_getQueueListP:function(t){var e=this;this.isLoading=!t,this.getQueueListP({pageSize:this.pageSize,pageNo:this.pageNo,searchVal:this.searchVal}).then(function(t){e.queueList=t.totalList,e.total=t.total,e.isLoading=!1}).catch(function(t){e.isLoading=!1})}}),watch:{},created:function(){this._getQueueListP()},mounted:function(){},components:{mSecondaryMenu:c.default,mList:s.default,mListConstruction:l.default,mConditions:u.default,mSpin:a.default,mNoData:o.default}}},1075:function(t,e,n){"use strict";e.__esModule=!0;var i=n(123);n(668);var s=n(125);e.default={name:"tenement-list",data:function(){return{list:[]}},props:{queueList:Array,pageNo:Number,pageSize:Number},methods:Object.assign({},(0,i.mapActions)("security",["deleteQueue"]),{_closeDelete:function(t){this.$refs["poptip-"+t][0].doClose()},_delete:function(t,e){var n=this;this.deleteQueue({id:t.id}).then(function(t){n.$refs["poptip-"+e][0].doClose(),n.list.splice(e,1),n.$message.success(t.msg)}).catch(function(t){n.$refs["poptip-"+e][0].doClose(),n.$message.error(t.msg||"")})},_edit:function(t){(0,s.findComponentDownward)(this.$root,"queue-index")._create(t)}}),watch:{queueList:function(t){var e=this;this.list=[],setTimeout(function(){e.list=t})}},created:function(){this.list=this.queueList},mounted:function(){},components:{}}},1076:function(t,e,n){"use strict";e.__esModule=!0;var i=o(n(28)),s=(o(n(36)),o(n(91))),a=o(n(223)),r=o(n(224));function o(t){return t&&t.__esModule?t:{default:t}}e.default={name:"create-tenement",data:function(){return{store:s.default,queue:"",queueName:""}},props:{item:Object},methods:{_ok:function(){var t=this;if(this._verification()){var e={queue:i.default.trim(this.queue),queueName:i.default.trim(this.queueName)};this.item&&(e.id=this.item.id);var n=function(e){t.$emit("onUpdate"),t.$message.success(e.msg),setTimeout(function(){t.$refs.popup.spinnerLoading=!1},800)},s=function(e){t.$message.error(e.msg||""),t.$refs.popup.spinnerLoading=!1};this.item?(this.$refs.popup.spinnerLoading=!0,this.store.dispatch("security/updateQueueQ",e).then(function(t){n(t)}).catch(function(t){s(t)})):this._verifyName(e).then(function(){t.$refs.popup.spinnerLoading=!0,t.store.dispatch("security/createQueueQ",e).then(function(t){n(t)}).catch(function(t){s(t)})}).catch(function(e){t.$message.error(e.msg||"")})}},_verification:function(){return this.queueName?!!this.queue||(this.$message.warning("请输入队列值"),!1):(this.$message.warning("请输入名称"),!1)},_verifyName:function(t){var e=this;return new Promise(function(n,i){e.store.dispatch("security/verifyQueueQ",t).then(function(t){n()}).catch(function(t){i(t)})})}},watch:{},created:function(){this.item&&(this.queueName=this.item.queueName,this.queue=this.item.queue)},mounted:function(){},components:{mPopup:a.default,mListBoxF:r.default}}},1210:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1075),s=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,function(){return i[t]})}(a);var r=n(1211),o=n(27)(s.a,r.a,!1,null,null,null);e.default=o.exports},1211:function(t,e,n){"use strict";var i={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"list-model"},[n("div",{staticCl
|
||
|
//# sourceMappingURL=16.fd660eb.js.map
|