1 |
- require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/subPackages/companyDetails/companyDetails"],{"001c":function(e,t,n){"use strict";n.r(t);var a=n("4e9c"),r=n("a54e");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("78d2"),n("87b3");var o=n("828b"),s=Object(o["a"])(r["default"],a["b"],a["c"],!1,null,"fdf31c30",null,!1,a["a"],void 0);t["default"]=s.exports},"49cd":function(e,t,n){"use strict";(function(e,t){var a=n("47a9");n("5e15"),n("3c60");a(n("3240"));var r=a(n("001c"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(r.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"4e9c":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var a={uniCollapse:function(){return n.e("uni_modules/uni-collapse/components/uni-collapse/uni-collapse").then(n.bind(null,"7d02"))},uniCollapseItem:function(){return n.e("uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item").then(n.bind(null,"04b4"))}},r=function(){var e=this,t=e.$createElement,n=(e._self._c,e.getDicType("type",e.form.settleInType)),a=e.qymcString&&e.qymcString.length>0,r=!e.qymcString||0==e.qymcString.length,i=e.getDicType("zt",e.form.entryStatus),o=e.getDicType("money",e.form.currency),s=e.getDicType("type",e.form.settleInType),c=e.form.honorInformation?e.form.honorInformation.length:null;e.$mp.data=Object.assign({},{$root:{m0:n,g0:a,g1:r,m1:i,m2:o,m3:s,g2:c}})},i=[]},"6e4e":function(e,t,n){},"71e6":function(e,t,n){},"78d2":function(e,t,n){"use strict";var a=n("6e4e"),r=n.n(a);r.a},"87b3":function(e,t,n){"use strict";var a=n("71e6"),r=n.n(a);r.a},a54e:function(e,t,n){"use strict";n.r(t);var a=n("aca9"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},aca9:function(e,t,n){"use strict";(function(e){var a=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("7eb4")),i=a(n("ee10")),o=n("5ae7"),s={components:{handleReport:function(){n.e("pages/subPackages/companyreport/components/handlereport").then(function(){return resolve(n("2bfc"))}.bind(null,n)).catch(n.oe)}},data:function(){return{BASE_URI:this.$constant.BASE_URI,id:"",qymcString:[],dic_SelectList:{},interviewList:[],dic_key:["MNP_BUILDING_TYPE","SETTLE_IN_STATUS","interviewType","CURRENCY"],activeNames:[],StatusBar:0,search:{pageSize:10,pageNum:1},form:{id:"",settleInType:null,socialCarrierName:"123123"},value1:!0,value2:!0,list:[],value:["0"],modeIndex:-1,styleIndex:-1,current:0,mode:"default",dotsStyles:{},swiperDotIndex:0}},onLoad:function(e){try{this.id=e.id,this.getByCodes()}catch(t){console.log(t)}},onShow:function(){this.findCompanyTags(this.id)},methods:{getRoomNameByCompanyId:function(){var e=this;return(0,i.default)(r.default.mark((function t(){var n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.getRoomNameByCompanyId)({companyId:e.id});case 2:n=t.sent,e.form.socialCarrierName=n;case 4:case"end":return t.stop()}}),t)})))()},selectByCompanyId1:function(){var e=this;return(0,i.default)(r.default.mark((function t(){var n,a,i,s,c,u,l,f,d,m,p;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.selectByCompanyId)({companyId:e.id});case 2:for(n=t.sent,console.log("zaitizaitizaitizaiti",n),a=[],i=[],s=[],c=[],u=[],l=[],f=[],d=[],m=0;m<n.length;m++)p=n[m],console.log(p.propertyNature,p.socialType),"2"===p.propertyNature&&"1"===p.socialType&&(a.push(p.houseId),i.push(p.discName+p.groupName+p.buildName+p.houseName)),"2"===p.propertyNature&&"2"===p.socialType&&(s.push(p.houseId),c.push(p.discName+p.groupName+p.buildName+p.houseName)),"2"===p.propertyNature&&"3"===p.socialType&&(u.push(p.houseId),l.push(p.discName+p.groupName+p.buildName+p.houseName)),"1"===p.propertyNature&&"2"===p.ownType&&(f.push(p.houseId),d.push(p.discName+p.groupName+p.buildName+p.houseName));e.form.socialCarrierStr=a.join(","),e.form.socialCarrierStrName=i.join(","),e.form.socialCarrierLeaseStr=s.join(","),e.form.socialCarrierLeaseStrName=c.join(","),e.form.socialCarrierNoTrue=u.join(","),e.form.socialCarrierNoTrueName=l.join(","),e.form.contractCarrierNoStr=f.join(","),e.form.contractCarrierNoStrName=d.join(","),console.log(e.form);case 22:case"end":return t.stop()}}),t)})))()},findCompanyTags:function(e){var t=this;return(0,i.default)(r.default.mark((function n(){var a;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,(0,o.findCompanyTags)(e);case 2:a=n.sent,t.qymcString=a.map((function(e){return e.tagName}));case 4:case"end":return n.stop()}}),n)})))()},jumpEditCompanyDetails:function(t){e.navigateTo({url:"/pages/subPackages/companyDetailsEdit/companyDetailsEdit?id="+t})},jumpDeleteTgas:function(){e.navigateTo({url:"/pages/subPackages/companyTagsDelete/index?id="+this.form.id})},jumpChosseTags:function(){try{e.navigateTo({url:"/pages/subPackages/chooseCompanyTags/index?id="+this.form.id})}catch(t){}},openHandleReportDialog:function(e){this.$refs.handleReport.openDianlog(e)},getDicTypeZoufang:function(e){if(e||!this.dic_SelectList.interviewType){var t=this.dic_SelectList.interviewType,n=t.findIndex((function(t){return t.value==e}));return-1!=n?t[n].label:void 0}},getDicType:function(e,t){if("money"==e&&this.dic_SelectList.CURRENCY){var n=this.dic_SelectList.CURRENCY,a=n.findIndex((function(e){return e.value==t}));return-1!=a?n[a].label:"暂无"}if("type"==e&&this.dic_SelectList.MNP_BUILDING_TYPE){if(t){var r=this.dic_SelectList.MNP_BUILDING_TYPE,i=r.findIndex((function(e){return e.value==t}));return-1!=i?r[i].label:"暂无"}return""}if("zt"==e&&this.dic_SelectList.SETTLE_IN_STATUS){var o=this.dic_SelectList.SETTLE_IN_STATUS,s=o.findIndex((function(e){return e.value==t}));return-1!=s?o[s].label:"暂无"}},getByCodes:function(){var e=this;return(0,i.default)(r.default.mark((function t(){var n,a;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.search.pageNum=1,t.next=4,(0,o.getByCodes)(JSON.stringify(e.dic_key));case 4:return n=t.sent,e.dic_SelectList=e.$common.handleDicList(n),t.next=8,(0,o.interviewEscalationListAll)(e.id);case 8:a=t.sent,e.getCompanyHouseDetails(e.id),e.interviewList=a,t.next=16;break;case 13:t.prev=13,t.t0=t["catch"](0),console.log(t.t0);case 16:case"end":return t.stop()}}),t,null,[[0,13]])})))()},changeActive:function(){var e=this;return(0,i.default)(r.default.mark((function t(){var n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,o.interviewEscalationListAll)(e.id);case 2:n=t.sent,e.interviewList=n;case 4:case"end":return t.stop()}}),t)})))()},selectItems:function(e){var t=this;this.$nextTick((function(){t.$refs.collapse.resize()}))},choosefrsfzh_zhenmian:function(){e.previewImage({urls:[this.BASE_URI+"/FileController/download/"+this.form.frsfzh_zhenmian],longPressActions:{itemList:["发送给朋友","保存图片","收藏"],success:function(e){},fail:function(e){}}})},choosefrsfzh_fanmian:function(){e.previewImage({urls:[this.BASE_URI+"/FileController/download/"+this.form.frsfzh_fanmian],longPressActions:{itemList:["发送给朋友","保存图片","收藏"],success:function(e){},fail:function(e){}}})},getCompanyHouseDetails:function(e){var t=this;return(0,i.default)(r.default.mark((function n(){var a,i,s,c,u;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,a=t,n.next=4,(0,o.getCompanyHouseDetails)(e);case 4:return i=n.sent,n.next=7,(0,o.getCompanyTagsByQybq)(i.data.qybq);case 7:for(u in s=n.sent,a.findCompanyTags(e),a.form=i.data,console.log(i.data.frsfzh),a.form.qymcString=s,console.log(a.form.jyfw.split(",")),a.form.jyfw=a.form.jyfw.split(","),i.data.ryxxzp&&i.data.ryxxzp.length>0&&(a.form.ryxxzp=i.data.ryxxzp.split(",")),i.data.frsfzh&&i.data.frsfzh.length>0&&(c=i.data.frsfzh.split(","),a.form.frsfzh_fanmian=c[0],a.form.frsfzh_zhenmian=c[1],a.$forceUpdate()),a.form)null!=a.form[u]&&"null"!=a.form[u]||(a.form[u]="暂无");a.selectByCompanyId1(),t.getRoomNameByCompanyId(),a.$forceUpdate(),n.next=24;break;case 22:n.prev=22,n.t0=n["catch"](0);case 24:case"end":return n.stop()}}),n,null,[[0,22]])})))()},onChange:function(e){this.activeNames=e.detail}}};t.default=s}).call(this,n("df3c")["default"])}},[["49cd","common/runtime","common/vendor"]]]);
|