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.
1 lines
25 KiB
1 lines
25 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/oilDistribution/newSeleCompany/newSeleCompany.vue?f318","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/oilDistribution/newSeleCompany/newSeleCompany.vue?6234","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/oilDistribution/newSeleCompany/newSeleCompany.vue?259a","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/oilDistribution/newSeleCompany/newSeleCompany.vue?2134","uni-app:///oilDistribution/newSeleCompany/newSeleCompany.vue","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/oilDistribution/newSeleCompany/newSeleCompany.vue?4d8a","webpack:///C:/Users/lenovo/Desktop/new_git/wx_oms/oilDistribution/newSeleCompany/newSeleCompany.vue?260a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,kI,6FAFmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC;AAGnBC,UAAU,CAACC,uBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACqC;;;AAGlG;AACgN;AAChN,gBAAgB,wNAAU;AAC1B,EAAE,oFAAM;AACR,EAAE,qGAAM;AACR,EAAE,8GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,oSAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtDA;AAAA;AAAA;AAAA;AAA+zB,CAAgB,+0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiDn1B,uG;AACA;AACA;AACA,kBADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA,kBADA;AAEA,oBAFA;AAGA,iBAHA;AAIA,iBAJA;AAKA,oBALA;AAMA;AACA;AACA,mBADA;AAEA,gBAFA,EADA;;AAKA;AACA,oBADA;AAEA,gBAFA,EALA;;AASA;AACA,mBADA;AAEA,gBAFA,EATA,CANA;;;AAoBA,gBApBA;AAqBA,cArBA;AAsBA,uBAtBA;AAuBA;AACA,sBADA;AAEA,oBAFA;AAGA,kBAHA;AAIA;AACA,yBADA;AAEA,uBAFA;AAGA,sBAHA;AAIA,wBAJA,EAJA,EAvBA;;;;AAmCA,GAxCA;AAyCA,QAzCA,kBAyCA,CAzCA,EAyCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAvDA;AAwDA;AACA,eADA,uBACA,CADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBARA;;AAUA,KAZA,EAxDA;;AAsEA;AACA,UADA,oBACA;AACA,sBADA,GACA,uCADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAHA;AAIA,iBALA,MAKA;AACA;AACA,iBAhCA;;AAkCA,KAnCA;AAoCA,aApCA,qBAoCA,CApCA,EAoCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SALA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAfA,MAeA;AACA;AACA;AACA;;AAEA,KA5DA;AA6DA,UA7DA,kBA6DA,CA7DA,EA6DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAFA,EAEA,GAFA;AAGA,KAtEA;AAuEA,YAvEA,sBAuEA;AACA;AACA;AACA,oFADA;AAEA,kCAFA;AAGA,sBAHA;AAIA,wBAJA;;AAMA;AACA;AACA;AACA;AACA;AACA,2BADA;AAEA,wBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,OAbA;AAcA,KA9FA;AA+FA,YA/FA,sBA+FA;AACA;AACA;AACA,oFADA;AAEA,kCAFA;AAGA,0GAHA;AAIA,qBAJA;;AAMA;AACA;AACA;AACA;AACA;AACA,2BADA;AAEA,wBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA,OAbA;AAcA,KAtHA;AAuHA,iBAvHA,2BAuHA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;AACA,KA9HA;AA+HA,WA/HA,qBA+HA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA;AACA;;AAEA,KAxIA;AAyIA,aAzIA,qBAyIA,CAzIA,EAyIA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA,KAjJA,EAtEA,E;;;;;;;;;;;;;AClDA;AAAA;AAAA;AAAA;AAA+rC,CAAgB,krCAAG,EAAC,C;;;;;;;;;;;ACAntC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"oilDistribution/newSeleCompany/newSeleCompany.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './oilDistribution/newSeleCompany/newSeleCompany.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./newSeleCompany.vue?vue&type=template&id=61fe7990&scoped=true&\"\nvar renderjs\nimport script from \"./newSeleCompany.vue?vue&type=script&lang=js&\"\nexport * from \"./newSeleCompany.vue?vue&type=script&lang=js&\"\nimport style0 from \"./newSeleCompany.vue?vue&type=style&index=0&id=61fe7990&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"61fe7990\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"oilDistribution/newSeleCompany/newSeleCompany.vue\"\nexport default component.exports","export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./newSeleCompany.vue?vue&type=template&id=61fe7990&scoped=true&\"","var components\ntry {\n components = {\n uniEasyinput: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput\" */ \"@/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l0 =\n _vm.list.length !== 0\n ? _vm.__map(_vm.list, function(item, index) {\n var $orig = _vm.__get_orig(item)\n\n var f0 = _vm._f(\"companyType\")(item.companyType)\n\n return {\n $orig: $orig,\n f0: f0\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./newSeleCompany.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./newSeleCompany.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"newselecompany_body\">\r\n\t\t<view v-if=\"typeData.type=='send'\" class=\"newselecompany_tip\">请选择分发类型<br />与发起方公司...</view>\r\n\t\t<view v-if=\"typeData.type=='receive'\" class=\"newselecompany_tip\">请选择对应<br />接收方公司...</view>\r\n\t\t<view style=\" overflow: hidden;\" class=\"newselecompany_container \">\r\n\t\t\t<view class=\"sele_Bar mar\">\r\n\t\t\t\t<view :style=\"{transform:`translateX(calc(${barIndex}*100%))`}\" class=\"move_item\"></view>\r\n\t\t\t\t<view @tap=\"seleBarFn(0)\" :style=\"{color:barIndex==0? 'white' : ''}\" class=\"sele_Bar_item\">柴油</view>\r\n\t\t\t\t<view @tap=\"seleBarFn(1)\" :style=\"{color:barIndex==1? 'white' : ''}\" class=\"sele_Bar_item\">天然气</view>\r\n\t\t\t\t<view @tap=\"seleBarFn(2)\" :style=\"{color:barIndex==2? 'white' : ''}\" class=\"sele_Bar_item\">尿素</view>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"newselecompany_seach mar\"> \r\n\t\t\t\t<view class=\"newselecompany_seach_title\">查找企业</view>\r\n\t\t\t\t<view class=\"newselecompany_seach_input\">\r\n\t\t\t\t\t<uni-easyinput v-model=\"seachValue\" placeholder=\"请输入企业名称或id\" prefixIcon=\"search\" confirmType='search' @confirm='seachFn'/>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view style=\" overflow: hidden;\" class=\"newselecompany_container_list\">\r\n\t\t\t\t<view v-if=\"!scrollY&&typeData.type=='send'\" class=\"newselecompany_container_list_tip mar\">最近选择</view>\r\n\t\t\t\t<view style=\"flex: 1; margin-top:26rpx; overflow: hidden; \">\r\n\t\t\t\t\t<scroll-view v-if=\"list.length!==0\" style=\"height: 100%;overflow: hidden; \" :scroll-y=\"scrollY\" @scrolltolower='scrolltolower'>\r\n\t\t\t\t\t\t<view v-for=\"(item,index) in list \" :key=\"index\" @click=\"seleFn(item)\"\r\n\t\t\t\t\t\t\tclass=\"newselecompany_container_list_item mar\">\r\n\t\t\t\t\t\t\t<view class=\"newselecompany_container_list_lable\">\r\n\t\t\t\t\t\t\t\t<text>{{item.parentMark==0?'主公司':'分公司'}}</text></view>\r\n\t\t\t\t\t\t\t<view class=\"newselecompany_container_list_name\">\r\n\t\t\t\t\t\t\t\t<text>{{item.name}}</text>\r\n\t\t\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\t\t\tclass=\"newselecompany_container_list_identification\">{{item.companyType|companyType}}</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"companyDetails\">\r\n\t\t\t\t\t\t\t\t<text class=\"smallText\">{{item.id}}</text>\r\n\t\t\t\t\t\t\t\t<text class=\"listtext\">账户余额 <text\r\n\t\t\t\t\t\t\t\t\t\tstyle=\"margin-left: 5rpx;font-size: 27rpx;\">{{item.balance||'0'}}</text> </text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</scroll-view>\r\n\t\t\t\t\t<view v-if=\"list.length==0\"\r\n\t\t\t\t\t\tstyle=\"width: 100vw; height: 100%; display: flex;align-items: center;justify-content: center;\">\r\n\t\t\t\t\t\t<image src=\"../../static/qx.png\" style=\"width: 536rpx; height: 399rpx;\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport scroll from '@/components/scroll'\r\n\timport driverManagement from '@/api/driverManagement'\r\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\tscroll\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttypeData: '',\r\n\t\t\t\tscrollY:false,\r\n\t\t\t\ttimer: null,\r\n\t\t\t\tbarIndex: 0,\r\n\t\t\t\tseachValue: '',\r\n\t\t\t\tseleBarData:[\r\n\t\t\t\t\t{\r\n\t\t\t\t\t lable:'柴油',\r\n\t\t\t\t\t value:0\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t lable:'天然气',\r\n\t\t\t\t\t value:1\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t lable:'尿素',\r\n\t\t\t\t\t value:2\r\n\t\t\t\t\t}\r\n\t\t\t\t],\r\n\t\t\t\tlately: [],\r\n\t\t\t\tlist: [],\r\n\t\t\t\tselecompany: null,\r\n\t\t\t\tpage: {\r\n\t\t\t\t\tcurrentPage: 1,\r\n\t\t\t\t\tpageSize: 10,\r\n\t\t\t\t\tindex: \"0\",\r\n\t\t\t\t\tparams: {\r\n\t\t\t\t\t\tcompanyType: \"\",\r\n\t\t\t\t\t\tnameOrCid: \"\",\r\n\t\t\t\t\t\tparentId: \"\",\r\n\t\t\t\t\t\tparentMark: \"\"\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e) {\r\n\t\t\tif (e.jsData) {\r\n\t\t\t\tthis.typeData = JSON.parse(e.jsData)\r\n\t\t\t\t// if(this.typeData.type=='send'){\r\n\t\t\t\t// \tthis.getflist()\r\n\t\t\t\t// }else{\r\n\t\t\t\t// \tthis.getzlist()\r\n\t\t\t\t// }\r\n\t\t\t\tif(this.typeData.type!=='send'){\r\n\t\t\t\t\tconsole.log(this.typeData.data.companyType,'****************')\r\n\t\t\t\t\tthis.barIndex = Number(this.typeData.data.companyType)== 0?Number(this.typeData.data.companyType):Number(this.typeData.data.companyType)== 2?1:2 \r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tthis.initFn()\r\n\t\t},\r\n\t\tfilters: {\r\n\t\t\tcompanyType(e) {\r\n\t\t\t\tswitch (Number(e)) {\r\n\t\t\t\t\tcase 0:\r\n\t\t\t\t\t\treturn 'FUEL'\r\n\t\t\t\t\tcase 1:\r\n\t\t\t\t\t\treturn 'OIL'\r\n\t\t\t\t\tcase 2:\r\n\t\t\t\t\t\treturn 'LNG'\r\n\t\t\t\t\tcase 3:\r\n\t\t\t\t\t\treturn 'SCR'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tasync initFn() {\r\n\t\t\t\tlet lately = uni.getStorageSync(this.typeData.type)\r\n\t\t\t\t// if (lately) {\r\n\t\t\t\t// \tfor (let i = 0; i < lately.length; i++) {\r\n\t\t\t\t// \t\tconsole.log(lately[i])\r\n\t\t\t\t// \t\tlet data = {\r\n\t\t\t\t// \t\t\tcompanyType:lately[i].companyType,\r\n\t\t\t\t// \t\t\tnameOrCid: lately[i].id,\r\n\t\t\t\t// \t\t\tparentId: lately[i].parentMark == 0 ? null: lately[i].parentId,\r\n\t\t\t\t// \t\t\tparentMark: lately[i].parentMark == 0 ? null: 1\r\n\t\t\t\t// \t\t}\r\n\t\t\t\t// \t\tthis.page.params = Object.assign(this.page.params, data)\r\n\t\t\t\t// \t\tif (this.typeData.type == 'send') {\r\n\t\t\t\t// \t\t\t await driverManagement.findAllByField(this.page).then(res => {\r\n\t\t\t\t// \t\t\t\tif(res.code!==20000)return\r\n\t\t\t\t// \t\t\t\tthis.list.push(res.data.list[0])\r\n\t\t\t\t// \t\t\t})\r\n\t\t\t\t// \t\t} else {\r\n\t\t\t\t// \t\t\t await driverManagement.findAllByField(this.page).then(res => {\r\n\t\t\t\t// \t\t\t\tif(res.code!==20000)return\r\n\t\t\t\t// \t\t\t\tthis.list.push(res.data.list[0])\r\n\t\t\t\t// \t\t\t})\r\n\t\t\t\t// \t\t}\r\n\t\t\t\t// \t}\r\n\t\t\t\t// }\r\n\t\t\t\tif (this.typeData.type == 'send') {\r\n\t\t\t\t\tdriverManagement.findThreeDataByIds(lately?lately:[]).then(res=>{\r\n\t\t\t\t\t\tif(res.code!==20000)return\r\n\t\t\t\t\t\tthis.list = res.data?res.data:[]\r\n\t\t\t\t\t})\r\n\t\t\t\t} else { \r\n\t\t\t\t\tthis.getzlist()\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\tsetLately(e) {\r\n\t\t\t\tlet lately = uni.getStorageSync(this.typeData.type) ? uni.getStorageSync(this.typeData.type) : []\r\n\t\t\t\tconsole.log(' %c look ↓', 'color:red;font-size:50px')\r\n\t\t\t\tconsole.log(lately)\r\n\t\t\t\tif (lately.length !== 0) {\r\n\t\t\t\t\tlet open = false\r\n\t\t\t\t\tlately.forEach(item => {\r\n\t\t\t\t\t\tif (item.id == e.id) {\r\n\t\t\t\t\t\t\tconsole.log(item.id == e.id)\r\n\t\t\t\t\t\t\topen = true\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t\tif(!open){\r\n\t\t\t\t\t if (lately.length == 3) {\r\n\t\t\t\t\t\t\tlately.splice(2, 1)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tlately.unshift(e.id)\r\n\t\t\t\t\t\tuni.setStorageSync(this.typeData.type, lately)\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlately.unshift(e.id)\r\n\t\t\t\t\tuni.setStorageSync(this.typeData.type, lately)\r\n\t\t\t\t}\r\n\r\n\t\t\t},\r\n\t\t\tseleFn(e) {\r\n\t\t\t\tclearTimeout(this.timer)\r\n\t\t\t\tthis.selecompany = e\r\n\t\t\t\tthis.selecompany.type = this.typeData.type\r\n\t\t\t\tthis.setLately(e)\r\n\t\t\t\tuni.$emit('company', this.selecompany)\r\n\t\t\t\tthis.timer = setTimeout(() => {\r\n\t\t\t\t\tuni.navigateBack()\r\n\t\t\t\t}, 200)\r\n\t\t\t},\r\n\t\t\tgetflist() {\r\n\t\t\t\tthis.scrollY = true\r\n\t\t\t\tlet data = {\r\n\t\t\t\t\tcompanyType: this.barIndex == 0 ? this.barIndex : this.barIndex == 1 ? 2 : 3,\r\n\t\t\t\t\tnameOrCid: this.seachValue,\r\n\t\t\t\t\tparentId: null,\r\n\t\t\t\t\tparentMark: null\r\n\t\t\t\t}\r\n\t\t\t\tthis.page.params = Object.assign(this.page.params, data)\r\n\t\t\t\tdriverManagement.findAllByField(this.page).then(res => {\r\n\t\t\t\t\tif (res.code != 20000) return\r\n\t\t\t\t\tif (res.data.list.length == 0) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: '没有数据了哦',\r\n\t\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (this.page.currentPage !== 1) {\r\n\t\t\t\t\t\tthis.list = this.list.concat(res.data.list);\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.list = res.data.list\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgetzlist() {\r\n\t\t\t\tthis.scrollY = true\r\n\t\t\t\tlet data = {\r\n\t\t\t\t\tcompanyType:this.barIndex == 0 ? this.barIndex : this.barIndex == 1 ? 2 : 3,\r\n\t\t\t\t\tnameOrCid: this.seachValue,\r\n\t\t\t\t\tparentId: this.typeData.data.parentMark == 0 ? this.typeData.data.id : this.typeData.data.parentId,\r\n\t\t\t\t\tparentMark: 1\r\n\t\t\t\t}\r\n\t\t\t\tthis.page.params = Object.assign(this.page.params, data)\r\n\t\t\t\tdriverManagement.findAllByField(this.page).then(res => {\r\n\t\t\t\t\tif (res.code != 20000) return\r\n\t\t\t\t\tif (res.data.list.length == 0) {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: '没有数据了哦',\r\n\t\t\t\t\t\t\ticon: 'none'\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (this.page.currentPage !== 1) {\r\n\t\t\t\t\t\tthis.list = this.list.concat(res.data.list);\r\n\t\t\t\t\t\treturn\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.list = res.data.list\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tscrolltolower() {\r\n\t\t\t\tthis.page.currentPage += 1\r\n\t\t\t\tif (this.typeData.type == 'send') {\r\n\t\t\t\t\tthis.getflist()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.getzlist()\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tseachFn() {\r\n\t\t\t\tthis.scrollY = true\r\n\t\t\t\tthis.page.currentPage = 1\r\n\t\t\t\tif (this.typeData.type == 'send') {\r\n\t\t\t\t\tthis.getflist()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.getzlist()\r\n\t\t\t\t}\r\n\r\n\t\t\t},\r\n\t\t\tseleBarFn(e) {\r\n\t\t\t\tthis.page.currentPage = 1\r\n\t\t\t\tif (this.typeData.type == 'send') {\r\n\t\t\t\t\tthis.barIndex = e\r\n\t\t\t\t\tthis.getflist()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.getzlist()\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped>\r\n\t.newselecompany_container_list_identification {\r\n\t\tcolor: #BBBBBB;\r\n\t\tfont-size: 48rpx;\r\n\t\tposition: absolute;\r\n\t\tright: 0;\r\n\t\ttop: -21rpx;\r\n\t\tfont-weight: 600;\r\n\t\tline-height: 56rpx;\r\n\t}\r\n\r\n\t.newselecompany_container_list_name {\r\n\t\tmargin-top: 21rpx;\r\n\t\tfont-size: 28rpx;\r\n\t\tcolor: #666666;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tposition: relative;\r\n\t}\r\n\r\n\t.listtext {\r\n\t\tfont-size: 28rpx;\r\n\t\tcolor: #666666;\r\n\t}\r\n\r\n\t.smallText {\r\n\t\tfont-size: 20rpx;\r\n\t\tcolor: #BBBBBB;\r\n\t}\r\n\r\n\t.companyDetails {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tmargin-top: 36rpx;\r\n\t}\r\n\r\n\t.newselecompany_container_list_lable {\r\n\t\tfont-size: 16rpx;\r\n\t\twidth: 80rpx;\r\n\t\theight: 40rpx;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tbackground-color: #9F43CC;\r\n\t\tcolor: white;\r\n\r\n\t}\r\n\r\n\t.newselecompany_container_list_item {\r\n\t\tbackground-color: white;\r\n\t\tpadding: 0 40rpx 20rpx 40rpx;\r\n\t\tborder-radius: 15rpx;\r\n\t\tmargin-bottom: 20rpx;\r\n\t}\r\n\r\n\t.newselecompany_container_list_tip {\r\n\t\tmargin-top: 60rpx;\r\n\t\tfont-size: 28rpx;\r\n\t\tcolor: #BBBBBB;\r\n\t}\r\n\r\n\t.newselecompany_container_list {\r\n\t\tflex: 1;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.newselecompany_seach_input {\r\n\t\tbackground-color: white;\r\n\t\toverflow: hidden;\r\n\t\tborder-radius: 20rpx;\r\n\t\tmargin-top: 30rpx;\r\n\t}\r\n\r\n\t.newselecompany_seach_title {\r\n\t\tfont-size: 35rpx;\r\n\t}\r\n\r\n\t.newselecompany_seach {\r\n\t\tbackground-color: #2866FF;\r\n\t\tpadding: 40rpx;\r\n\t\tborder-radius: 10px;\r\n\t\tcolor: white;\r\n\t\tmargin-top: 60rpx;\r\n\t}\r\n\r\n\t.move_item {\r\n\t\tposition: absolute;\r\n\t\tleft: 10rpx;\r\n\t\twidth: calc((100% - 20rpx) / 3);\r\n\t\theight: 60rpx;\r\n\t\tbackground: #2866FF;\r\n\t\tborder-radius: 10rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tcolor: #999999;\r\n\t\tz-index: 0;\r\n\t\ttransition: all .3s;\r\n\t}\r\n\r\n\t.mar {\r\n\t\tmargin-left: 42rpx;\r\n\t\tmargin-right: 42rpx;\r\n\t}\r\n\r\n\t.sele_Bar_item {\r\n\t\t/* width: 287rpx; */\r\n\t\tflex: 1;\r\n\t\theight: 60rpx;\r\n\t\t/* background: #2866FF; */\r\n\t\tborder-radius: 10rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tcolor: #999999;\r\n\t\tz-index: 1;\r\n\t\ttransition: color .4s;\r\n\t}\r\n\r\n\t.sele_Bar {\r\n\t\t/* background-color: #18B566; */\r\n\t\t/* margin: 31rpx 40rpx; */\r\n\t\tpadding: 10rpx;\r\n\t\tdisplay: flex;\r\n\t\tposition: relative;\r\n\t\tbackground-color: #FFFFFF;\r\n\t\tborder-radius: 10px;\r\n\t}\r\n\r\n\t.newselecompany_container {\r\n\t\tflex: 1;\r\n\t\t/* padding: 0 42rpx; */\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.newselecompany_tip {\r\n\t\tfont-size: 48rpx;\r\n\t\tcolor: #666666;\r\n\t\tmargin-top: 100rpx;\r\n\t\tmargin-left: 70rpx;\r\n\t\tmargin-bottom: 60rpx;\r\n\t}\r\n\r\n\t.newselecompany_body {\r\n\t\twidth: 100%;\r\n\t\theight: calc(100vh - var(--status-bar-height));\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tposition: relative;\r\n\t\t/* overflow: hidden; */\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./newSeleCompany.vue?vue&type=style&index=0&id=61fe7990&scoped=true&lang=css&\"; export default mod; export * from \"-!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\hbuliderx\\\\HBuilderX.3.3.11.20220209.full\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./newSeleCompany.vue?vue&type=style&index=0&id=61fe7990&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1672122381219\n var cssReload = require(\"D:/hbuliderx/HBuilderX.3.3.11.20220209.full/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |