addCompany.vue 45 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375
  1. <template>
  2. <div class="addcompany">
  3. <div class="list">
  4. <div class="list-row" style="padding-top: 0">
  5. <div style="height: auto" class="width100">
  6. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  7. <view class="input_title float_left">
  8. <span style="color: red">*&nbsp;</span> 企业名称
  9. </view>
  10. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.qymc" />
  11. </view>
  12. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  13. <view class="input_title float_left" style="width: 41%; white-space: break-spaces">
  14. <!-- <span style="color: red">*&nbsp;</span>-->
  15. 统一社会信用代码:</view>
  16. <input style="color: #777; width: 59%" class="input_value float_left" placeholder="请输入"
  17. v-model="form.shxydm" />
  18. </view>
  19. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  20. <view class="input_title float_left">注册资金(万元):</view>
  21. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.zczj" />
  22. </view>
  23. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  24. <view class="input_title float_left">币别</view>
  25. <picker style="float: left; width: 360rpx; height: 40rpx; color: #777" @change="getBizhongtype"
  26. range-key="label" :range="dic_SelectList.CURRENCY">
  27. <div style="width: 315rpx; float: left">
  28. {{ dic_SelectList.CURRENCY[bizhongIndex].label }}
  29. </div>
  30. <img class="height40rpx width40rpx float_left" src="../../../static/mine/youjiantou.png" alt="" />
  31. </picker>
  32. </view>
  33. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  34. <view class="input_title float_left"> 注册时间: </view>
  35. <picker style="float: left; width: 360rpx; height: 40rpx; color: #777" mode="date" :value="form.zcsj"
  36. @change="getZcsj">
  37. <div style="width: 315rpx; float: left">
  38. {{ form.zcsj == "" ? "请选择" : form.zcsj }}
  39. </div>
  40. <img class="height40rpx width40rpx float_left" src="../../../static/mine/youjiantou.png" alt="" />
  41. </picker>
  42. </view>
  43. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  44. <view class="input_title float_left">
  45. <span style="color: red">*&nbsp;</span> 法定代表人:
  46. </view>
  47. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.fddbr" />
  48. </view>
  49. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  50. <view class="input_title float_left"> 法人电话 :</view>
  51. <input style="color: #777" class="input_value float_left" placeholder="请输入"
  52. v-model="form.legalPersonPhone" />
  53. </view>
  54. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  55. <view class="input_title float_left">法人邮箱 :</view>
  56. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.frEmail" />
  57. </view>
  58. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  59. <view class="input_title float_left">企业联系人</view>
  60. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.qylxr" />
  61. </view>
  62. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  63. <view class="input_title float_left">联系人手机:</view>
  64. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.lxdh" />
  65. </view>
  66. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  67. <view class="input_title float_left">联系人邮箱:</view>
  68. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.email" />
  69. </view>
  70. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  71. <view class="input_title float_left">财务负责人:</view>
  72. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.cwfzr" />
  73. </view>
  74. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  75. <view class="input_title float_left"><span style="color: red">*&nbsp;</span>负责人电话:</view>
  76. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.cwfzrdh" />
  77. </view>
  78. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  79. <view class="input_title float_left">其他联系方式:</view>
  80. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.otherContact" />
  81. </view>
  82. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  83. <view class="input_title float_left">股票代码:</view>
  84. <input style="color: #777" class="input_value float_left" placeholder="请输入"
  85. v-model="form.shareCertificateCode" />
  86. </view>
  87. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  88. <view class="input_title float_left">土地面积:</view>
  89. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.leaseArea" />
  90. </view>
  91. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  92. <view class="input_title float_left">注册地址:</view>
  93. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.zcdz" />
  94. </view>
  95. <view @click="openTreeData3Dialog" class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  96. <view class="input_title float_left">
  97. <span style="color: red">*&nbsp;</span>
  98. 所属园区
  99. </view>
  100. <div style="width: 315rpx; float: left">{{ form.parkInfoName || '请选择' }}</div>
  101. <img class="height40rpx width40rpx float_left" src="../../../static/mine/youjiantou.png" alt="" />
  102. </view>
  103. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  104. <view class="input_title float_left">
  105. <span style="color: red">*&nbsp;</span>
  106. 面积:
  107. </view>
  108. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.areaSize" />
  109. </view>
  110. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
  111. <view class="input_title float_left">
  112. <span style="color: red">*&nbsp;</span>
  113. 经营地址:
  114. </view>
  115. <input style="color: #777" class="input_value float_left" placeholder="请输入" v-model="form.jydzValue" />
  116. </view>
  117. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  118. style=" display: flex;align-items: center;flex-direction: column;">
  119. <view class="input_title float_left" style="width: 100%;display: flex;justify-content: space-between;">
  120. <div>经营地址载体:</div>
  121. <van-button type="default" size="mini" color="#1f1fbe" @click="addJydzAry()">添加</van-button>
  122. </view>
  123. <div v-for="item in jydzAry" class="jydzList">
  124. <div class="jydzList-row">{{ item.name }}</div>
  125. <van-button type="default" size="mini" color="rgba(236, 128, 141, 1)"
  126. @click="deletZt(index)">删除</van-button>
  127. </div>
  128. </view>
  129. <textarea class="mt24rpx border_bottom_ccc" :maxlength="2000" placeholder="请输入经营地址说明"
  130. v-model="form.jydzRemark" type="textarea" style="
  131. height: 270rpx;
  132. background: rgba(249, 249, 249, 1);
  133. padding: 20rpx;
  134. width: calc(100% - 40rpx);
  135. " />
  136. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
  137. style="display: flex; align-items: center">
  138. <view class="input_title float_left">
  139. <span style="color: red">*&nbsp;</span> 主营业务:
  140. </view>
  141. <div>
  142. <div style="display: flex" v-for="(item, index) in form.jyfwAry" :key="index">
  143. <input style="color: #050505; width: 80%" class="input_value" placeholder="请输入" v-model="item.name" />
  144. <van-button v-if="index == 0" type="default" size="mini" color="#1f1fbe"
  145. @click="addJyfw()">添加</van-button>
  146. <van-button v-if="index != 0" type="default" size="mini" color="rgba(236, 128, 141, 1)"
  147. @click="deleteJyfw(index)">删除</van-button>
  148. </div>
  149. </div>
  150. </view>
  151. <view class="width100 mt24rpx list_date height40rpx">
  152. <view class="input_title float_left" style="width: 52%">营业执照副本:(限1张)</view>
  153. </view>
  154. <view class="custom-image-box" style="position: relative">
  155. <van-icon v-if="form.YYZZFBZP" @click="spliceYYZZFBZP()" name="cross"
  156. style="position: absolute; top: 0; left: 282rpx; font-size: 42rpx" />
  157. <img v-if="form.YYZZFBZP" @click="chooseYYZZFBZP()"
  158. :src="BASE_URI + '/FileController/download/' + form.YYZZFBZP"
  159. style="color: #777; width: 300rpx; height: 260rpx" placeholder="请输入" />
  160. <img v-else @click="chooseYYZZFBZP()" src="../../../static/unuploadzhizhao.png"
  161. style="color: #777; width: 300rpx; height: 260rpx" placeholder="请输入" />
  162. </view>
  163. <view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height300rpxs">
  164. <view class="input_title float_left">荣誉信息(限6张)</view>
  165. <textarea :maxlength="2000" placeholder="请输入" v-model="form.honorInformation" type="textarea" style="
  166. height: 270rpx;
  167. background: rgba(249, 249, 249, 1);
  168. padding: 20rpx;
  169. width: calc(100% - 40rpx);
  170. " />
  171. <div style="
  172. background: rgba(249, 249, 249, 1);
  173. text-align: right;
  174. padding-right: 10px;
  175. padding-bottom: 10rpx;
  176. margin-bottom: 10rpx;
  177. ">
  178. {{ form.honorInformation.length }}/2000
  179. </div>
  180. <view class="custom-image-box" style="margin-top: 20rpx">
  181. <van-uploader :max-count="6" @delete="deleteRYXXZP" :file-list="form.RYXXZPList"
  182. @after-read="uploadRYXXZP" :show-upload="true" />
  183. </view>
  184. </view>
  185. <!-- <view
  186. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height300rpxs"
  187. style="height: 170rpx"
  188. >
  189. <view class="input_title float_left" style="width: 100%"
  190. >法人身份证</view
  191. >
  192. <view class="width100" style="position: relative">
  193. <van-icon
  194. v-if="form.FRSFZHZM != '../../../static/idzhengmian.png'"
  195. @click="spliceFRSFZHZM()"
  196. name="cross"
  197. style="
  198. position: absolute;
  199. top: 32rpx;
  200. left: 133rpx;
  201. font-size: 42rpx;
  202. "
  203. />
  204. <van-icon
  205. v-if="form.FRSFZHFM != '../../../static/idfanmian.png'"
  206. @click="spliceFRSFZHFM()"
  207. name="cross"
  208. style="
  209. position: absolute;
  210. top: 32rpx;
  211. left: 300rpx;
  212. font-size: 23px;
  213. "
  214. />
  215. <img
  216. @click="chooseFRSFZHZM()"
  217. :src="
  218. form.FRSFZHZM == '../../../static/idzhengmian.png'
  219. ? form.FRSFZHZM
  220. : BASE_URI + '/FileController/download/' + form.FRSFZHZM
  221. "
  222. class="idclass margin12rpx float_left"
  223. placeholder="请输入"
  224. />
  225. <img
  226. @click="chooseFRSFZHFM()"
  227. :src="
  228. form.FRSFZHFM == '../../../static/idfanmian.png'
  229. ? form.FRSFZHFM
  230. : BASE_URI + '/FileController/download/' + form.FRSFZHFM
  231. "
  232. class="idclass margin12rpx float_left"
  233. placeholder="请输入"
  234. />
  235. </view>
  236. </view> -->
  237. </div>
  238. </div>
  239. <div class="form">
  240. <div class="form_row pdt32 pdb32 border_bottom_ccc width100" @click="chosseAboutCompany()">
  241. <div class="float_left width30 first_title height50rpx">关联企业</div>
  242. <div class="float_left width60 whitespacenowrap first_title height50rpx font28rpx color292d98">
  243. {{
  244. form.associationCompanyString
  245. ? form.associationCompanyString
  246. : "暂无"
  247. }}
  248. </div>
  249. <img class="height40rpx width40rpx float_right" src="../../../static/mine/youjiantou.png" alt="" />
  250. </div>
  251. <div class="form_row pdt32 pdb32 border_bottom_ccc width100" @click="getSelectUserTwo('selectDengjiyuan')">
  252. <div class="float_left width30 first_title height50rpx">招商经理</div>
  253. <div class="float_left width60 whitespacenowrap first_title height50rpx font28rpx color292d98">
  254. {{ form.investmentManagerString }}
  255. </div>
  256. <img class="height40rpx width40rpx float_right" src="../../../static/mine/youjiantou.png" alt="" />
  257. </div>
  258. <div class="form_row pdt32 pdb32 border_bottom_ccc width100">
  259. <div class="float_left width30 first_title height50rpx">入驻类型</div>
  260. <div class="float_left width60 whitespacenowrap first_title height50rpx font28rpx color292d98">
  261. <picker style="float: left; width: 300rpx; height: 40rpx; color: #777" @change="getSettleInType"
  262. range-key="label" :range="dic_SelectList.MNP_BUILDING_TYPE">
  263. <span style="color: #292d98">
  264. {{ dic_SelectList.MNP_BUILDING_TYPE[settleInTypeIndex].label }}
  265. </span>
  266. </picker>
  267. </div>
  268. <img class="height40rpx width40rpx float_right" src="../../../static/mine/youjiantou.png" alt="" />
  269. </div>
  270. <!-- <div class="form_row pdt32 pdb32 border_bottom_ccc width100">
  271. <div class="float_left width30 first_title height50rpx">入驻类型</div>
  272. <div
  273. class="float_left width60 whitespacenowrap first_title height50rpx font28rpx color292d98"
  274. >
  275. <picker
  276. style="float: left; width: 300rpx; height: 40rpx; color: #777"
  277. @change="getSettleInType"
  278. range-key="label"
  279. :range="dic_SelectList.MNP_BUILDING_TYPE"
  280. >
  281. <span style="color: #292d98">
  282. {{ dic_SelectList.MNP_BUILDING_TYPE[settleInTypeIndex].label }}
  283. </span>
  284. </picker>
  285. </div>
  286. <img
  287. class="height40rpx width40rpx float_right"
  288. src="../../../static/mine/youjiantou.png"
  289. alt=""
  290. />
  291. </div> -->
  292. </div>
  293. <div class="form">
  294. <div class="height50rpx first_title">附件:</div>
  295. <div class="fujian">
  296. <van-uploader accept="all" :max-count="6" :file-list="form.fileList" @after-read="uploadFileList"
  297. :show-upload="false">
  298. <van-button type="primary" size="small" style="margin-bottom: 15rpx">文件选择</van-button>
  299. </van-uploader>
  300. <div @click="openFile(item)" class="file" v-for="(item, index) in form.fileList" :key="index">
  301. <div class="filename">{{ item.name }}</div>
  302. <uni-icons type="closeempty" size="20" @click="deleteFileList(index)"></uni-icons>
  303. </div>
  304. </div>
  305. </div>
  306. <div class="form">
  307. <div class="first_title" style="height: auto">关联社会载体:</div>
  308. <div class="form_row pdt32 pdb32 border_bottom_ccc width100"
  309. style="display: flex; height: auto; align-items: center">
  310. <div class="width30 first_title" style="height: auto">自有:</div>
  311. <div @click="jumpChosseHouse('自有')" style="width: 65%" class="float_left font28rpx color292d98">
  312. {{
  313. form.socialCarrierStrName ? form.socialCarrierStrName : "请选择"
  314. }}
  315. </div>
  316. <img class="height40rpx width40rpx" src="../../../static/mine/youjiantou.png" alt="" />
  317. </div>
  318. <div class="form_row pdt32 pdb32 border_bottom_ccc width100"
  319. style="display: flex; height: auto; align-items: center">
  320. <div class="width30 first_title" style="height: auto">租赁:</div>
  321. <div @click="jumpChosseHouse('租赁')" style="width: 65%" class="float_left font28rpx color292d98">
  322. {{
  323. form.socialCarrierLeaseStrName
  324. ? form.socialCarrierLeaseStrName
  325. : "请选择"
  326. }}
  327. </div>
  328. <img class="height40rpx width40rpx" src="../../../static/mine/youjiantou.png" alt="" />
  329. </div>
  330. <div class="form_row pdt32 pdb32 border_bottom_ccc width100"
  331. style="display: flex; height: auto; align-items: center">
  332. <div class="width30 first_title" style="height: auto">未确定:</div>
  333. <div @click="jumpChosseHouse('未确定')" style="width: 65%" class="float_left font28rpx color292d98">
  334. {{
  335. form.socialCarrierNoTrueName
  336. ? form.socialCarrierNoTrueName
  337. : "请选择"
  338. }}
  339. </div>
  340. <img class="height40rpx width40rpx" src="../../../static/mine/youjiantou.png" alt="" />
  341. </div>
  342. <!-- <div
  343. style="height: 45px; width: 500px; background: black"
  344. ></div> -->
  345. </div>
  346. <div class="form">
  347. <div class="first_title" style="height: auto">关联自有载体:</div>
  348. <!-- <div
  349. class="form_row pdt32 pdb32 border_bottom_ccc width100"
  350. style="display: flex; height: auto; align-items: center"
  351. >
  352. <div class="width30 first_title" style="height: auto">
  353. 有合同
  354. <br />
  355. <van-button
  356. type="default"
  357. size="mini"
  358. color="#1f1fbe"
  359. @click="jumpAddZati()"
  360. >添加</van-button
  361. >
  362. </div>
  363. <div
  364. @click="jumpChosseHouse('有合同')"
  365. style="width: 65%"
  366. class="float_left font28rpx color292d98"
  367. >
  368. {{ form.socialCarrierName ? form.socialCarrierName : "请选择载体" }}
  369. </div>
  370. <img
  371. class="height40rpx width40rpx"
  372. src="../../../static/mine/youjiantou.png"
  373. alt=""
  374. />
  375. </div> -->
  376. <div class="form_row pdt32 pdb32 border_bottom_ccc width100"
  377. style="display: flex; height: auto; align-items: center">
  378. <div class="width30 first_title" style="height: auto">无合同:</div>
  379. <div @click="jumpChosseHouse('无合同')" style="width: 65%" class="float_left font28rpx color292d98">
  380. {{
  381. form.contractCarrierNoStrName
  382. ? form.contractCarrierNoStrName
  383. : "请选择"
  384. }}
  385. </div>
  386. <img class="height40rpx width40rpx" src="../../../static/mine/youjiantou.png" alt="" />
  387. </div>
  388. <!-- <div
  389. style="height: 45px; width: 500px; background: black"
  390. ></div> -->
  391. </div>
  392. <div class="save_button" @click="save()">保存</div>
  393. </div>
  394. <tki-tree ref="selectDengjiyuan" :multiple="true" :range="range" :selectParent="true" :foldAll="true"
  395. rangeKey="name" idKey="id" @confirm="selectDengjiyuan">
  396. </tki-tree>
  397. <uni-file-picker v-show="false" ref="files" :auto-upload="false" />
  398. <multiple-select v-model="show" @getCompanyAll="getCompanyAll" :data="companyAllList"
  399. :default-selected="defaultSelected" @confirm="confirm" ref="multipleSelect" />
  400. <van-popup :show="treeData3DialogVisible" position="bottom">
  401. <van-cascader :options="treeData3List" :title="null" :field-names="{ text: 'label', value: 'value' }"
  402. @close="onClose" @finish="onFinish" />
  403. </van-popup>
  404. <van-popup :show="treeData7DialogVisible" position="bottom">
  405. <van-cascader :options="trueData7List" :title="null" :field-names="{ text: 'label', value: 'value' }"
  406. @close="onClose" @finish="onFinishTreeData7" />
  407. </van-popup>
  408. </div>
  409. </template>
  410. <script>
  411. const form = {
  412. socialCarrierLeaseStr: "",
  413. socialCarrierLeaseStrName: "",
  414. socialCarrierNoTrue: "",
  415. socialCarrierNoTrueName: "",
  416. socialCarrierStr: "",
  417. socialCarrierName: "",
  418. socialCarrierStrName: "",
  419. settleInType: null,
  420. FRSFZHZM: "../../../static/idzhengmian.png",
  421. FRSFZHFM: "../../../static/idfanmian.png",
  422. YYZZFBZP: "",
  423. investmentManagerString: "",
  424. investmentManager: "",
  425. associationCompanyString: "",
  426. associationCompany: "",
  427. zcsj: "",
  428. createdBy: "",
  429. projectType: 1,
  430. successTime: "",
  431. companyId: null,
  432. xiangguanren: "",
  433. xinxidengji: "",
  434. xiangmudengji: "",
  435. relevantUserId: "",
  436. manageMessengerId: "",
  437. xiangmudengjiIds: "",
  438. genzongbumen: "",
  439. genzongbumenIds: "",
  440. xiangguanbumen: "",
  441. relevantDepId: "",
  442. fangyuanlistIds: "",
  443. zaitilistIds: "",
  444. projectManager: "",
  445. managerPhone: "",
  446. projectName: "",
  447. projectInfo: "",
  448. projectRemark: "",
  449. honorInformation: "",
  450. jyfwAry: [{ name: "" }],
  451. RYXXZPList: [],
  452. RYXXZP: "",
  453. fileList: [],
  454. file: "",
  455. frEmail: "",
  456. zscqgs: "",
  457. fddbr: "",
  458. };
  459. import multipleSelect from "./momo-multipleSelect";
  460. // import zaitiTree from "@/components/zaiti-tree/index.vue";
  461. import vanPopup from "../../../wxcomponents/weapp/dist/popup/index";
  462. import vanCascader from '../../../wxcomponents/weapp/dist/cascader/index';
  463. // import vanField from "../../../wxcomponents/weapp/dist/field/index";
  464. import tkiTree from "../../subPackages/components/tkitree/tkitree.vue";
  465. import tools from "../../subPackages/components/tkitree/tools.js";
  466. import {
  467. companyExamineAdd,
  468. getSelectUserTwo,
  469. getSelectDeptTwo,
  470. getByCodes,
  471. getCompanyAll,
  472. getUserLocalStorageInfo,
  473. findRoomInfoListByIds,
  474. getTreeData3,
  475. getTreeData7,
  476. getAreaByIds
  477. } from "@/js_sdk/http";
  478. export default {
  479. components: {
  480. multipleSelect,
  481. tkiTree,
  482. vanCascader,
  483. vanPopup
  484. },
  485. data() {
  486. return {
  487. jydzAry: [],
  488. trueData7List: [],
  489. jydzAry: [],
  490. treeData3DialogVisible: false,
  491. treeData7DialogVisible: false,
  492. treeData6: [],
  493. treeData4: [],
  494. BASE_URI: this.$constant.BASE_URI,
  495. companyAllList: [],
  496. defaultSelected: [],
  497. show: false,
  498. bizhongIndex: 0,
  499. settleInTypeIndex: 0,
  500. range: [],
  501. zaitiList: [],
  502. imageStyles: {},
  503. listStyles: {},
  504. fileLists: [],
  505. activeNames: [],
  506. StatusBar: 0,
  507. treeData3List: [],
  508. dic_key: [
  509. "PROPERTY_NATURE",
  510. "HOUSE_USAGE",
  511. "CURRENCY",
  512. "MNP_BUILDING_TYPE",
  513. ],
  514. dic_SelectList: {},
  515. search: {
  516. pageSize: 10,
  517. pageNum: 1,
  518. },
  519. zaitikey: "",
  520. form: { ...form },
  521. companyAllList: [],
  522. value: ["0"],
  523. modeIndex: -1,
  524. styleIndex: -1,
  525. current: 0,
  526. mode: "default",
  527. dotsStyles: {},
  528. swiperDotIndex: 0,
  529. };
  530. },
  531. onLoad() {
  532. this.getByCodes();
  533. this.getCompanyAll();
  534. this.getTreeData3()
  535. this.getTreeData7()
  536. },
  537. onShow() {
  538. let that = this;
  539. uni.$on("getuser", function (e) {
  540. console.log(e);
  541. findRoomInfoListByIds(e.result.join(",")).then((data) => {
  542. let roomString = data.map((e) => {
  543. return e.roomString;
  544. });
  545. let ids = data.map((e) => {
  546. return e.id;
  547. });
  548. if (e.housetype == "自有") {
  549. that.form.socialCarrierStr = ids.join(",");
  550. that.form.socialCarrierStrName = roomString.join(",");
  551. }
  552. if (e.housetype == "租赁") {
  553. that.form.socialCarrierLeaseStr = ids.join(",");
  554. that.form.socialCarrierLeaseStrName = roomString.join(",");
  555. console.log(roomString);
  556. }
  557. if (e.housetype == "未确定") {
  558. that.form.socialCarrierNoTrue = ids.join(",");
  559. that.form.socialCarrierNoTrueName = roomString.join(",");
  560. console.log(roomString);
  561. }
  562. if (e.housetype == "无合同") {
  563. that.form.contractCarrierNoStr = ids.join(",");
  564. that.form.contractCarrierNoStrName = roomString.join(",");
  565. console.log(
  566. "that.form.contractCarrierNoStr",
  567. that.form.contractCarrierNoStr
  568. );
  569. console.log(
  570. "that.form.contractCarrierNoStrName",
  571. that.form.contractCarrierNoStrName
  572. );
  573. }
  574. if (e.housetype == "有合同") {
  575. that.form.socialCarrierStr = ids.join(",");
  576. that.form.socialCarrierName = roomString.join(",");
  577. }
  578. that.form = { ...that.form };
  579. this.$forceUpdate();
  580. });
  581. });
  582. },
  583. methods: {
  584. onFinish(e) {
  585. console.log(e.detail.selectedOptions)
  586. console.log(JSON.stringify(e))
  587. this.form.parkInfoId = e.detail.selectedOptions[e.detail.selectedOptions.length - 1].id
  588. this.form.parkInfoName = e.detail.selectedOptions[e.detail.selectedOptions.length - 1].label
  589. this.treeData3DialogVisible = false
  590. },
  591. onClose() {
  592. this.treeData3DialogVisible = false
  593. this.treeData7DialogVisible = false
  594. },
  595. async onFinishTreeData7(e) {
  596. console.log(e)
  597. if (e.detail.selectedOptions.length != 4) {
  598. this.$showToast('该载体下无楼栋或房间')
  599. return
  600. }
  601. const data = await getAreaByIds({
  602. ids: e.detail.selectedOptions[e.detail.selectedOptions.length - 1].value
  603. })
  604. let name = ''
  605. const id = e.detail.selectedOptions[e.detail.selectedOptions.length - 1].value
  606. const areaSize = `;${data}㎡`
  607. for (let i = 0; i < e.detail.selectedOptions.length; i++) {
  608. console.log(e.detail.selectedOptions.length, i + 1)
  609. if (i + 1 != e.detail.selectedOptions.length) {
  610. name += e.detail.selectedOptions[i].label + '/'
  611. } else {
  612. name += e.detail.selectedOptions[i].label
  613. }
  614. }
  615. console.log('this.company.jydzAry', this.jydzAry)
  616. if (this.jydzAry.findIndex((e) => e.id == id) != -1) {
  617. this.$showToast('请勿重复添加相同地址')
  618. } else {
  619. this.jydzAry.push({ name: name + areaSize, id })
  620. this.treeData7DialogVisible = false
  621. }
  622. },
  623. openTreeData3Dialog() {
  624. console.log(123123)
  625. this.treeData3DialogVisible = true
  626. },
  627. addJydzAry() {
  628. this.treeData7DialogVisible = true
  629. },
  630. deletZt(index) {
  631. this.jydzAry.splice(index, 1)
  632. },
  633. openFile(item) {
  634. uni.downloadFile({
  635. url: item.url,
  636. success: function (res) {
  637. var filePath = res.tempFilePath;
  638. console.log("下载文件:", res);
  639. uni.openDocument({
  640. filePath: filePath,
  641. success: function (res) {
  642. console.log("打开文档成功");
  643. },
  644. fail: function (res) {
  645. console.log("uni.openDocument,fail");
  646. console.log(res);
  647. },
  648. complete: function (res) {
  649. console.log("uni.openDocument,complete");
  650. console.log(res);
  651. },
  652. });
  653. },
  654. fail: function (res) {
  655. console.log("uni.downloadFile,fail");
  656. console.log(res);
  657. },
  658. complete: function (res) {
  659. console.log("uni.downloadFile,complete");
  660. console.log(res);
  661. },
  662. });
  663. console.log(item);
  664. },
  665. async getTreeData7() {
  666. let that = this
  667. let datdepartmentList = await getTreeData7()
  668. console.log(datdepartmentList)
  669. that.trueData7List = datdepartmentList.data
  670. },
  671. async getTreeData3() {
  672. let that = this
  673. let datdepartmentList = await getTreeData3()
  674. console.log(datdepartmentList)
  675. that.treeData3List = datdepartmentList.data
  676. },
  677. jumpChosseHouse(e) {
  678. uni.navigateTo({
  679. url: "/pages/subPackages/chosseHouse/chosseHouse?housetype=" + e,
  680. });
  681. },
  682. async openZaitiTree() {
  683. this.$refs.zaitiTree._show();
  684. },
  685. jumpAddZati() {
  686. uni.navigateTo({
  687. url: "/pages/subPackages/addZaiti/index",
  688. });
  689. },
  690. addJyfw() {
  691. console.log(this.form.jyfwAry);
  692. this.form.jyfwAry = [...this.form.jyfwAry, { name: "" }];
  693. },
  694. deleteJyfw(i) {
  695. this.form.jyfwAry.splice(i, 1);
  696. },
  697. async selectZaiti(e) {
  698. console.log(e);
  699. let ids = [];
  700. let names = [];
  701. for (let i = 0; i < e.length; i++) {
  702. ids.push(e[i].id);
  703. names.push(e[i].label);
  704. }
  705. this.form.socialCarrierStr = ids.join(",");
  706. this.form.socialCarrierName = names.join(",");
  707. },
  708. selectZaiti4(e) {
  709. console.log(e);
  710. let ids = [];
  711. let names = [];
  712. for (let i = 0; i < e.length; i++) {
  713. ids.push(e[i].id);
  714. names.push(e[i].label);
  715. }
  716. this.form[this.zaitiKey] = ids.join(",");
  717. this.form[this.zaitiName] = names.join(",");
  718. },
  719. selectZaiti1(e) {
  720. console.log(e);
  721. let ids = [];
  722. let names = [];
  723. for (let i = 0; i < e.length; i++) {
  724. if (e[i].id) {
  725. ids.push(e[i].id);
  726. }
  727. names.push(e[i].label);
  728. }
  729. this.form[this.zaitiKey] = ids.join(",");
  730. this.form[this.zaitiName] = names.join(",");
  731. },
  732. chooseFRSFZHFM() {
  733. let that = this;
  734. if (that.form.FRSFZHFM == "../../../static/idfanmian.png") {
  735. uni.chooseImage({
  736. count: 1, //默认9
  737. sizeType: "original", //可以指定是原图还是压缩图,默认二者都有
  738. success: function (res) {
  739. uni.uploadFile({
  740. url: that.$constant.BASE_URI + "/wx/fileController/upload",
  741. filePath: res.tempFilePaths[0],
  742. name: "file",
  743. formData: { user: "test" },
  744. success(res) {
  745. // 上传完成需要更新 fileList
  746. let data = JSON.parse(res.data);
  747. that.form.FRSFZHFM = data.data[0];
  748. },
  749. fail(res) { },
  750. });
  751. },
  752. });
  753. } else {
  754. uni.previewImage({
  755. urls: [
  756. this.BASE_URI + "/FileController/download/" + that.form.FRSFZHFM,
  757. ],
  758. longPressActions: {
  759. itemList: ["发送给朋友", "保存图片", "收藏"],
  760. success: function (data) { },
  761. fail: function (err) { },
  762. },
  763. });
  764. }
  765. },
  766. spliceFRSFZHZM() {
  767. this.form.FRSFZHZM = "../../../static/idzhengmian.png";
  768. },
  769. spliceFRSFZHFM() {
  770. this.form.FRSFZHFM = "../../../static/idfanmian.png";
  771. },
  772. chooseFRSFZHZM() {
  773. let that = this;
  774. if (that.form.FRSFZHZM == "../../../static/idzhengmian.png") {
  775. uni.chooseImage({
  776. count: 1, //默认9
  777. sizeType: "original", //可以指定是原图还是压缩图,默认二者都有
  778. success: function (res) {
  779. uni.uploadFile({
  780. url: that.$constant.BASE_URI + "/wx/fileController/upload",
  781. filePath: res.tempFilePaths[0],
  782. name: "file",
  783. formData: { user: "test" },
  784. success(res) {
  785. // 上传完成需要更新 fileList
  786. let data = JSON.parse(res.data);
  787. that.form.FRSFZHZM = data.data[0];
  788. },
  789. fail(res) { },
  790. });
  791. },
  792. });
  793. } else {
  794. uni.previewImage({
  795. urls: [
  796. this.BASE_URI + "/FileController/download/" + that.form.FRSFZHZM,
  797. ],
  798. longPressActions: {
  799. itemList: ["发送给朋友", "保存图片", "收藏"],
  800. success: function (data) { },
  801. fail: function (err) { },
  802. },
  803. });
  804. }
  805. },
  806. deleteRYXXZP(event) {
  807. this.form.RYXXZPList.splice(event.detail.index, 1);
  808. },
  809. deleteFileList(event) {
  810. this.form.fileList.splice(event.detail.index, 1);
  811. },
  812. uploadFileList(event) {
  813. let that = this;
  814. that.form.fileList = !that.form.fileList ? [] : that.form.fileList;
  815. const { file } = event.detail;
  816. uni.uploadFile({
  817. url: that.$constant.BASE_URI + "/wx/fileController/upload2",
  818. filePath: file.url,
  819. name: "file",
  820. formData: { user: "test" },
  821. success(res) {
  822. // 上传完成需要更新 fileList
  823. let data = JSON.parse(res.data);
  824. that.form.fileList.push({
  825. name: JSON.parse(data.data[0]).name,
  826. size: JSON.parse(data.data[0]).size,
  827. imgUrl: "/FileController/download/" + data.data[1],
  828. id: data.data[1],
  829. url:
  830. that.$constant.BASE_URI +
  831. "/FileController/download/" +
  832. data.data[1],
  833. });
  834. },
  835. fail(res) { },
  836. });
  837. },
  838. uploadRYXXZP(event) {
  839. let that = this;
  840. const { file } = event.detail;
  841. uni.uploadFile({
  842. url: that.$constant.BASE_URI + "/wx/fileController/upload",
  843. filePath: file.url,
  844. name: "file",
  845. formData: { user: "test" },
  846. success(res) {
  847. // 上传完成需要更新 fileList
  848. let data = JSON.parse(res.data);
  849. that.form.RYXXZPList.push({
  850. imgUrl: "/FileController/download/" + data.data[0],
  851. id: data.data[0],
  852. url:
  853. that.$constant.BASE_URI +
  854. "/FileController/download/" +
  855. data.data[0],
  856. isImage: true,
  857. });
  858. },
  859. fail(res) { },
  860. });
  861. },
  862. spliceYYZZFBZP() {
  863. this.form.YYZZFBZP = null;
  864. },
  865. chooseYYZZFBZP() {
  866. let that = this;
  867. if (!that.form.YYZZFBZP) {
  868. uni.chooseImage({
  869. count: 1, //默认9
  870. sizeType: "original", //可以指定是原图还是压缩图,默认二者都有
  871. success: function (res) {
  872. uni.uploadFile({
  873. url: that.$constant.BASE_URI + "/wx/fileController/upload",
  874. filePath: res.tempFilePaths[0],
  875. name: "file",
  876. formData: { user: "test" },
  877. success(res) {
  878. // 上传完成需要更新 fileList
  879. let data = JSON.parse(res.data);
  880. that.form.YYZZFBZP = data.data[0];
  881. },
  882. fail(res) { },
  883. });
  884. },
  885. });
  886. } else {
  887. uni.previewImage({
  888. urls: [
  889. this.BASE_URI + "/FileController/download/" + that.form.YYZZFBZP,
  890. ],
  891. longPressActions: {
  892. itemList: ["发送给朋友", "保存图片", "收藏"],
  893. success: function (data) { },
  894. fail: function (err) { },
  895. },
  896. });
  897. }
  898. },
  899. confirm(e) {
  900. var associationCompanyString = [];
  901. var associationCompany = [];
  902. for (var p in e) {
  903. associationCompanyString.push(e[p].label);
  904. associationCompany.push(e[p].value);
  905. }
  906. this.form.associationCompanyString = associationCompanyString.join(",");
  907. this.form.associationCompany = associationCompany.join(",");
  908. },
  909. chosseAboutCompany() {
  910. this.show = true;
  911. this.$refs.multipleSelect.getAllList(this.companyAllList);
  912. },
  913. async getCompanyAll(e) {
  914. let name = e ? e : "";
  915. if (!e || e.length == 0) return;
  916. let companyAllList = await getCompanyAll(name);
  917. this.companyAllList = companyAllList.map((e) => {
  918. return {
  919. label: e.qymc,
  920. value: e.id,
  921. };
  922. });
  923. this.$refs.multipleSelect.getAllList(this.companyAllList);
  924. },
  925. async getByCodes() {
  926. let data = await getByCodes(JSON.stringify(this.dic_key));
  927. this.dic_SelectList = this.$common.handleDicList(data);
  928. this.form.settleInType = this.dic_SelectList.MNP_BUILDING_TYPE[0].value;
  929. this.form.currency = this.dic_SelectList.CURRENCY[0].value;
  930. this.bizhongIndex = 0;
  931. },
  932. getjieduan(e) { },
  933. getZcsj: function (e) {
  934. this.form.zcsj = e.detail.value;
  935. },
  936. async addyixiang() {
  937. let data = await addyixiang(this.form);
  938. if (data.code == 200) {
  939. uni.navigateBack({});
  940. }
  941. },
  942. getQymc(index) {
  943. let that = this;
  944. that.form.companyId = that.companyList[index].id;
  945. return that.companyList[index].qymc;
  946. },
  947. getBizhongtype(e) {
  948. let that = this;
  949. that.form.currency = that.dic_SelectList.CURRENCY[e.detail.value].value;
  950. that.bizhongIndex = e.detail.value;
  951. },
  952. getSettleInType(e) {
  953. let that = this;
  954. that.form.settleInType =
  955. that.dic_SelectList.MNP_BUILDING_TYPE[e.detail.value].value;
  956. that.settleInTypeIndex = e.detail.value;
  957. },
  958. async findCompanyList() {
  959. let data = await findCompanyList();
  960. this.companyList = data;
  961. this.companyList[0].id;
  962. },
  963. zaitiListSplice(index) {
  964. this.zaitiList.splice(index, 1);
  965. },
  966. // /wx/SaleController/findRoomInfoListByIds
  967. async findRoomInfoListByIds() {
  968. let data = await findRoomInfoListByIds(ids);
  969. return data;
  970. },
  971. xiangmudengji(e) {
  972. var names = [];
  973. var ids = [];
  974. for (var p in e) {
  975. if (e[p].type == "u") {
  976. names.push(e[p].name);
  977. ids.push(e[p].id);
  978. }
  979. }
  980. this.form.xiangmudengji = names.join(",");
  981. this.form.xiangmudengjiIds = ids.join(",");
  982. },
  983. selectGenzongDep(e) {
  984. var names = [];
  985. var ids = [];
  986. for (var p in e) {
  987. names.push(e[p].name);
  988. ids.push(e[p].id);
  989. }
  990. this.form.genzongbumen = names.join(",");
  991. this.form.genzongbumenIds = ids.join(",");
  992. },
  993. selectXiangguanDep(e) {
  994. var names = [];
  995. var ids = [];
  996. for (var p in e) {
  997. names.push(e[p].name);
  998. ids.push(e[p].id);
  999. }
  1000. this.form.xiangguanbumen = names.join(",");
  1001. this.form.relevantDepId = ids.join(",");
  1002. },
  1003. selectDengjiyuan(e) {
  1004. var names = [];
  1005. var ids = [];
  1006. for (var p in e) {
  1007. if (e[p].type == "u") {
  1008. names.push(e[p].name);
  1009. ids.push(e[p].id);
  1010. }
  1011. }
  1012. this.form.investmentManagerString = names.join(",");
  1013. this.form.investmentManager = ids.join(",");
  1014. },
  1015. userSelectorConfirm(e) {
  1016. var names = [];
  1017. var ids = [];
  1018. for (var p in e) {
  1019. if (e[p].type == "u") {
  1020. names.push(e[p].name);
  1021. ids.push(e[p].id);
  1022. }
  1023. }
  1024. this.form.xiangguanren = names.join(",");
  1025. this.form.relevantUserId = ids.join(",");
  1026. },
  1027. // 取消回调事件
  1028. treeCancel(e) { },
  1029. // openZaitiTree
  1030. async getSelectUserTwo(key) {
  1031. let that = this;
  1032. let departmentList = await getSelectUserTwo("");
  1033. that.range = tools.transData(
  1034. departmentList.data,
  1035. "id",
  1036. "parentid",
  1037. "children"
  1038. );
  1039. that.$refs[key]._show();
  1040. },
  1041. async getSelectDeptTwo(key) {
  1042. let that = this;
  1043. let departmentList = await getSelectDeptTwo("");
  1044. that.range = tools.transData(
  1045. departmentList.data,
  1046. "id",
  1047. "parentid",
  1048. "children"
  1049. );
  1050. that.$refs[key]._show();
  1051. },
  1052. binddata() { },
  1053. submit() { },
  1054. checkFormValue() {
  1055. let that = this;
  1056. // if (that.form.zcsj == "") {
  1057. // that.$showToast("请选择注册时间");
  1058. // return false;
  1059. // }
  1060. if (that.form.fddbr == "" || !that.form.fddbr) {
  1061. that.$showToast("请输入法人电话");
  1062. return false;
  1063. }
  1064. if (that.form.fddbr == "" || !that.form.fddbr) {
  1065. that.$showToast("请输入法定代表人");
  1066. return false;
  1067. }
  1068. if (that.form.jyfwAry.length == 0 || !that.form.fddbr) {
  1069. that.$showToast("请输入主营业务");
  1070. return false;
  1071. }
  1072. if (that.form.qymc == "" || !that.form.qymc) {
  1073. that.$showToast("请输入企业名称");
  1074. return false;
  1075. }
  1076. // if (that.form.shxydm == "" || !that.form.shxydm) {
  1077. // that.$showToast("请输入社会统一信用代码");
  1078. // return false;
  1079. // }
  1080. if (that.form.cwfzrdh == "" || !that.form.cwfzrdh) {
  1081. that.$showToast("请输入负责人电话");
  1082. return false;
  1083. }
  1084. if (that.form.jydzValue.length == 0 || !that.form.jydzValue) {
  1085. that.$showToast("请输入经营地址");
  1086. return false;
  1087. }
  1088. if(that.form.parkInfoName.length == 0 || !that.form.parkInfoName) {
  1089. that.$showToast("请选择所属园区");
  1090. return false;
  1091. }
  1092. if(that.form.areaSize.length == 0 || !that.form.areaSize) {
  1093. that.$showToast("请选择所属园区");
  1094. return false;
  1095. }
  1096. return true;
  1097. },
  1098. async save() {
  1099. let that = this;
  1100. if (!this.checkFormValue()) return; //判断一下有没有没填的字段
  1101. let RYXXZP = [];
  1102. let fileList = [];
  1103. let jyfwAry = [];
  1104. if (that.form.RYXXZPList.length > 0) {
  1105. RYXXZP = that.form.RYXXZPList.map((e) => e.id);
  1106. }
  1107. if (that.form.fileList.length > 0) {
  1108. fileList = that.form.fileList.map((e) => e.id);
  1109. }
  1110. if (that.form.jyfwAry.length > 0) {
  1111. jyfwAry = that.form.jyfwAry.map((e) => e.name);
  1112. }
  1113. that.form.ryxxzp = RYXXZP.toString();
  1114. that.form.file = fileList.toString();
  1115. let zm = that.form.FRSFZHZM == form.FRSFZHZM ? "" : that.form.FRSFZHZM;
  1116. let fm = that.form.FRSFZHFM == form.FRSFZHFM ? "" : that.form.FRSFZHFM;
  1117. that.form.frsfzh = zm + "," + fm;
  1118. that.form.jyfw = jyfwAry.join(",");
  1119. that.form.yyzzfbzp = that.form.YYZZFBZP;
  1120. that.form.czr = getUserLocalStorageInfo().user.truename;
  1121. that.form.czrid = getUserLocalStorageInfo().user.id;
  1122. that.form.jydz = that.jydzAry.map((e) => e.id).join(',')
  1123. let data = await companyExamineAdd(that.form);
  1124. if (data.code == 200) {
  1125. that.$showToast("新增成功");
  1126. uni.navigateBack({});
  1127. } else {
  1128. that.$showToast(data.msg);
  1129. }
  1130. },
  1131. chossseFile() {
  1132. this.$refs.files.upload();
  1133. },
  1134. onChange(event) {
  1135. this.activeNames = event.detail;
  1136. },
  1137. },
  1138. };
  1139. </script>
  1140. <style scoped lang="scss" >
  1141. .jydzList {
  1142. display: flex;
  1143. justify-content: space-between;
  1144. margin-top: 10rpx;
  1145. margin-bottom: 10rpx;
  1146. width: 100%;
  1147. .jydzList-row {
  1148. width: 80%;
  1149. }
  1150. }
  1151. .save_button {
  1152. width: calc(100% - 64rpx);
  1153. margin: 64rpx 32rpx 0 32rpx;
  1154. background: #1d18bc;
  1155. border-radius: 50rpx;
  1156. height: 88rpx;
  1157. color: white;
  1158. text-align: center;
  1159. line-height: 88rpx;
  1160. }
  1161. .form {
  1162. width: calc(100% - 64rpx);
  1163. background: #ffffff;
  1164. padding: 32rpx;
  1165. margin-top: 64rpx;
  1166. .label {
  1167. height: 53rpx;
  1168. line-height: 53rpx;
  1169. }
  1170. }
  1171. .form_row {
  1172. height: 40rpx;
  1173. font-weight: 400;
  1174. font-size: 24rpx;
  1175. }
  1176. .zaiti_list {
  1177. width: 100%;
  1178. height: 50rpx;
  1179. line-height: 50rpx;
  1180. }
  1181. .idclass {
  1182. width: 147rpx;
  1183. height: 100rpx;
  1184. }
  1185. .dengjibutton {
  1186. margin-top: 24rpx;
  1187. margin-left: 60rpx;
  1188. margin-right: 60rpx;
  1189. width: calc(100% - 120rpx);
  1190. height: 60rpx;
  1191. text-align: center;
  1192. background: #1d18bc;
  1193. color: white;
  1194. line-height: 60rpx;
  1195. }
  1196. .addcompany {
  1197. margin-bottom: 200rpx;
  1198. }
  1199. .addcompany {
  1200. .detailstitle {
  1201. height: 42rpx;
  1202. font-size: 30rpx;
  1203. font-weight: 500;
  1204. color: #333333;
  1205. padding-bottom: 16rpx;
  1206. }
  1207. .typestitle {
  1208. height: 42rpx;
  1209. font-size: 24rpx;
  1210. font-weight: 500;
  1211. padding-bottom: 16rpx;
  1212. margin-bottom: 16rpx;
  1213. }
  1214. }
  1215. </style>
  1216. <style lang="scss">
  1217. .fujian {
  1218. .van-uploader__preview {
  1219. display: none;
  1220. }
  1221. }
  1222. .file {
  1223. display: flex;
  1224. width: 100%;
  1225. flex: 1;
  1226. font-size: 14px;
  1227. color: #666;
  1228. /* margin-right: 25px; */
  1229. word-break: break-all;
  1230. word-wrap: break-word;
  1231. margin-bottom: 15rpx;
  1232. align-items: center;
  1233. justify-content: space-between;
  1234. }
  1235. .filename {
  1236. width: 80%;
  1237. overflow: hidden;
  1238. overflow: hidden;
  1239. white-space: nowrap;
  1240. text-overflow: ellipsis;
  1241. }
  1242. ::v-deep .is-open+.uni-collapse-item__wrap {
  1243. height: auto !important;
  1244. }
  1245. ::v-deep .uni-collapse-item__wrap-content {
  1246. height: auto !important;
  1247. }
  1248. .pageconfig {
  1249. background: #ffffff;
  1250. padding: 32rpx;
  1251. }
  1252. .input_title {
  1253. width: 40%;
  1254. font-size: 28rpx;
  1255. height: 40rpx;
  1256. line-height: 40rpx;
  1257. color: #333333;
  1258. }
  1259. .input_value {
  1260. width: 60%;
  1261. font-size: 28rpx;
  1262. height: 40rpx;
  1263. line-height: 40rpx;
  1264. color: #777777;
  1265. }
  1266. .uni-collapse-item__title-box {
  1267. padding: 0 !important;
  1268. }
  1269. .uni-collapse-item__title-text {
  1270. color: #1d18bc !important;
  1271. font-size: 32rpx !important;
  1272. }
  1273. </style>
  1274. <style lang="scss">
  1275. .example-body {
  1276. padding: 10px;
  1277. padding-top: 0;
  1278. }
  1279. .custom-image-box {
  1280. /* #ifndef APP-NVUE */
  1281. display: flex;
  1282. /* #endif */
  1283. flex-direction: row;
  1284. justify-content: space-between;
  1285. align-items: center;
  1286. }
  1287. .text {
  1288. font-size: 14px;
  1289. color: #333;
  1290. }
  1291. .uni-file-picker__item {
  1292. display: none;
  1293. }
  1294. .uploadbutton {
  1295. width: 162rpx;
  1296. height: 44rpx;
  1297. }
  1298. </style>