crm_second_opening_mini/pagesA/work/approve/popScreen.js

11 lines
2.5 KiB
JavaScript

require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/work/approve/popScreen"],{"24b2":function(t,e,i){"use strict";i.r(e);var n=i("f01c"),s=i.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(u);e["default"]=s.a},"443f":function(t,e,i){},6330:function(t,e,i){"use strict";i.r(e);var n=i("6e7f"),s=i("24b2");for(var u in s)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(u);i("d74e");var a=i("f0c5"),r=Object(a["a"])(s["default"],n["b"],n["c"],!1,null,"8f7b8590",null,!1,n["a"],void 0);e["default"]=r.exports},"6e7f":function(t,e,i){"use strict";i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return u})),i.d(e,"a",(function(){return n}));var n={uniPopup:function(){return i.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(i.bind(null,"6f9d"))}},s=function(){var t=this.$createElement;this._self._c},u=[]},d74e:function(t,e,i){"use strict";var n=i("443f"),s=i.n(n);s.a},f01c:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{typeList:{type:Array,default:[]}},data:function(){return{formapproval_id:"",typeIndex:null,statusList:[{id:1,name:"待审核"},{id:2,name:"通过"},{id:3,name:"拒绝"}],statusIndex:null,start_time:"",end_time:""}},methods:{changeStatus:function(t){this.statusIndex=t.detail.value},init:function(){this.$refs.popup.open()},closePop:function(){this.$refs.popup.close()},changeType:function(t){this.typeIndex=t.detail.value},changeStartTime:function(t){this.start_time=t.detail.value,this.end_time||(this.end_time=t.detail.value)},changeEndTime:function(t){this.end_time=t.detail.value,this.start_time||(this.start_time=t.detail.value)},reset:function(){this.typeIndex=null,this.start_time="",this.end_time=""},sureQuery:function(){var t={formapproval_id:this.typeList[this.typeIndex]?this.typeList[this.typeIndex].id:"",times:this.start_time&&this.end_time?this.start_time+","+this.end_time:"",check_status:this.statusList[this.statusIndex]?this.statusList[this.statusIndex].id:""};this.closePop(),this.$emit("sureParams",t)}}};e.default=n}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pagesA/work/approve/popScreen-create-component',
{
'pagesA/work/approve/popScreen-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("6330"))
})
},
[['pagesA/work/approve/popScreen-create-component']]
]);