circle.js.map 45 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:///D:/Code2024/sulibao-mini/circlePages/circle.vue?e7ab","webpack:///D:/Code2024/sulibao-mini/circlePages/circle.vue?8f28","webpack:///D:/Code2024/sulibao-mini/circlePages/circle.vue?d516","webpack:///D:/Code2024/sulibao-mini/circlePages/circle.vue?ca0e","uni-app:///circlePages/circle.vue","webpack:///D:/Code2024/sulibao-mini/circlePages/circle.vue?d435"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","tnNavBar","uniFilePicker","uniDataSelect","uniForms","wSelect","uniFormsItem","uniEasyinput","tnCheckbox","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","_self","_c","recyclableRender","staticRenderFns","_withStripped","name","mixins","data","wxFontSize","canSave","selectValue","selectList","value","text","content","formInfo","jobTitle","agree","contactPerson","contactMethod","imgList","fileDetailList","stepIndex","stepList","icon","selectIcon","formData","apiType","token","image","fileList","showUploadList","customBtn","autoUpload","showProgress","deleteable","customStyle","maxCount","disabled","searchValue","items","org","regNumber","editItem","styleString","canNext","watch","onLoad","url","path","methods","isImage","getCompany","request","userNo","list","that","uni","title","duration","preStep","nextStep","changeSelect","saveForm","params","type","company","validDate","status","showFlag","id","bisNo","version","success","setTimeout","tn","upload","clear","onSortList","select","deleteFile","upfile","filePath","fileName","ftpUrl","fail","selectChange","getAddress","keyWord","search","goBack"],"mappings":"6IAAA,MAGA,aACA,YAFAA,EAAGC,kCAAoCC,EAGvCC,EAAWC,a,gFCLX,oIACIC,EADJ,QASIC,EAAY,qBACd,aACA,YACA,sBACA,EACA,KACA,WACA,MACA,EACA,gBACAD,GAGFC,EAAUC,QAAQC,OAAS,yBACZ,aAAAF,E,0CCvBf,uQ,iCCAA,IAAIG,EAAJ,0LACA,IACEA,EAAa,CACXC,SAAU,WACR,OAAO,8GAITC,cAAe,WACb,OAAO,0IAITC,cAAe,WACb,OAAO,0IAITC,SAAU,WACR,OAAO,wHAITC,QAAS,WACP,OAAO,4DAITC,aAAc,WACZ,OAAO,8FAITC,aAAc,WACZ,OAAO,gGAITC,WAAY,WACV,OAAO,6EAKX,MAAOC,GACP,IAC+C,IAA7CA,EAAEC,QAAQC,QAAQ,wBACa,IAA/BF,EAAEC,QAAQC,QAAQ,QAWlB,MAAMF,EATNG,QAAQC,MAAMJ,EAAEC,SAChBE,QAAQC,MAAM,mBACdD,QAAQC,MACN,uFAEFD,QAAQC,MACN,mDAMN,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACJH,EAAII,MAAMC,IAEjBC,GAAmB,EACnBC,EAAkB,GACtBR,EAAOS,eAAgB,G,iCCpEvB,yHAA4yB,eAAG,G,6HCkN/yB,gBACA,W,EACA,CACAC,oBACAC,mBACAC,gBACA,OACAC,cACAC,WACAC,eAEAC,aACAC,WACAC,WAEA,CACAD,WACAC,WAEA,CACAD,WACAC,YAGAC,WACAC,UACAC,YACAC,SACAC,uEACAC,yHAEAC,WACAC,kBACAC,YACAC,WACAlB,YACAmB,cACAC,0BAEA,CACApB,cACAmB,cACAC,2BAGAC,UACAC,mBACAC,yCACAC,YAEAC,YACAC,kBACAC,aACAC,cACAC,gBACAC,cACAC,eACAC,WACAC,YACAC,eACAC,SACAC,KACApC,QACAqC,cAEAC,YACAC,6BACAC,aAGAC,OACAP,0BACA9C,+BACA,oBACA,mBAEA,mBACA,iBAKAsD,mBACA,yBAGA,GAFA,oEACA,uDACA,OACA,eACA,wDACA,mCACA,iDAEA,6CACA,0DACA,8CACA,mBACA1C,qCACA2C,kCACAC,mCAGA,oBACA5C,qCACA2C,kCACAC,mCAKA,oCACA,8CACA,wDACA,wDAEA,mBAEAC,SACAC,oBACA,oDACA,mCACA,sBAEAC,sBACA,WACAC,6CACAC,oCACA,kBACA,cAEA,IADA,iBACA,mBACAC,uBACAA,4BACA,gCACAC,wBACAA,oBACAA,WACA,gBACAA,mCAGA,qBACAA,6CAEA,qBACAA,6CAGAA,yBAEA,0CACAA,wBACAA,oBACAA,kCACAA,4CACAA,4CACAA,WAEAA,yBAIAA,eAEA,cACAC,aACAC,iBACAC,aACAnC,cAEAgC,gBAKAI,mBACA,kBAEAC,oBAEA,GADApE,+BACA,iDAOA,OANAgE,aACAC,wBACAlC,cAEA,kBAEA,EAGA,kBAGAsC,yBACA,oBAEAC,qBACA,iBACA,SAEA,WACA,KAIA,2BAWA,uCACAN,aACAC,gBACAC,aACAnC,eAEA,GAEA,4CACAiC,aACAC,iBACAC,aACAnC,eAEA,GAEA,4CACAiC,aACAC,gBACAC,aACAnC,eAEA,GAGA,0BASA,WASAiC,aACAC,eACAlC,cAGAgC,aAEAQ,qBACAC,SACAC,sBACAlD,gCACAE,0CACAC,0CACAL,kBACAwC,kCACAa,2BACAC,gBACAC,aACAC,iCACAC,uCACAC,4CAGAR,qCACAA,sEACAA,wEACAA,iEACAA,wDACAA,+DAEAA,kFACAA,kFAEAA,gCACA9C,gDACAC,gDACAmC,mCAGAU,wDAWAA,0DACAX,kGAEA,UACAI,aACAC,qDACAlC,YACAiD,mBACAC,uBAEAjB,cACAT,2CAGA,UAKAS,aACAC,YACAlC,cAEAgC,cAEA/D,qBAnFAgE,aACAC,yBACAC,aACAnC,eAEA,IAdAiC,aACAC,0BACAC,aACAnC,eAEA,IAzCAiC,aACAC,gBACAC,aACAnC,eAEA,IA+HAmD,eACAlB,cACAT,SAIA4B,kBACAnF,sBAGAoF,iBACA,gCAGAC,uBACArF,gBAEAsF,mBACAtF,uBACA,kBACA,eACA,mBAGAuF,yBACA,iBAKA,OAJAvB,aACAC,yBACAlC,eAEA,EAEA,6CACA,+CACA,iCAIAyD,mBACA,WACAxF,gBACA,gBACAgE,aACAC,yBACAlC,cAEAiC,cACAT,0DACAkC,eACA7E,YACAoE,oBAIA,GAHAjB,aACAC,cACAhE,iCACA,4BACA,mCACA+D,uBACAnD,YACA8E,gBACAC,mBACAnC,mBAGAQ,aACAC,uCACAlC,eAIA6D,iBACA5B,aACAC,oBACAlC,kBAMAiD,oBACAhF,qBAGA6F,yBACA7F,iBACA,wBACA,yBACA,aACA,mCAEA,WACA,yBAEA8F,uBACA,WACAlC,4CACAmC,YACA,kBACA,iCACA,8BACAhC,8CAEA,6BACAA,4CAEA,+BACAA,8CAKAiC,mBACA,WAEA,cACApC,uCACAmC,YACA,kBACA,iBACA,2BACAhC,eAEA,cACAC,aACAC,iBACAC,aACAnC,cAEAgC,gBAKAA,WACAA,WAGAkC,kBACA,wBAEA,WACAjC,iBAGAA,cACAT,8BAKA,c,6ECxrBA,yHAAmgD,eAAG,G","file":"circlePages/circle.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './circlePages/circle.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./circle.vue?vue&type=template&id=7db0d20e&scoped=true&\"\nvar renderjs\nimport script from \"./circle.vue?vue&type=script&lang=js&\"\nexport * from \"./circle.vue?vue&type=script&lang=js&\"\nimport style0 from \"./circle.vue?vue&type=style&index=0&id=7db0d20e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../self software/HBuilderX.3.99.2023122611/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 \"7db0d20e\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"circlePages/circle.vue\"\nexport default component.exports","export * from \"-!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./circle.vue?vue&type=template&id=7db0d20e&scoped=true&\"","var components\ntry {\n components = {\n tnNavBar: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-nav-bar/tn-nav-bar\" */ \"@/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue\"\n )\n },\n uniFilePicker: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker\" */ \"@/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue\"\n )\n },\n uniDataSelect: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-data-select/components/uni-data-select/uni-data-select\" */ \"@/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue\"\n )\n },\n uniForms: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-forms/components/uni-forms/uni-forms\" */ \"@/uni_modules/uni-forms/components/uni-forms/uni-forms.vue\"\n )\n },\n wSelect: function () {\n return import(\n /* webpackChunkName: \"components/w-select/w-select\" */ \"@/components/w-select/w-select.vue\"\n )\n },\n uniFormsItem: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-forms/components/uni-forms-item/uni-forms-item\" */ \"@/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue\"\n )\n },\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 tnCheckbox: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-checkbox/tn-checkbox\" */ \"@/tuniao-ui/components/tn-checkbox/tn-checkbox.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}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./circle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./circle.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"template-edit tn-safe-area-inset-bottom\">\r\n\t\t<!-- 顶部自定义导航 -->\r\n\t\t<tn-nav-bar fixed customBack>\r\n\t\t\t<view slot=\"back\" class='tn-custom-nav-bar__back' @click=\"goBack\">\r\n\t\t\t\t<text class='icon tn-icon-left'></text>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t\t<view slot=\"default\" style=\"display: flex;\">\r\n\t\t\t\t<view style=\"flex:1;margin-left:25px\">\r\n\t\t\t\t\t<text :style=\"{fontSize:(wxFontSize)+'px'}\">发布需求</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<button v-if=\"!canSave\" :disabled=\"!canSave\" plain=\"true\" style=\"margin-right: 4px;border-radius: 24px;height:32px;line-height: 32px;font-size:15px;margin-top:4px;color:#0003;border-color:#0003;\" @click=\"saveForm(1)\" :style=\"{fontSize:(wxFontSize-3)+'px'}\">暂存</button>\r\n\t\t\t\t\t<button v-if=\"canSave\" plain=\"true\" :disabled=\"!canSave\" style=\"margin-right: 4px;border-radius: 24px;height:32px;line-height: 32px;font-size:15px;margin-top:4px;color:#1d60b1;border-color:#1d60b1;\" @click=\"saveForm(1)\" :style=\"{fontSize:(wxFontSize-3)+'px'}\">暂存</button>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</tn-nav-bar>\r\n\r\n\t\t<view class=\"tn-safe-area-inset-bottom\" style=\"background: #f7f7f7;\" :style=\"{paddingTop: vuex_custom_bar_height + 'px'}\">\r\n\r\n\t\t\t<view style=\"display: flex;padding: 16px 80px;\">\r\n\t\t\t\t<view style=\"position: relative;\">\r\n\t\t\t\t\t<image style=\"width: 40px;height: 40px;\" src=\"../static/tu/step1.png\"></image>\r\n\t\t\t\t\t<view style=\"position: absolute;width: max-content;margin-left: -50%;\" :style=\"{color:stepIndex==1?'#333':'#777'}\">填写需求</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view style=\"flex:1;height: 0px;border: 1px dashed #005DA6;align-self: center;\"></view>\r\n\t\t\t\t<view style=\"position: relative;\">\r\n\t\t\t\t<image v-if=\"stepIndex==1\" style=\"width: 40px;height: 40px;\" src=\"../static/tu/step2.png\"></image>\r\n\t\t\t\t<image v-if=\"stepIndex==2\" style=\"width: 40px;height: 40px;\" src=\"../static/tu/step22.png\"></image>\r\n\t\t\t\t<view style=\"position: absolute;width: max-content;margin-left: -50%;\" :style=\"{color:stepIndex==1?'#777':'#333'}\">填写联系方式</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t\t<!-- <tn-steps style=\"pointer-events:none;\" :list=\"stepList\" :current=\"stepIndex\" mode=\"dotIcon\" :fontSize=\"(wxFontSize-3)+'px'\"></tn-steps>\r\n\t\t\t -->\r\n\t\t\t<view v-show=\"stepIndex==1\">\r\n\t\t\t\t<view style=\"margin-top: 24px;background: #e187301a;border-radius: 5px 5px 5px 5px;margin-left: 16px;margin-right: 16px;padding: 8px 0 7px 10px;\">\r\n\t\t\t\t\t<image src=\"../static/tu/tip.png\" style=\"width: 20px;height: 20px;vertical-align: bottom;\"></image>\r\n\t\t\t\t\t<text style=\"color:#E18730\">以下三种方式可任选其一,若有可都输入</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t<!-- <view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top tn-margin\">\r\n\t\t\t\t<view class=\"tn-flex justify-content-item\">\r\n\t\t\t\t\t<view class=\"tn-text-lg tn-padding-right-xs tn-text-bold\" style=\"font-size: 16px;\" :style=\"{fontSize:(wxFontSize-1)+'px'}\">以下三种方式可任选其一,若有可都输入</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view> -->\r\n\t\t\t<view style=\"padding: 16px;color:#333;\" :style=\"{fontSize:(fontSize-1)+'px'}\">\r\n\t\t\t\t 需求\r\n\t\t\t</view>\r\n\t\t\t<view class=\"tn-margin tn-padding\" style=\"border-radius: 10rpx;background: #fff;margin-top: 0;\">\r\n\t\t\t\t<textarea maxlength=\"500\" v-model=\"content\" placeholder=\"请描述您的需求...\" :style=\"{fontSize:(wxFontSize-3)+'px',width:'100%'}\" :placeholder-style=\"styleString\"></textarea>\r\n\t\t\t</view>\r\n\r\n\t\t\t<!-- <view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-margin\" style=\"margin-top:40px;margin-bottom: 0;\">\r\n\t\t\t\t<view class=\"tn-flex justify-content-item\">\r\n\t\t\t\t\t<view class=\" tn-text-center\"\r\n\t\t\t\t\t\tstyle=\"border-radius: 100rpx;margin-right: 8rpx;width: 45rpx;height: 45rpx;line-height: 45rpx;\">\r\n\t\t\t\t\t\t<text class=\"tn-icon-image\" style=\"font-size: 20px;\" :style=\"{fontSize:(wxFontSize+3)+'px'}\"></text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"tn-padding-right-xs tn-text-bold\" style=\"font-size: 16px;\" :style=\"{fontSize:(wxFontSize-1)+'px'}\">上传图片</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view> -->\r\n\t\t\t\t<!-- <view class=\"justify-content-item tn-text-df tn-color-grey\" @tap=\"clear\">\r\n\t\t\t\t\t<text class=\"tn-padding-xs\">清空上传</text>\r\n\t\t\t\t\t<text class=\"tn-icon-delete\"></text>\r\n\t\t\t\t</view> -->\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\r\n\r\n\r\n\t\t\t<view style=\"padding: 16px;color:#333;\" :style=\"{fontSize:(fontSize-1)+'px'}\">\r\n\t\t\t\t 上传图片\r\n\t\t\t</view>\r\n\t\t\t<view class=\"tn-margin-left tn-padding-top-xs\">\r\n\t\t\t\t<uni-file-picker\r\n\t\t\t\t\tv-model=\"imgList\" :limit=\"6\" @delete=\"deleteFile\" :auto-upload=\"false\" @select=\"select\" @success=\"success\">\r\n\t\t\t\t</uni-file-picker>\r\n\t\t\t\t<view style=\"margin-top: 8px;\">\r\n\t\t\t\t\t<image src=\"../static/tu/help.png\" style=\"width: 16px;height: 16px;margin-right:4px;vertical-align: bottom;\"></image>\r\n\t\t\t\t\t<text style=\"color: #aaa;font-size: 12px;\" :style=\"{fontSize:(wxFontSize-5)+'px'}\">一次只能上传<text style=\"color: #E18730;display: inline;\">六张图片</text></text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"padding: 16px;color:#333;\" :style=\"{fontSize:(fontSize-1)+'px'}\">\r\n\t\t\t\t 上传文件\r\n\t\t\t</view>\r\n\t\t\t<!-- <view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top-xl tn-margin\" style=\"margin-bottom: 0;\">\r\n\t\t\t\t<view class=\"tn-flex justify-content-item\">\r\n\t\t\t\t\t<view class=\" tn-text-center\"\r\n\t\t\t\t\t\tstyle=\"border-radius: 100rpx;margin-right: 8rpx;width: 45rpx;height: 45rpx;line-height: 45rpx;\">\r\n\t\t\t\t\t\t<text class=\"tn-icon-link\" style=\"font-size: 20px;\" :style=\"{fontSize:(wxFontSize+3)+'px'}\"></text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"tn-padding-right-xs tn-text-bold\" style=\"font-size: 16px;\" :style=\"{fontSize:(wxFontSize-1)+'px'}\">上传文件</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t \r\n\t\t\t</view> -->\r\n\t\t\t\r\n\t\t\t<view style=\"background: #fff;margin-left: 16px;margin-right: 16px;padding: 12px;border-radius: 6px;\">\r\n\t\t\t\t<uni-file-picker\r\n\t\t\t\t\tv-model=\"fileList\" :limit=\"3\" mode=\"grid\" @delete=\"deleteFile\" file-mediatype=\"all\" file-extname=\"pdf,docx,doc,xls,xlsx\" :auto-upload=\"false\" @select=\"select\" @success=\"success\">\r\n\t\t\t\t<!-- <button size=\"default\">上传文件</button> -->\r\n\t\t\t\t<view style=\"text-align: left;\">\r\n\t\t\t\t\t<button size=\"mini\" style=\"color:#fff;background-color:#005DA6;border: none;\" plain=\"true\" :style=\"{fontSize:(wxFontSize-5)+'px'}\">\r\n\t\t\t\t\t\t<image src=\"../static/tu/up.png\" style=\"width: 20px;height: 20px;vertical-align: middle;margin-right: 4px;\"></image>\r\n\t\t\t\t\t\t上传文件</button>\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- <tn-button shadow shape=\"round\" fontColor=\"tn-color-white\" size=\"lg\" backgroundColor=\"tn-bg-blue\" :fontSize=\"24\" height=\"auto\" padding=\"20rpx 36rpx\">上传文件</tn-button>\r\n\t\t\t\t -->\r\n\t\t\t\t</uni-file-picker>\r\n\t\t\t\t<view style=\"margin-top: 4px;\">\r\n\t\t\t\t\t<text style=\"color: #999;font-size: 12px;\" :style=\"{fontSize:(wxFontSize-5)+'px'}\">一次只能上传<text style=\"color: #E18730;\">三个</text>文件,支持格式<text style=\"color: #E18730;\"> pdf .doc .xls</text>,不超过<text style=\"color: #E18730;\">5MB</text>。</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t\t<view style=\"margin-top:20px;padding: 16px\">\r\n\t\t\t\t<view style=\"padding: 16px 0;color:#333;\" :style=\"{fontSize:(fontSize-1)+'px'}\">\r\n\t\t\t\t\t 需求有效期\r\n\t\t\t\t</view>\r\n\t\t\t\t \r\n\t\t\t\t<uni-data-select\r\n\t\t\t\t v-model=\"selectValue\"\r\n\t\t\t\t :localdata=\"selectList\"\r\n\t\t\t\t @change=\"changeSelect\"\r\n\t\t\t\t\tplacement=\"top\"\r\n\t\t\t\t\tplaceholder=\"请选择\"\r\n\t\t\t\t\t:fontSize=\"(wxFontSize-3)+'px'\"\r\n\t\t\t\t ></uni-data-select>\r\n\t\t\t</view>\r\n\t\t\t\r\n\r\n\t\t\t<!-- 悬浮按钮-->\r\n\t\t\t<view class=\"tn-flex tn-footerfixed\">\r\n\t\t\t\t<view class=\"tn-flex-1 justify-content-item tn-margin-sm tn-text-center\">\r\n\t\t\t\t\t<button type=\"default\" plain=\"true\" style=\"border-radius: 8px 8px 8px 8px;background: #005DA6;color: #f7f7f7;border: none;\" :disabled=\"!canNext\"\r\n\t\t\t\t\t\t@click=\"nextStep()\" :style=\"{fontSize:(wxFontSize-2)+'px'}\">\r\n\t\t\t\t\t\t 下一步 \r\n\t\t\t\t\t</button>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n</view>\r\n<view v-show=\"stepIndex==2\">\r\n\t\r\n\t<view style=\"padding:16px\">\r\n\t\t<uni-forms :modelValue=\"formData\" label-width=\"0\">\r\n\t\t\t<view style=\"margin:16px 0\" :style=\"{fontSize:(wxFontSize-3)+'px'}\">\r\n\t\t\t\t<text style=\"color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;\" >*</text><text>公司名称:</text>\r\n\t\t\t<w-select\r\n\t\t\t style=\"width: 100%;\" \r\n\t\t\t v-model='searchValue' \r\n\t\t\t :list='items'\r\n\t\t\t valueName='name' \r\n\t\t\t keyName=\"regNumber\"\r\n\t\t\t @change='selectChange'\r\n\t\t\t\t :filterable=\"true\"\r\n\t\t\t\t :fontSize=\"(wxFontSize-3)+'px'\"\r\n\t\t\t >\r\n\t\t\t </w-select>\r\n\t\t\t</view>\r\n\t\t\t<!-- <uni-forms-item label=\"公司名称\" name=\"name\">\r\n\t\t\t\t<uni-easyinput type=\"text\" v-model=\"userInfo.company\" placeholder=\"请输入所在公司名称\" />\r\n\t\t\t</uni-forms-item> -->\r\n\t\t\t<text style=\"color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;\" :style=\"{fontSize:(wxFontSize-3)+'px'}\">*</text><text :style=\"{fontSize:(wxFontSize-3)+'px'}\">您的职称:</text>\r\n\t\t\t<uni-forms-item label=\"\" name=\"realName\" label-width=\"0\">\r\n\t\t\t\t <uni-easyinput type=\"text\" v-model=\"formInfo.jobTitle\" :inputSize=\"wxFontSize-3\" :placeholder-style=\"styleString\" :clearable=\"false\" placeholder=\"请输入您的职称\" />\r\n\t\t\t</uni-forms-item>\r\n\t\t\t<text style=\"color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;\" :style=\"{fontSize:(wxFontSize-3)+'px'}\">*</text><text :style=\"{fontSize:(wxFontSize-3)+'px'}\">联系人姓名:</text>\r\n\t\t\t<uni-forms-item label=\"联系人姓名\" name=\"contactMethod\">\r\n\t\t\t\t <uni-easyinput type=\"text\" v-model=\"formInfo.contactPerson\" :inputSize=\"wxFontSize-3\" :placeholder-style=\"styleString\" :clearable=\"false\" placeholder=\"请输入联系人姓名\" />\r\n\t\t\t</uni-forms-item>\r\n\t\t\t<text style=\"color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;\" :style=\"{fontSize:(wxFontSize-3)+'px'}\">*</text><text :style=\"{fontSize:(wxFontSize-3)+'px'}\">联系方式:</text>\r\n\t\t\t<uni-forms-item label=\"联系方式\" name=\"phone\">\r\n\t\t\t\t <uni-easyinput type=\"text\" v-model=\"formInfo.contactMethod\" :inputSize=\"wxFontSize-3\" :placeholder-style=\"styleString\" :clearable=\"false\" placeholder=\"请输入联系手机/微信/邮箱\" />\r\n\t\t\t</uni-forms-item>\r\n\t\t\t \r\n\t\t\t<uni-forms-item label=\"11\" name=\"check\">\r\n\t\t\t\t<tn-checkbox v-model=\"formInfo.agree\" activeColor=\"#45c05d\" :size=\"wxFontSize+17\" name=\"选项1\">\r\n\t\t\t\t\t<text :style=\"{fontSize:(wxFontSize-4)+'px',color:formInfo.agree?'#45c05d':'#666666'}\">同意平台核查所填信息的真实性</text>\r\n\t\t\t\t</tn-checkbox>\r\n\t\t\t\t<text :style=\"{fontSize:(wxFontSize-4)+'px',color:'#888',paddingTop:'8px',display:'block'}\">系统将短信通知您审核结果。如需关闭通知功能,请前往我的页面自行关闭</text>\r\n\t\t\t</uni-forms-item>\r\n\t\t</uni-forms>\r\n\t</view>\r\n\t\r\n\t<view class=\"tn-flex tn-footerfixed\">\r\n\t\t<view class=\"tn-flex-1 justify-content-item tn-margin-sm tn-text-center\">\r\n\t\t\t<button type=\"default\" plain=\"true\" style=\"border-radius: 24px;\"\r\n\t\t\t\t@click=\"preStep()\" :disabled=\"!canSave\" :style=\"{fontSize:(wxFontSize-2)+'px'}\">\r\n\t\t\t\t 上一步 \r\n\t\t\t</button>\r\n\t\t</view>\r\n\t\t<view class=\"tn-flex-1 justify-content-item tn-margin-sm tn-text-center\">\r\n\t\t\t<button v-if=\"canSave&&canNext\" type=\"primary\" style=\"background-color:#1d60b1;border-radius: 23px\" @click=\"saveForm()\" :style=\"{fontSize:(wxFontSize-2)+'px'}\">提交审核</button>\r\n\t\t\t<button v-if=\"!canSave||!canNext\" type=\"primary\" :disabled=\"!canSave||!canNext\" style=\"background-color:#0003;border-radius: 23px\" @click=\"saveForm()\" :style=\"{fontSize:(wxFontSize-2)+'px'}\">提交审核</button>\r\n\t\t</view>\r\n\t</view>\r\n</view>\r\n\t\t</view>\r\n\t\t\r\n\t\t\r\n\r\n\t\t<view class='tn-tabbar-height'></view>\r\n\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport template_page_mixin from '@/libs/mixin/template_page_mixin.js';\r\n\timport request from '../utils/request';\r\n\texport default {\r\n\t\tname: 'TemplateEdit',\r\n\t\tmixins: [template_page_mixin],\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\twxFontSize:17,\r\n\t\t\t\tcanSave: true,\r\n\t\t\t\tselectValue: '',\r\n\t\t\t\t//非常紧急/两周/一月/长期\r\n\t\t\t\tselectList: [{\r\n\t\t\t\t\t\tvalue: '一周',\r\n\t\t\t\t\t\ttext: '一周'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalue: '两周',\r\n\t\t\t\t\t\ttext: '两周'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tvalue: '一月',\r\n\t\t\t\t\t\ttext: '一月'\r\n\t\t\t\t\t}\r\n\t\t\t\t],\r\n\t\t\t\tcontent:'',\r\n\t\t\t\tformInfo:{\r\n\t\t\t\t\tjobTitle:'',\r\n\t\t\t\t\tagree:false,\r\n\t\t\t\t\tcontactPerson:JSON.parse(uni.getStorageSync('userInfo')).contactNickName,\r\n\t\t\t\t\tcontactMethod:JSON.parse(uni.getStorageSync('userInfo')).contactMethod||JSON.parse(uni.getStorageSync('userInfo')).userName\r\n\t\t\t\t},\r\n\t\t\t\timgList:[],\r\n\t\t\t\tfileDetailList:[],\r\n\t\t\t\tstepIndex:1,\r\n\t\t\t\tstepList: [{\r\n\t\t\t\t\t\tname: '填写需求',\r\n\t\t\t\t\t\ticon: 'circle',\r\n\t\t\t\t\t\tselectIcon: 'circle-fill'\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tname: '填写联系方式',\r\n\t\t\t\t\t\ticon: 'trusty',\r\n\t\t\t\t\t\tselectIcon: 'trusty-fill'\r\n\t\t\t\t\t}\r\n\t\t\t\t],\r\n\t\t\t\tformData: {\r\n\t\t\t\t\tapiType: 'this,ali',\r\n\t\t\t\t\ttoken: 'dffc1e06e636cff0fdf7d877b6ae6a2e',\r\n\t\t\t\t\timage: null\r\n\t\t\t\t},\r\n\t\t\t\tfileList: [],\r\n\t\t\t\tshowUploadList: true,\r\n\t\t\t\tcustomBtn: false,\r\n\t\t\t\tautoUpload: true,\r\n\t\t\t\tshowProgress: false,\r\n\t\t\t\tdeleteable: true,\r\n\t\t\t\tcustomStyle: false,\r\n\t\t\t\tmaxCount: 9,\r\n\t\t\t\tdisabled: false,\r\n\t\t\t\tsearchValue: '',\r\n\t\t\t\titems: [],\r\n\t\t\t\torg:{\r\n\t\t\t\t\tname:'',\r\n\t\t\t\t\tregNumber:''\r\n\t\t\t\t},\r\n\t\t\t\teditItem:{},\r\n\t\t\t\tstyleString:'font-size:'+14+'px',\r\n\t\t\t\tcanNext:true\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tsearchValue(val, oldval) {\r\n\t\t\t\tconsole.error(val,this.org.name);\r\n\t\t\t\tif(val!==this.org.name){\r\n\t\t\t\t\tthis.current = null;\r\n\t\t\t\t}\r\n\t\t\t\tif(this.stepIndex==2){\r\n\t\t\t\t\tthis.search(val)\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(props) {\r\n\t\t\tconst appBaseInfo = wx.getAppBaseInfo();\r\n\t\t\tthis.wxFontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;\r\n\t\t\tthis.styleString='font-size:'+(this.wxFontSize-3)+'px';\r\n\t\t\tif(props.sid){\r\n\t\t\t\tthis.isEdit = true;\r\n\t\t\t\tthis.editItem = JSON.parse(uni.getStorageSync(props.sid)||'{}');\r\n\t\t\t\tthis.content = this.editItem.content;\r\n\t\t\t\tthis.fileDetailList = this.editItem.fileDetailList;\r\n\t\t\t\t\r\n\t\t\t\tfor(let i=0;i<this.fileDetailList.length;i++){\r\n\t\t\t\t\tthis.fileDetailList[i].path = this.fileDetailList[i].ftpUrl\r\n\t\t\t\t\tif(this.isImage(this.fileDetailList[i].fileName)){\r\n\t\t\t\t\t\tthis.imgList.push({\r\n\t\t\t\t\t\t\tname: this.fileDetailList[i].fileName,\r\n\t\t\t\t\t\t\turl: this.fileDetailList[i].ftpUrl,\r\n\t\t\t\t\t\t\tpath: this.fileDetailList[i].path\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.fileList.push({\r\n\t\t\t\t\t\t\tname: this.fileDetailList[i].fileName,\r\n\t\t\t\t\t\t\turl: this.fileDetailList[i].ftpUrl,\r\n\t\t\t\t\t\t\tpath: this.fileDetailList[i].path\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\t\r\n\t\t\t\tthis.org.name = this.editItem.company;\r\n\t\t\t\tthis.formInfo.jobTitle = this.editItem.jobTitle;\r\n\t\t\t\tthis.formInfo.contactPerson = this.editItem.contactPerson;\r\n\t\t\t\tthis.formInfo.contactMethod = this.editItem.contactMethod;\r\n\t\t\t}\r\n\t\t\tthis.getCompany();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t isImage(fileName) {\r\n\t\t\t\tconst imageExtensions = ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp', 'ico']\r\n\t\t\t\tconst extension = fileName.split('.').pop().toLowerCase();\r\n\t\t\t\treturn imageExtensions.includes(extension);\r\n\t\t\t },\r\n\t\t\t getCompany(){\r\n\t\t\t \tlet that = this;\r\n\t\t\t \t\trequest.post('/slbUserCompanyRel/show/my', {\r\n\t\t\t \t\t\tuserNo: uni.getStorageSync('userNo')\r\n\t\t\t \t\t}).then(res => {\r\n\t\t\t \t\t\tif (res.success) {\r\n\t\t\t \t\t\t\tlet list = res.list || [];\r\n\t\t\t \t\t\t\tfor(let i=0;i<list.length;i++){\r\n\t\t\t \t\t\t\t\tlist[i].name = list[i].company;\r\n\t\t\t \t\t\t\t\tlist[i].regNumber= list[i].company;\r\n\t\t\t\t\t\t\t\tif(!that.isEdit&&list[i].isDefault=='1'){\r\n\t\t\t\t\t\t\t\t\tthat.searchValue = list[i].name\r\n\t\t\t\t\t\t\t\t\tthat.current = list[i].name;\r\n\t\t\t\t\t\t\t\t\tthat.org = list[i];\r\n\t\t\t\t\t\t\t\t\tif(list[i].jobTitle){\r\n\t\t\t\t\t\t\t\t\t\tthat.formInfo.jobTitle = list[i].jobTitle\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif(list[i].contactPerson){\r\n\t\t\t\t\t\t\t\t\t\tthat.formInfo.contactPerson = list[i].contactPerson\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif(list[i].contactMethod){\r\n\t\t\t\t\t\t\t\t\t\tthat.formInfo.contactMethod = list[i].contactMethod;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tthat.getAddress(list[i].name);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif(that.isEdit&&list[i].name==that.editItem.company){\r\n\t\t\t\t\t\t\t\t\tthat.searchValue = list[i].name\r\n\t\t\t\t\t\t\t\t\tthat.current = list[i].name;\r\n\t\t\t\t\t\t\t\t\tthat.formInfo.jobTitle = list[i].jobTitle;\r\n\t\t\t\t\t\t\t\t\tthat.formInfo.contactPerson = list[i].contactPerson;\r\n\t\t\t\t\t\t\t\t\tthat.formInfo.contactMethod = list[i].contactMethod;\r\n\t\t\t\t\t\t\t\t\tthat.org = list[i];\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tthat.getAddress(list[i].name);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t \t\t\t\t\t \r\n\t\t\t \t\t\t\t}\r\n\t\t\t \t\t\t\tthat.items = list;\r\n\t\t\t \t\t\t}else{\n\t\t\t\t\t\t\tif(res._redirect){\n\t\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\t\ttitle: '操作过期,请重试',\n\t\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t\t\ticon:'none'\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\tthat.goBack();\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},\r\n\t\t\tpreStep(){\r\n\t\t\t\tthis.stepIndex = 1;\r\n\t\t\t},\r\n\t\t\tnextStep(){\r\n\t\t\t\tconsole.warn(this.searchValue);\r\n\t\t\t\tif(this.content==''&&this.fileDetailList.length===0){\r\n\t\t\t\t\t uni.showToast({\r\n\t\t\t\t\t\ttitle:'请输入您的需求或上传图片/文件',\r\n\t\t\t\t\t\ticon:'none'\r\n\t\t\t\t\t })\r\n\t\t\t\t\t this.stepIndex = 1;\r\n\t\t\t\t\t \r\n\t\t\t\t\t return false;\r\n\t\t\t\t}\r\n\t\t\t\t \r\n\t\t\t\tthis.stepIndex = 2;\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\tchangeSelect(e) {\r\n\t\t\t this.selectValue = e;\r\n\t\t\t},\r\n\t\t\tsaveForm(status){\r\n\t\t\t\tif(!this.canSave){\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tlet that = this;\r\n\t\t\t\tlet params = {\r\n\t\t\t\t\t\r\n\t\t\t\t};\r\n\t\t\t\t\r\n\t\t\t\tif(status!=1&&!this.org.name){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请输入公司名称',\r\n\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\ticon:'none'\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif(status!=1&&this.formInfo.jobTitle.length<1){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请输入您的职称',\r\n\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\ticon:'none'\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tif(status!=1&&this.formInfo.contactPerson.length<1){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请输入联系人姓名',\r\n\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\ticon:'none'\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tif(status!=1&&this.formInfo.contactMethod.length<1){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请输入联系方式',\r\n\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\ticon:'none'\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif(status!=1&&!this.formInfo.agree){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '请勾选同意平台核查所填信息的真实性',\r\n\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\ticon:'none'\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif(!that.canNext){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '照片/文件正在上传中,请耐心等待',\r\n\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\ticon:'none'\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: '提交中...',\r\n\t\t\t\t\ticon:'none'\r\n\t\t\t\t});\r\n\t\t\t\t\r\n\t\t\t\tthat.canSave = false;\r\n\t\t\t\t\r\n\t\t\t\tparams.slbResourceDemand = {\r\n\t\t\t\t\ttype:'3',\r\n\t\t\t\t\tcompany:this.org.name,\r\n \t\t\t\t\tjobTitle:this.formInfo.jobTitle,\r\n\t\t\t\t\tcontactPerson:this.formInfo.contactPerson,\r\n\t\t\t\t\tcontactMethod:this.formInfo.contactMethod,\r\n\t\t\t\t\tcontent:that.content,\r\n\t\t\t\t\tuserNo:uni.getStorageSync('userNo'),\r\n\t\t\t\t\tvalidDate:this.selectValue,\r\n\t\t\t\t\tstatus: status==1?status:3,\r\n\t\t\t\t\tshowFlag:'是',\r\n\t\t\t\t\tid: that.isEdit?that.editItem.id:undefined,\r\n\t\t\t\t\tbisNo: that.isEdit?that.editItem.bisNo:undefined,\r\n\t\t\t\t\tversion: that.isEdit?that.editItem.version:undefined\r\n\t\t\t\t};\r\n\t\t\t\t\r\n\t\t\t\tparams.slbResourceDemand.companyEntity = {};\r\n\t\t\t\tparams.slbResourceDemand.companyEntity.company = params.slbResourceDemand.company;\r\n\t\t\t\tparams.slbResourceDemand.companyEntity.jobTitle = params.slbResourceDemand.jobTitle;\r\n\t\t\t\tparams.slbResourceDemand.companyEntity.creditCode = this.org.creditCode;\r\n\t\t\t\tparams.slbResourceDemand.companyEntity.address = this.org.base;\r\n\t\t\t\tparams.slbResourceDemand.companyEntity.regStatus = this.org.regStatus;\r\n\t\t\t\t\r\n\t\t\t\tparams.slbResourceDemand.companyEntity.contactPerson = params.slbResourceDemand.contactPerson;\r\n\t\t\t\tparams.slbResourceDemand.companyEntity.contactMethod = params.slbResourceDemand.contactMethod;\r\n\t\t\t\t\r\n\t\t\t\tparams.slbResourceDemand.slbUserExt = {\r\n\t\t\t\t\t\tcontactPerson:params.slbResourceDemand.contactPerson,\r\n\t\t\t\t\t\tcontactMethod:params.slbResourceDemand.contactMethod,\r\n\t\t\t\t\t\tuserNo:uni.getStorageSync('userNo'),\r\n\t\t\t\t};\r\n\t\t\t\t\r\n\t\t\t\tparams.slbResourceDemand = JSON.stringify(params.slbResourceDemand);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t// params.slbResourceDemand.companyEntity.contactNickName = params.slbResourceDemand.contactNickName;\r\n\t\t\t\t// params.slbUserExt = JSON.stringify({\r\n\t\t\t\t// \tjobTitle:this.formInfo.jobTitle,\r\n\t\t\t\t// \tcontactPerson:this.formInfo.contactPerson,\r\n\t\t\t\t// \tcontactMethod:this.formInfo.contactMethod,\r\n\t\t\t\t// \tuserNo:uni.getStorageSync('userNo'),\r\n\t\t\t\t// });\r\n\t\t\t\t\r\n\t\t\t\tparams.fileDetailList = JSON.stringify(this.fileDetailList);\r\n\t\t\t\trequest.post(that.isEdit?'/slbResourceDemand/update':'/slbResourceDemand/add', params).then(res => {\r\n\t\t\t\t \r\n\t\t\t\t\tif(res.success){\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle:status==1?'信息已暂存,请在我的需求中查看暂存信息':'发布已提交,请在我的需求中查看进度',\r\n\t\t\t\t\t\t\ticon:'none',\r\n\t\t\t\t\t\t\tsuccess:()=>{\r\n\t\t\t\t\t\t\t\tsetTimeout(()=>{\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\t\t\t\t url: \"/pages/mine/need?tab=\"+(status==1?2:1)\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t\t\t},1500)\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle:res.msg,\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\tthat.canSave = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tconsole.warn(res);\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 跳转\r\n\t\t\ttn(e) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: e,\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t// 手动上传文件\r\n\t\t\tupload() {\r\n\t\t\t\tconsole.warn(121212);\r\n\t\t\t},\r\n\t\t\t// 手动清空列表\r\n\t\t\tclear() {\r\n\t\t\t\tthis.$refs.imageUpload.clear()\r\n\t\t\t},\r\n\t\t\t// 图片拖拽重新排序\r\n\t\t\tonSortList(list) {\r\n\t\t\t\tconsole.log(list);\r\n\t\t\t},\r\n\t\t\tselect(e) {\r\n\t\t\t\tconsole.log('选择文件:', e)\r\n\t\t\t\tlet tempFiles = e.tempFiles;\r\n\t\t\t\tfor (let i in tempFiles) {\r\n\t\t\t\t\tthis.upfile(tempFiles[i])\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tdeleteFile(e, index) {\r\n\t\t\t\tif(!this.canNext){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle: '照片/文件正在上传中,请耐心等待',\r\n\t\t\t\t\t\ticon:'none'\r\n\t\t\t\t\t});\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tfor(let i=0;i<this.fileDetailList.length;i++){\r\n\t\t\t\t\tif(e.tempFile.path===this.fileDetailList[i].path){\r\n\t\t\t\t\t\tthis.fileDetailList.splice(i, 1);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tupfile(file) {\r\n\t\t\t\tlet that = this;\r\n\t\t\t\tconsole.warn(file);\r\n\t\t\t\tthis.canNext = false;\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ttitle: '照片/文件正在上传中,请耐心等待',\r\n\t\t\t\t\ticon:'none'\r\n\t\t\t\t});\r\n\t\t\t\tuni.uploadFile({\r\n\t\t\t\t\turl: 'https://slb-m.lx-device.com/oss/upload/userFeedback', //仅为示例,非真实的接口地址\r\n\t\t\t\t\tfilePath: file.url,\r\n\t\t\t\t\tname: 'file',\r\n\t\t\t\t\tsuccess: (uploadFileRes) => {\r\n\t\t\t\t\t\tthat.canNext = true;\r\n\t\t\t\t\t\tuni.hideToast();\r\n\t\t\t\t\t\tconsole.warn(JSON.parse(uploadFileRes.data));\r\n\t\t\t\t\t\tif(JSON.parse(uploadFileRes.data).success){\r\n\t\t\t\t\t\t\tlet resultMap = JSON.parse(uploadFileRes.data).resultMap;\r\n\t\t\t\t\t\t\tthat.fileDetailList.push({\r\n\t\t\t\t\t\t\t\tname: file.name,\r\n\t\t\t\t\t\t\t\tfileName: file.name, // 原始文件名\r\n\t\t\t\t\t\t\t\tftpUrl: resultMap.uploadUrl, // 文件访问url\r\n\t\t\t\t\t\t\t\tpath: file.path\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\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: JSON.parse(uploadFileRes.data).msg+',请删除后重试',\r\n\t\t\t\t\t\t\t\ticon:'none'\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\tfail:(err)=>{\r\n\t\t\t\t\t\t uni.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});\r\n\t\t\t},\r\n\t\t\t// 上传成功\r\n\t\t\tsuccess(e) {\r\n\t\t\t\tconsole.log('上传成功')\r\n\t\t\t},\r\n\t\t\t \r\n\t\t\tselectChange(e){\r\n\t\t\t\tconsole.error(e);\r\n\t\t\t\tthis.searchValue = e.name\r\n\t\t\t\tthis.current = e.regNumber;\r\n\t\t\t\tif(e.jobTitle){\r\n\t\t\t\t\tthis.formInfo.jobTitle = e.jobTitle;\r\n\t\t\t\t}\r\n\t\t\t\tthis.org = e;\r\n\t\t\t\tthis.getAddress(e.name);\r\n\t\t\t},\r\n\t\t\tgetAddress(name){\r\n\t\t\t\tlet that = this;\r\n\t\t\t\trequest.post('/member/getEnterPriseInfo', {\r\n\t\t\t\t\tkeyWord: name\r\n\t\t\t\t}).then(res => {\r\n\t\t\t\t\tif(res&&res.success&&res.resultMap.data){\r\n\t\t\t\t\t if( res.resultMap.data.creditCode){\r\n\t\t\t\t\t \t that.org.creditCode = res.resultMap.data.creditCode\r\n\t\t\t\t\t }\r\n\t\t\t\t\t if( res.resultMap.data.regStatus){\r\n\t\t\t\t\t \t that.org.regStatus = res.resultMap.data.regStatus\r\n\t\t\t\t\t }\r\n\t\t\t\t\t if( res.resultMap.data.regLocation){\r\n\t\t\t\t\t\t that.org.base = res.resultMap.data.regLocation\r\n\t\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tsearch: function(val) {\r\n\t\t\t\tlet that = this;\r\n\t\t\t\t\r\n\t\t\t\tif (val && val.length > 3) {\r\n\t\t\t\t\trequest.post('/member/searchCompys', {\r\n\t\t\t\t\t\tkeyWord: val\r\n\t\t\t\t\t}).then(res => {\r\n\t\t\t\t\t\tif(res&&res.success){\r\n\t\t\t\t\t\t\tlet list = res.resultMap.data || [];\r\n\t\t\t\t\t\t\tthat.items = list;\r\n\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\tif(res._redirect){\r\n\t\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\t\ttitle: '操作过期,请重试',\r\n\t\t\t\t\t\t\t\t\tduration: 2000,\r\n\t\t\t\t\t\t\t\t\ticon:'none'\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\tthat.goBack();\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}else{\r\n\t\t\t\t\tthat.items = [];\r\n\t\t\t\t\tthat.org = {}; \r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tgoBack() {\r\n\t\t\t\tconst pages = getCurrentPages()\r\n\t\t\t\t// 有可返回的页面则直接返回,uni.navigateBack 默认返回失败之后会自动刷新页面 ,无法继续返回\r\n\t\t\t\tif (pages.length > 1) {\r\n\t\t\t\t\tuni.navigateBack()\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl: '/pages/index/index'\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}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.template-edit {}\r\n\r\n\t/* 胶囊*/\r\n\t.tn-custom-nav-bar__back {\r\n\t\twidth: 60%;\r\n\t\theight: 100%;\r\n\t\tposition: relative;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-evenly;\r\n\t\talign-items: center;\r\n\t\tbox-sizing: border-box;\r\n\t\t// background-color: rgba(0, 0, 0, 0.15);\r\n\t\tborder-radius: 1000rpx;\r\n\t\tborder: 1rpx solid rgba(255, 255, 255, 0.5);\r\n\t\t// color: #FFFFFF;\r\n\t\tfont-size: 18px;\r\n\r\n\t\t.icon {\r\n\t\t\tdisplay: block;\r\n\t\t\tflex: 1;\r\n\t\t\tmargin: auto;\r\n\t\t\ttext-align: center;\r\n\t\t}\r\n\r\n\t\t&:before {\r\n\t\t\tcontent: \" \";\r\n\t\t\twidth: 1rpx;\r\n\t\t\theight: 110%;\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 22.5%;\r\n\t\t\tleft: 0;\r\n\t\t\tright: 0;\r\n\t\t\tmargin: auto;\r\n\t\t\ttransform: scale(0.5);\r\n\t\t\ttransform-origin: 0 0;\r\n\t\t\tpointer-events: none;\r\n\t\t\tbox-sizing: border-box;\r\n\t\t\topacity: 0.7;\r\n\t\t\tbackground-color: #FFFFFF;\r\n\t\t}\r\n\t}\r\n\r\n\t/* 底部悬浮按钮 start*/\r\n\t.tn-tabbar-height {\r\n\t\tmin-height: 100rpx;\r\n\t\theight: calc(120rpx + env(safe-area-inset-bottom) / 2);\r\n\t}\r\n\r\n\t.tn-footerfixed {\r\n\t\tposition: fixed;\r\n\t\twidth: 100%;\r\n\t\tbottom: calc(env(safe-area-inset-bottom));\r\n\t\tz-index: 1024;\r\n\t\tbox-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0);\r\n\t\tbackground: #fff;\r\n\t}\r\n\r\n\t/* 底部悬浮按钮 end*/\r\n\r\n\t/* 标签内容 start*/\r\n\t.tn-tag-content {\r\n\t\t&__item {\r\n\t\t\tdisplay: inline-block;\r\n\t\t\tline-height: 45rpx;\r\n\t\t\tpadding: 10rpx 30rpx;\r\n\t\t\tmargin: 20rpx 20rpx 5rpx 0rpx;\r\n\r\n\t\t\t&--prefix {\r\n\t\t\t\tpadding-right: 10rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t\r\n\t/deep/ .uni-forms-item__label {\r\n\t\tdisplay: none;\r\n\t}\r\n\t/deep/ .uni-stat__select .uni-select__input-placeholder {\r\n\t\tfont-size: 14px;\r\n\t}\r\n\r\n\t/* 标签内容 end*/\r\n</style>","import mod from \"-!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./circle.vue?vue&type=style&index=0&id=7db0d20e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./circle.vue?vue&type=style&index=0&id=7db0d20e&lang=scss&scoped=true&\""],"sourceRoot":""}