hz-zhhq-app/unpackage/dist/build/CCINTZHHQKF/static/js/pages-licenseplateApproval-...

1 line
29 KiB
JavaScript
Raw Normal View History

2025-01-22 10:53:47 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-licenseplateApproval-licenseplateApproval"],{"00c6":function(t,e,a){var i=a("dffc");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("c1148d2c",i,!0,{sourceMap:!1,shadowMode:!1})},2140:function(t,e,a){"use strict";a.r(e);var i=a("9a60"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},2909:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var i=c(a("6005")),n=c(a("db90")),o=c(a("06c5")),s=c(a("3427"));function c(t){return t&&t.__esModule?t:{default:t}}function r(t){return(0,i.default)(t)||(0,n.default)(t)||(0,o.default)(t)||(0,s.default)()}},3427:function(t,e,a){"use strict";function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},"3cd0":function(t,e,a){"use strict";a.r(e);var i=a("f1c6"),n=a("2140");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("96cf2");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"dba3e116",null,!1,i["a"],s);e["default"]=r.exports},6005:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(a("6b75"));function n(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t))return(0,i.default)(t)}},"96cf2":function(t,e,a){"use strict";var i=a("00c6"),n=a.n(i);n.a},"9a60":function(t,e,a){"use strict";var i=a("4ea4");a("99af"),a("c975"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("2909")),o=(i(a("3403")),a("d24f")),s=a("fb8c"),c=i(a("474f")),r=(i(a("bb31")),i(a("28ef"))),l=i(a("4729")),d=i(a("b539")),u={data:function(){return{userId:(0,s.getStorage)("userInfo").userId,currentTabIndex:0,page:1,pageSize:5,list:[],stateList:["待审核","已通过","已拒绝","待本人确认","已取消","","已流转"],loadingType:2,contentText:{contentdown:"上拉加载更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"},items:[{value:"0",name:"全选",checked:!1},{value:"1",name:"取消选择",checked:!1}],appointmentType:"0",appointmentTypeForPopup:"",circulationList:[],finalList:[],showList:!0,circulationId:"",objList:[],paramsDataList:[]}},components:{loadMore:c.default,contentNone:r.default,UniPopup:l.default,xflSelect:d.default},watch:{currentTabIndex:function(t,e){this.currentTabIndex=t,this.currentTabIndex&&(this.page=1,this.loadingType=0,this.getMyList())}},onLoad:function(t){2==t.type?this.currentTabIndex=2:this.currentTabIndex=1},methods:{getMyList:function(t){var e=this;this.list=[];var a={method:o.getLpaList,data:{type:this.currentTabIndex+"",pageSize:this.pageSize,page:this.page}};(0,s.callbackRequest)(a).then((function(t){if(1==t.data.returnCode){for(var a=t.data.returnData,i=0;i<a.length;i++)a[i].checkValue=!1;1==e.page?e.list=a:a.length>0?(e.list=[].concat((0,n.default)(e.list),(0,n.default)(a)),e.loadingType=0):e.loadingType=2}}))},toDetail:function(t){uni.navigateTo({url:t})},checkBox:function(t,e){e.checkValue=!e.checkValue},checkRadio:function(t,e){e.checked=!e.checked},getCheckBoxList:function(){for(var t=this,e=[],a=0;a<t.list.length;a++)t.list[a].checkValue&&e.push(t.list[a]);if(0!=e.length){var i=[];for(a=0;a<e.length;a++)if(e[a].checkValue){var n={id:e[a].id,modifier:this.userId,licenseplate1Status:"",eaccountId:e[a].e_account_id};i.push(n)}t.objList=i,this.openButPopup()}else(0,s.alertTip)("请选择数据进行审批!")},submit:function(t){for(var e=this.objList,a=0;a<e.length;a++)e[a].licenseplate1Status=t;var i={method:o.updatelicenseplateApprovalBatch,data:{list:e}},n="是否确认拒绝";2==t&&(n="是否确认同意"),uni.showModal({title:"提示",content:n,success:function(t){t.confirm&&(0,s.callbackRequest)(i).then((function(t){var e="/pages/licenseplateApproval/licenseplateApproval?type=1";(0,s.alertTip)(t.data.returnMsg),setTimeout(