index.vue 50 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678
  1. <template>
  2. <div class="app-conta">
  3. <el-row :gutter="10" class="mb8 roiyy">
  4. <el-col :span="1.5" v-if="setrd % 2 == 1">
  5. <el-button
  6. type="primary"
  7. @click="submitCtion"
  8. v-hasPermi="['bmProject:projec:examine']"
  9. >提交</el-button
  10. >
  11. </el-col>
  12. <el-col :span="1.5" v-if="setrd % 2 == 1">
  13. <el-button
  14. type="primary"
  15. @click="emporary"
  16. v-hasPermi="['projectInfo:info:add']"
  17. >暂存</el-button
  18. >
  19. </el-col>
  20. <el-col :span="1.5">
  21. <el-button
  22. type="primary"
  23. @click="cancelqiu"
  24. v-hasPermi="['system:config:edit']"
  25. >取消</el-button
  26. >
  27. </el-col>
  28. <el-col :span="1.5" :offset="18" v-if="setrd % 2 == 0">
  29. <el-button
  30. type="danger"
  31. @click="applyBtn"
  32. v-hasPermi="['bmProject:project:pass']"
  33. >审核</el-button
  34. >
  35. <el-button
  36. type="danger"
  37. @click="backBtn"
  38. v-hasPermi="['bmProject:project:reject']"
  39. >驳回</el-button
  40. >
  41. </el-col>
  42. </el-row>
  43. <!-- 内容的显示隐藏 -->
  44. <div class="mation">
  45. <div class="nvestor">
  46. <p>投资方 <i>*</i></p>
  47. </div>
  48. <p class="enterprise">企业</p>
  49. <p class="enterprise_tw" @click="handleAdd">
  50. <i class="el-icon-circle-plus-outline"></i>添加企业
  51. </p>
  52. <el-table v-loading="loading" :data="configList">
  53. <!-- <el-table-column type="selection" width="55" align="center" /> -->
  54. <el-table-column label="企业名称" align="center" prop="companyName" />
  55. <el-table-column
  56. label="企业所在地"
  57. align="center"
  58. prop="companyAddress"
  59. :show-overflow-tooltip="true"
  60. />
  61. <el-table-column
  62. label="法人代表姓名"
  63. align="center"
  64. prop="companyLegal"
  65. :show-overflow-tooltip="true"
  66. />
  67. <el-table-column
  68. label="统一社会信用代码"
  69. align="center"
  70. prop="companyCode"
  71. />
  72. <el-table-column label="联系方式" align="center" prop="phone" />
  73. <!-- <el-table-column label="操作" align="center" prop="remark" :show-overflow-tooltip="true" /> -->
  74. <el-table-column label="操作" align="center">
  75. <!-- class-name="small-padding fixed-width" -->
  76. <template slot-scope="scope">
  77. <el-button
  78. size="mini"
  79. type="warning"
  80. @click="handleUpdate(scope.row)"
  81. v-hasPermi="['system:config:edit']"
  82. >修改</el-button
  83. >
  84. <el-button
  85. size="mini"
  86. type="danger"
  87. @click="handleDelete(scope.row)"
  88. v-hasPermi="['system:config:remove']"
  89. >删除</el-button
  90. >
  91. </template>
  92. </el-table-column>
  93. </el-table>
  94. <p class="enterprise">自然人</p>
  95. <p class="enterprise_tw" @click="handleAddtwo">
  96. <i class="el-icon-circle-plus-outline"></i>添加自然人
  97. </p>
  98. <el-table v-loading="loading" :data="configListtwoL">
  99. <!-- <el-table-column type="selection" width="55" align="center" /> -->
  100. <el-table-column label="姓名" align="center" prop="name" />
  101. <el-table-column
  102. label="自然人所在地"
  103. align="center"
  104. prop="address"
  105. :show-overflow-tooltip="true"
  106. />
  107. <el-table-column
  108. label="身份证号码"
  109. align="center"
  110. prop="idcode"
  111. :show-overflow-tooltip="true"
  112. />
  113. <el-table-column label="联系方式" align="center" prop="phone" />
  114. <!-- <el-table-column label="联系方式" align="center" prop="configType" :formatter="typeFormat" /> -->
  115. <!-- <el-table-column label="操作" align="center" prop="remark" :show-overflow-tooltip="true" /> -->
  116. <el-table-column label="操作" align="center">
  117. <!-- class-name="small-padding fixed-width" -->
  118. <template slot-scope="scope">
  119. <el-button
  120. size="mini"
  121. type="warning"
  122. @click="handleUpdatetwo(scope.row)"
  123. v-hasPermi="['system:config:edit']"
  124. >修改</el-button
  125. >
  126. <el-button
  127. size="mini"
  128. type="danger"
  129. @click="handleDeletetwo(scope.row)"
  130. v-hasPermi="['system:config:remove']"
  131. >删除</el-button
  132. >
  133. </template>
  134. </el-table-column>
  135. </el-table>
  136. <el-form
  137. :model="queryParams"
  138. :rules="queryForm"
  139. ref="queryParams"
  140. :inline="true"
  141. v-show="showSearch"
  142. label-width="115px"
  143. label-position="center"
  144. class="manager_form"
  145. >
  146. <!-- <el-form ref="queryForm" :model="queryParams" :rules="queryForm" label-width="115px" label-position="center" class="manager_form"> -->
  147. <el-form-item label="投资方联系人" prop="contactor">
  148. <el-input
  149. v-model="queryParams.contactor"
  150. placeholder="请输入投资方联系人"
  151. clearable
  152. :disabled = "disfal"
  153. size="small"
  154. style="width: 223px"
  155. />
  156. </el-form-item>
  157. <el-form-item label="投资方联系方式:" prop="phone" class="weiru">
  158. <el-input
  159. v-model.number="queryParams.phone"
  160. placeholder="请输入联系方式"
  161. :disabled = "disfal"
  162. clearable
  163. size="small"
  164. style="width: 233px"
  165. />
  166. </el-form-item>
  167. <div class="nvestor">
  168. <p>引荐方 <i>*</i></p>
  169. </div>
  170. <!-- <div v-if="queryParams.referralList == null" > -->
  171. <el-form-item label="引荐单位:" prop="sysDeptId" style="width: 24%;">
  172. <el-cascader
  173. v-model="queryParams.referralList[0].sysDeptId"
  174. :show-all-levels="false"
  175. :disabled = "disfal"
  176. :options="typeOptionstwo"
  177. @change="handleChange"
  178. style="width: 128px"
  179. ></el-cascader>
  180. </el-form-item>
  181. <el-form-item label="投资分配额:" style="width: 18%;" class="fenpe" prop="investmentAllcocation">
  182. <el-input
  183. v-model="queryParams.referralList[0].investmentAllcocation"
  184. placeholder="数"
  185. clearable
  186. :disabled = "disfal"
  187. size="small"
  188. style="width:66px; padding: 0;"
  189. @keyup.enter.native="handleQuery"
  190. />
  191. <span class="souu">%</span>
  192. </el-form-item>
  193. <el-form-item label="引荐方联系人:" prop="referral" style="width: 21%;">
  194. <el-input
  195. v-model="queryParams.referralList[0].referral"
  196. placeholder="请输入"
  197. clearable
  198. :disabled = "disfal"
  199. size="small"
  200. style="width: 98px"
  201. @keyup.enter.native="handleQuery"
  202. />
  203. </el-form-item>
  204. <el-form-item label="引荐方联系方式:" prop="referralPhone" style="width: 33%;">
  205. <el-input
  206. v-model="queryParams.referralList[0].referralPhone"
  207. placeholder="请输入联系方式"
  208. clearable
  209. :disabled = "disfal"
  210. size="small"
  211. @keyup.enter.native="handleQuery"
  212. />
  213. </el-form-item>
  214. <el-form-item label="引荐单位:" style="width: 24%;" prop="sysDeptId">
  215. <el-cascader
  216. :show-all-levels = "false"
  217. v-model="queryParams.referralList[1].sysDeptId"
  218. :options="typeOptionstwo"
  219. style="width: 128px"
  220. :disabled = "disfal"
  221. @change="handleChangete"></el-cascader>
  222. </el-form-item>
  223. <el-form-item label="投资分配额:" style="width: 18%;" class="fenpe" prop="investmentAllcocation">
  224. <el-input
  225. v-model="queryParams.referralList[1].investmentAllcocation"
  226. placeholder="数"
  227. :disabled = "disfal"
  228. clearable
  229. size="small"
  230. style="width:66px;padding: 0;"
  231. @keyup.enter.native="handleQuery"
  232. />
  233. <span class="souu">%</span>
  234. </el-form-item>
  235. <el-form-item label="引荐方联系人:" prop="referral" style="width: 21%;">
  236. <el-input
  237. v-model="queryParams.referralList[1].referral"
  238. placeholder="请输入"
  239. :disabled = "disfal"
  240. clearable
  241. size="small"
  242. style="width: 98px"
  243. @keyup.enter.native="handleQuery"
  244. />
  245. </el-form-item>
  246. <el-form-item label="引荐方联系方式:" prop="referralPhone" style="width: 33%;">
  247. <el-input
  248. v-model="queryParams.referralList[1].referralPhone"
  249. placeholder="请输入联系方式"
  250. clearable
  251. :disabled = "disfal"
  252. size="small"
  253. @keyup.enter.native="handleQuery"
  254. />
  255. </el-form-item>
  256. <!-- </div> -->
  257. <div class="nvestor">
  258. <p>项目基本信息 <i>*</i></p>
  259. </div>
  260. <el-form-item label="预计投资额" prop="needAmt">
  261. <el-input
  262. v-model.number="queryParams.needAmt"
  263. placeholder="请输入预计投资额"
  264. clearable
  265. :disabled = "disfal"
  266. size="small"
  267. style="width: 223px"
  268. @keyup.enter.native="handleQuery"
  269. />
  270. </el-form-item>
  271. <el-form-item
  272. label="其中 固定资产投资:"
  273. prop="fixedAssets"
  274. class="manager_lab"
  275. >
  276. <el-input
  277. v-model.number="queryParams.fixedAssets"
  278. placeholder="请输入"
  279. clearable
  280. :disabled = "disfal"
  281. size="small"
  282. style="width: 223px"
  283. @keyup.enter.native="handleQuery"
  284. />
  285. </el-form-item>
  286. <div class="lage_div">
  287. <span>项目主营产品</span>
  288. <!-- </div> -->
  289. <el-form-item label="产品名称:" prop="productName" class="maneg_lar">
  290. <el-input
  291. v-model="queryParams.productName"
  292. placeholder="请输入产品名称"
  293. clearable
  294. :disabled = "disfal"
  295. size="small"
  296. style="width: 470px"
  297. @keyup.enter.native="handleQuery"
  298. />
  299. </el-form-item>
  300. </div>
  301. <el-form-item
  302. label="设计产能:"
  303. prop="productQty"
  304. class="manager_labtwo"
  305. >
  306. <el-input
  307. v-model="queryParams.productQty"
  308. placeholder="请输入设计产能"
  309. clearable
  310. :disabled = "disfal"
  311. size="small"
  312. style="width: 470px"
  313. @keyup.enter.native="handleQuery"
  314. />
  315. </el-form-item>
  316. <div class="lage_div">
  317. <span>项目预计收益</span>
  318. <el-form-item label="预计产值:" prop="productPrice" class="maneg_lar">
  319. <el-input
  320. v-model.number="queryParams.productPrice"
  321. placeholder="请输入预计产值"
  322. clearable
  323. :disabled = "disfal"
  324. size="small"
  325. style="width: 470px"
  326. @keyup.enter.native="handleQuery"
  327. />
  328. </el-form-item>
  329. </div>
  330. <el-form-item
  331. label="预计税收:"
  332. prop="productTax"
  333. class="manager_labtwo"
  334. >
  335. <el-input
  336. v-model.number="queryParams.productTax"
  337. placeholder="请输入预计税收"
  338. clearable
  339. :disabled = "disfal"
  340. size="small"
  341. style="width: 470px"
  342. @keyup.enter.native="handleQuery"
  343. />
  344. </el-form-item>
  345. <el-form-item
  346. label="预计用工:"
  347. prop="productEmp"
  348. class="manager_labtwo"
  349. >
  350. <el-input
  351. v-model="queryParams.productEmp"
  352. placeholder="请输入预计用工"
  353. size="small"
  354. :disabled = "disfal"
  355. style="width: 470px"
  356. />
  357. </el-form-item>
  358. <div class="nvestor">
  359. <p>项目基本需求</p>
  360. </div>
  361. <el-form-item
  362. label="项目计划用地:"
  363. prop="plannedLand"
  364. class="manager_labthre"
  365. >
  366. <el-input
  367. v-model="queryParams.plannedLand"
  368. placeholder="请输入"
  369. clearable
  370. size="small"
  371. :disabled = "disfal"
  372. style="width: 237px"
  373. @keyup.enter.native="handleQuery"
  374. />
  375. <span class="souu">亩</span>
  376. </el-form-item>
  377. <el-form-item label="其中 独立供地:" prop="independentLand">
  378. <el-input
  379. v-model="queryParams.independentLand"
  380. placeholder="请输入"
  381. clearable
  382. :disabled = "disfal"
  383. size="small"
  384. style="width: 237px"
  385. @keyup.enter.native="handleQuery"
  386. />
  387. <span class="souu">亩</span>
  388. </el-form-item>
  389. <el-form-item label="流转土地:" prop="circulationLan" class="mage_ter">
  390. <el-input
  391. v-model="queryParams.circulationLan"
  392. placeholder="请输入"
  393. clearable
  394. :disabled = "disfal"
  395. size="small"
  396. style="width: 237px"
  397. @keyup.enter.native="handleQuery"
  398. />
  399. <span class="souu">亩</span>
  400. </el-form-item>
  401. <el-form-item
  402. label="项目计划租赁用房:"
  403. prop="needRoom"
  404. class="manager_labthre"
  405. >
  406. <el-input
  407. v-model="queryParams.needRoom"
  408. placeholder="请输入"
  409. clearable
  410. :disabled = "disfal"
  411. size="small"
  412. style="width: 237px"
  413. @keyup.enter.native="handleQuery"
  414. />
  415. <span class="souu">平方米</span>
  416. </el-form-item>
  417. <el-form-item label="其中 厂房:" prop="needFactoryRoom">
  418. <el-input
  419. v-model="queryParams.needFactoryRoom"
  420. placeholder="请输入"
  421. :disabled = "disfal"
  422. clearable
  423. size="small"
  424. style="width: 237px"
  425. @keyup.enter.native="handleQuery"
  426. />
  427. <span class="souu">平方米</span>
  428. </el-form-item>
  429. <el-form-item label="办公生活用房:" prop="needBusRoom" class="mage_ter">
  430. <el-input
  431. v-model="queryParams.needBusRoom"
  432. placeholder="请输入"
  433. :disabled = "disfal"
  434. clearable
  435. size="small"
  436. style="width: 237px"
  437. @keyup.enter.native="handleQuery"
  438. />
  439. <span class="souu">平方米</span>
  440. </el-form-item>
  441. <el-form-item label="其他需求:" prop="other" class="maget_ty">
  442. <el-input
  443. v-model="queryParams.other"
  444. placeholder="请输入项目概况"
  445. :disabled = "disfal"
  446. clearable
  447. type="textarea"
  448. size="small"
  449. style="width: 480px; height: 78px"
  450. class="ieuyr"
  451. @keyup.enter.native="handleQuery"
  452. />
  453. </el-form-item>
  454. <el-form-item label="拟落户地点:" prop="address">
  455. <el-input
  456. v-model="queryParams.address"
  457. placeholder="请输入拟落户地点"
  458. :disabled = "disfal"
  459. size="small"
  460. style="width: 188px"
  461. />
  462. </el-form-item>
  463. <el-form-item
  464. label="是否签订框架协议:"
  465. prop="isFrameorder"
  466. class="maget_tyty"
  467. >
  468. <el-select
  469. v-model="queryParams.isFrameorder"
  470. placeholder="请选择是否签订框架协议"
  471. clearable
  472. size="small"
  473. :disabled = "disfal"
  474. style="width: 298px"
  475. >
  476. <el-option
  477. v-for="dict in typeOptions"
  478. :key="dict.dictValue"
  479. :label="dict.dictLabel"
  480. :value="dict.dictValue"
  481. />
  482. </el-select>
  483. </el-form-item>
  484. <el-form-item label="添加附件:" prop="configType" class="maget_ty">
  485. <div class="forieu" style="width: 618px">
  486. <div class="bure burert">
  487. <el-upload
  488. :action="defaultSettings.urls+process+'/common/upload'"
  489. :auto-upload="false"
  490. ref="upload"
  491. :before-upload="beforeAvatarUpload"
  492. list-type="picture-card"
  493. :on-preview="handlePictureCardPreview"
  494. :on-remove="handleRemove"
  495. :on-success="handleSuccntry"
  496. :multiple="true"
  497. :file-list="fileList"
  498. :disabled = "disfal"
  499. >
  500. <!-- <i slot="default" class="el-icon-plus"></i> -->
  501. <div class="ijeut">
  502. <el-button plain slot="trigger" size="small" type="primary"
  503. >选择图片</el-button
  504. >
  505. <!-- margin-top: 15%; transform: translateY(-50%); -->
  506. </div>
  507. <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
  508. </el-upload>
  509. <div class="ijeut">
  510. <el-button
  511. style="margin-left: 10px; height: 32px"
  512. size="small"
  513. type="primary"
  514. @click="submitUpload"
  515. >开始上传</el-button
  516. >
  517. </div>
  518. </div>
  519. </div>
  520. </el-form-item>
  521. <el-form-item label="备注:" prop="description" class="maget_ty">
  522. <el-input
  523. v-model="queryParams.description"
  524. placeholder="请输入备注"
  525. clearable
  526. type="textarea"
  527. :disabled = "disfal"
  528. size="small"
  529. style="width: 480px; height: 78px"
  530. class="ieuyr"
  531. @keyup.enter.native="handleQuery"
  532. />
  533. </el-form-item>
  534. </el-form>
  535. </div>
  536. <!-- </div> -->
  537. <!-- 添加或修改参数配置对话框 -->
  538. <el-dialog :title="title" :visible.sync="open" width="900px" append-to-body :close-on-click-modal="false">
  539. <el-form ref="form" :model="form" :rules="rules" label-width="150px">
  540. <el-form-item label="企业名称" prop="companyName">
  541. <el-input v-model="form.companyName" :disabled = "disfal" placeholder="请输入企业名称" />
  542. </el-form-item>
  543. <el-form-item label="企业所在地" prop="companyAddress">
  544. <el-input
  545. v-model="form.companyAddress"
  546. :disabled = "disfal"
  547. placeholder="请输入企业所在地"
  548. />
  549. </el-form-item>
  550. <el-form-item label="法人代表姓名" prop="companyLegal">
  551. <el-input
  552. v-model="form.companyLegal"
  553. :disabled = "disfal"
  554. placeholder="请输入法人代表姓名"
  555. />
  556. </el-form-item>
  557. <!-- <el-form-item label="系统内置" prop="configType">
  558. <el-radio-group v-model="form.configType">
  559. <el-radio
  560. v-for="dict in typeOptions"
  561. :key="dict.dictValue"
  562. :label="dict.dictValue"
  563. >{{dict.dictLabel}}</el-radio>
  564. </el-radio-group>
  565. </el-form-item> -->
  566. <el-form-item label="统一社会信用代码" prop="companyCode">
  567. <el-input
  568. v-model="form.companyCode"
  569. :disabled = "disfal"
  570. placeholder="请输入统一社会信用代码"
  571. />
  572. </el-form-item>
  573. <el-form-item label="联系方式" prop="phone">
  574. <el-input v-model.number="form.phone" :disabled = "disfal" placeholder="请输入联系方式" />
  575. </el-form-item>
  576. </el-form>
  577. <div slot="footer" class="dialog-footer">
  578. <el-button type="primary" @click="submitForm">确 定</el-button>
  579. <el-button @click="cancel">取 消</el-button>
  580. </div>
  581. </el-dialog>
  582. <el-dialog
  583. :title="titletwo"
  584. :visible.sync="opentwo"
  585. width="800px"
  586. append-to-body
  587. :close-on-click-modal="false"
  588. >
  589. <el-form
  590. ref="formtwo"
  591. :model="formtwo"
  592. :rules="rulestwo"
  593. label-width="150px"
  594. >
  595. <el-form-item label="姓名" prop="name">
  596. <el-input :disabled = "disfal" v-model="formtwo.name" placeholder="请输入自然人姓名" />
  597. </el-form-item>
  598. <el-form-item label="自然人所在地" prop="address">
  599. <el-input
  600. v-model="formtwo.address"
  601. :disabled = "disfal"
  602. placeholder="请输入自然人所在地"
  603. />
  604. </el-form-item>
  605. <el-form-item label="身份证号码" prop="idcode">
  606. <el-input :disabled = "disfal" v-model="formtwo.idcode" placeholder="请输入身份证号码" />
  607. </el-form-item>
  608. <!-- <el-form-item label="系统内置" prop="configType">
  609. <el-radio-group v-model="form.configType">
  610. <el-radio
  611. v-for="dict in typeOptions"
  612. :key="dict.dictValue"
  613. :label="dict.dictValue"
  614. >{{dict.dictLabel}}</el-radio>
  615. </el-radio-group>
  616. </el-form-item> -->
  617. <el-form-item label="联系方式" prop="phone">
  618. <el-input
  619. v-model="formtwo.phone"
  620. :disabled = "disfal"
  621. type="phone"
  622. placeholder="请输入联系方式"
  623. />
  624. </el-form-item>
  625. </el-form>
  626. <div slot="footer" class="dialog-footer">
  627. <el-button type="primary" @click="submitFormtwo">确 定</el-button>
  628. <el-button @click="cancel">取 消</el-button>
  629. </div>
  630. </el-dialog>
  631. <el-dialog :visible.sync="dialogVisible">
  632. <img width="100%" :src="dialogImageUrl" alt="" />
  633. </el-dialog>
  634. </div>
  635. </template>
  636. <script>
  637. const defaultSettings = require("@/settings.js");
  638. import {
  639. listConfig,
  640. listConfigtwo,
  641. listConfigthert,
  642. listConfigfour,
  643. listConfigfieu,
  644. getConfig,
  645. getConfigKeytwo,
  646. delConfig,
  647. delConfigtwo,
  648. addConfig,
  649. addConfigtwo,
  650. addConfigalking,
  651. addConfigbout,
  652. updateConfig,
  653. updateConfigtwo,
  654. updateConfigalking,
  655. exportConfig,
  656. clearCache,
  657. } from "@/api/system/config";
  658. import{
  659. setExamine,
  660. setReject
  661. } from "@/api/projectInfo/info.js";
  662. export default {
  663. name: "Config",
  664. props: {
  665. // queryParams: Object,
  666. tabIndex: Number,
  667. },
  668. data() {
  669. return {
  670. process: process.env.VUE_APP_BASE_API,
  671. defaultSettings,
  672. disfal:false,
  673. // 遮罩层
  674. loading: true,
  675. //步骤条
  676. naueactive: 2,
  677. tab: 1,
  678. tabNume: ["线索信息", "签约信息", "在建信息", "投产信息"],
  679. // 选中数组
  680. ids: [],
  681. // 非单个禁用
  682. single: true,
  683. // 非多个禁用
  684. multiple: true,
  685. // 显示搜索条件
  686. showSearch: true,
  687. // 总条数
  688. total: 0,
  689. // 参数表格数据
  690. configList: [],
  691. configListtwoL: [],
  692. // 弹出层标题
  693. title: "",
  694. titletwo: "",
  695. // 是否显示弹出层
  696. open: false,
  697. opentwo: false,
  698. // 类型数据字典
  699. typeOptions: [],
  700. typeOptionstwo: [],
  701. typeOptionstwos:[],
  702. typeOptionstwoss:[],
  703. // 日期范围
  704. dateRange: [],
  705. setrd: 0,
  706. // 查询参数
  707. queryParams: {
  708. contactor: "",
  709. phone: "",
  710. referralList: [
  711. {
  712. bmProjectId: "",
  713. sysDeptId: "",
  714. investmentAllcocation: "",
  715. referral: "",
  716. referralPhone: "",
  717. },
  718. {
  719. bmProjectId: "",
  720. sysDeptId: "",
  721. investmentAllcocation: "",
  722. referral: "",
  723. referralPhone: "",
  724. },
  725. ],
  726. },
  727. dialogImageUrl: "",
  728. dialogVisible: false,
  729. disabled: false,
  730. bmProjectId: 0,
  731. // 表单参数
  732. form: {},
  733. formtwo: {},
  734. queryFormhye: {},
  735. fileList: [],
  736. fileListhye: [],
  737. // 表单校验
  738. rules: {
  739. companyName: [
  740. { required: true, message: "企业名称不能为空", trigger: "blur" },
  741. ],
  742. companyAddress: [
  743. { required: true, message: "企业所在地不能为空", trigger: "blur" },
  744. ],
  745. companyLegal: [
  746. { required: true, message: "法人代表姓名不能为空", trigger: "blur" },
  747. ],
  748. companyCode: [
  749. {
  750. required: true,
  751. message: "统一社会信用代码不能为空",
  752. trigger: "blur",
  753. },
  754. ],
  755. phone: [
  756. { required: true, message: "联系方式不能为空", trigger: "blur" },
  757. {
  758. pattern: /^1(3|4|5|7|8|9)\d{9}$/,
  759. message: "手机号格式不对",
  760. trigger: "blur",
  761. },
  762. ],
  763. },
  764. rulestwo: {
  765. name: [{ required: true, message: "姓名不能为空", trigger: "blur" }],
  766. address: [
  767. { required: true, message: "所在地不能为空", trigger: "blur" },
  768. ],
  769. idcode: [
  770. { required: true, message: "身份证号码不能为空", trigger: "blur" },
  771. {
  772. pattern: /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)/,
  773. message: "身份证号码格式不对",
  774. trigger: "blur",
  775. }
  776. ],
  777. phone: [
  778. { required: true, message: "联系方式不能为空", trigger: "blur" },
  779. {
  780. pattern: /^1(3|4|5|7|8|9)\d{9}$/,
  781. message: "手机号格式不对",
  782. trigger: "blur",
  783. }
  784. ],
  785. },
  786. queryForm: {
  787. contactor: [
  788. { required: true, message: "投资方联系人不能为空", trigger: "blur" },
  789. ],
  790. phone: [
  791. {
  792. required: true,
  793. message: "投资方联系方式不能为空",
  794. trigger: "blur",
  795. },
  796. {
  797. pattern: /^1(3|4|5|7|8|9)\d{9}$/,
  798. message: "手机号格式不对",
  799. trigger: "blur",
  800. }
  801. ],
  802. needAmt: [
  803. { required: true, message: "预计投资额不能为空", trigger: "blur" },
  804. { type: "number", message: "预计投资额必须为数字值" },
  805. ],
  806. fixedAssets: [
  807. { required: true, message: "固定资产投资不能为空", trigger: "blur" },
  808. { type: "number", message: "固定资产投资必须为数字值" },
  809. ],
  810. productName: [
  811. { required: true, message: "产品名称不能为空", trigger: "blur" },
  812. ],
  813. productQty: [
  814. { required: true, message: "设计产能不能为空", trigger: "blur" },
  815. ],
  816. productPrice: [
  817. { required: true, message: "预计产值不能为空", trigger: "blur" },
  818. { type: "number", message: "预计产值必须为数字值" },
  819. ],
  820. productTax: [
  821. { required: true, message: "预计税收不能为空", trigger: "blur" },
  822. { type: "number", message: "预计税收必须为数字值" },
  823. ],
  824. productEmp: [
  825. { required: true, message: "预计用工不能为空", trigger: "blur" },
  826. ],
  827. address: [
  828. { required: true, message: "拟落户地点不能为空", trigger: "blur" },
  829. ],
  830. isFrameorder: [
  831. {
  832. required: true,
  833. message: "请选择是否签订框架协议",
  834. trigger: "blur",
  835. },
  836. ],
  837. },
  838. ntry: [],
  839. // 判断是修改还是增加
  840. sbuen: 0, //0 新增 1 修改
  841. jeutu:{
  842. bmProjectId:0
  843. },
  844. // id:0
  845. value: [],
  846. valuess:[],
  847. values:[]
  848. };
  849. },
  850. created() {
  851. this.bmProjectId = this.$route.query.setid;
  852. this.jeutu.bmProjectId = this.bmProjectId
  853. this.setrd = this.$route.query.setrd;
  854. console.log(this.setrd );
  855. if(this.setrd != 1){
  856. this.disfal = true
  857. console.log(this.disfal,1)
  858. }else{
  859. this.disfal = false
  860. console.log(this.disfal,2)
  861. }
  862. this.getList();
  863. this.getListtwo();
  864. this.getListther();
  865. this.getDicts("sys_yes_no").then((response) => {
  866. this.typeOptions = response.data;
  867. });
  868. this.getListthuy();
  869. console.log(this.queryParams);
  870. },
  871. methods: {
  872. handleChange(value){
  873. //0
  874. this.queryParams.referralList[0].sysDeptId = value.pop()
  875. console.log(value)
  876. },
  877. handleChangete(value){
  878. this.queryParams.referralList[1].sysDeptId = value.pop()
  879. //1
  880. console.log(value)
  881. },
  882. handleChangess(value){
  883. console.log(value)
  884. },
  885. //审核
  886. applyBtn() {
  887. var that=this
  888. this.$confirm("是否确认审核", "提醒", {
  889. confirmButtonText: "确定",
  890. cancelButtonText: "取消",
  891. type: "warning",
  892. })
  893. .then(function () {
  894. return setExamine({
  895. code: 3,
  896. bmProjectId: that.bmProjectId,
  897. });
  898. })
  899. .then(() => {
  900. this.$router.go(-1);
  901. this.getList();
  902. this.msgSuccess("审核成功");
  903. });
  904. },
  905. //驳回
  906. backBtn() {
  907. var that=this
  908. this.$prompt("请输入驳回意见", "提醒", {
  909. confirmButtonText: "确定",
  910. cancelButtonText: "取消",
  911. type: "warning",
  912. })
  913. .then(({ value }) => {
  914. return setReject({
  915. code: 2,
  916. bmProjectId: that.bmProjectId,
  917. remark:value
  918. });
  919. })
  920. .then(() => {
  921. this.$router.go(-1);
  922. this.getList();
  923. this.msgSuccess("驳回成功");
  924. });
  925. },
  926. submitUpload() {
  927. this.$refs.upload.submit();
  928. },
  929. handleRemove(file) {
  930. console.log(file, 87);
  931. },
  932. handlePictureCardPreview(file) {
  933. this.dialogImageUrl = file.url;
  934. this.dialogVisible = true;
  935. },
  936. handleDownload(file) {
  937. console.log(file);
  938. },
  939. handleSuccntry(response, file, fileList) {
  940. // this.ontract = []
  941. this.ntry.push(file.response.url);
  942. this.queryParams.attachment = this.ntry.join(",");
  943. },
  944. beforeAvatarUpload(file) {
  945. console.log(file.type);
  946. const isJPG =
  947. file.type === "image/jpeg" ||
  948. file.type === "image/png" ||
  949. file.type === "image/jpg";
  950. const isPNG = file.type === "image/png";
  951. const isLt2M = file.size / 1024 / 1024 < 2;
  952. if (!isJPG) {
  953. this.$message.error("图片只能是 JPG 格式! 或者 PNG 格式!");
  954. }
  955. // if(!isPNG){
  956. // this.$message.error('图片只能是 JPG 格式! 或者 PNG 格式!');
  957. // }
  958. if (!isLt2M) {
  959. this.$message.error("图片大小不能超过 2MB!");
  960. }
  961. return isJPG && isLt2M;
  962. },
  963. /** 查询参数列表 */
  964. getList() {
  965. this.loading = true;
  966. listConfigtwo(this.bmProjectId).then((response) => {
  967. console.log(response);
  968. if (response.data == undefined) {
  969. console.log(876);
  970. //新增
  971. this.sbuen = 0;
  972. (this.queryParams = {
  973. referralList: [
  974. {
  975. bmProjectId: this.bmProjectId,
  976. sysDeptId: "",
  977. investmentAllcocation: "",
  978. referral: "",
  979. referralPhone: "",
  980. },
  981. {
  982. bmProjectId: this.bmProjectId,
  983. sysDeptId: "",
  984. investmentAllcocation: "",
  985. referral: "",
  986. referralPhone: "",
  987. },
  988. ],
  989. }),
  990. (this.queryParams.bmProjectId = this.bmProjectId);
  991. } else if (response.data !== undefined) {
  992. //修改
  993. this.sbuen = 1;
  994. this.queryParams = response.data;
  995. if (this.queryParams.referralList == null) {
  996. this.queryParams.referralList = [
  997. {
  998. bmProjectId: this.bmProjectId,
  999. sysDeptId: "",
  1000. investmentAllcocation: "",
  1001. referral: "",
  1002. referralPhone: "",
  1003. },
  1004. {
  1005. bmProjectId: this.bmProjectId,
  1006. sysDeptId: "",
  1007. investmentAllcocation: "",
  1008. referral: "",
  1009. referralPhone: "",
  1010. },
  1011. ];
  1012. // }
  1013. }
  1014. if(this.queryParams.referralList.length ==1){
  1015. this.queryParams.referralList = [
  1016. {
  1017. bmProjectId: this.bmProjectId,
  1018. sysDeptId: response.data.referralList[0].sysDeptId,
  1019. investmentAllcocation: response.data.referralList[0].investmentAllcocation,
  1020. referral: response.data.referralList[0].referral,
  1021. referralPhone: response.data.referralList[0].referralPhone,
  1022. },
  1023. {
  1024. bmProjectId: this.bmProjectId,
  1025. sysDeptId: "",
  1026. investmentAllcocation: "",
  1027. referral: "",
  1028. referralPhone: "",
  1029. },
  1030. ];
  1031. }
  1032. // this.queryParams.phone = 987
  1033. console.log(this.queryParams, 98755);
  1034. // this.queryParams = this.queryParams.bmProjectId
  1035. this.fileListhye = []
  1036. if(this.queryParams.attachment !== null){
  1037. this.fileListhye = this.queryParams.attachment.split(",");
  1038. for (var i = 0; i < this.fileListhye.length; i++) {
  1039. this.fileList.push({
  1040. name: this.fileListhye[i],
  1041. url: this.fileListhye[i],
  1042. });
  1043. }
  1044. }
  1045. // this.fileList.push({name:this.queryParams.attachment,url:this.queryParams.attachment})
  1046. }
  1047. // this.fileList = this.queryParams.attachment
  1048. // this.total = response.total;
  1049. this.loading = false;
  1050. });
  1051. },
  1052. //企业列表
  1053. getListtwo() {
  1054. this.loading = true;
  1055. listConfigthert(this.jeutu).then((response) => {
  1056. console.log(response);
  1057. this.configList = response.rows;
  1058. // this.fileList = this.queryParams.attachment
  1059. // this.total = response.total;
  1060. this.loading = false;
  1061. });
  1062. },
  1063. //自然人列表
  1064. getListther() {
  1065. this.loading = true;
  1066. listConfigfour(this.jeutu).then((response) => {
  1067. console.log(response.rows);
  1068. this.configListtwoL = response.rows;
  1069. // this.fileList = this.queryParams.attachment
  1070. // this.total = response.total;
  1071. this.loading = false;
  1072. });
  1073. },
  1074. //部门列表
  1075. getListthuy() {
  1076. this.loading = true;
  1077. listConfigfieu().then((response) => {
  1078. console.log(response);
  1079. if(response.data !== undefined){
  1080. this.typeOptionstwo = response.data;
  1081. // this.dietj(this.typeOptionstwo)
  1082. }
  1083. this.typeOptionstwos= response.data ,
  1084. this.typeOptionstwoss= response.data,
  1085. // this.typeOptionstwo.filter((route) => {
  1086. // route.value = route.id
  1087. // route.children.filter((router) =>{
  1088. // router.value = router.id
  1089. // // this.getListthuy()
  1090. // // router.children.filter((routers) =>{
  1091. // // routers.value = routers.id
  1092. // // })
  1093. // })
  1094. // });
  1095. // this.fileList = this.queryParams.attachment
  1096. // this.total = response.total;
  1097. this.loading = false;
  1098. });
  1099. },
  1100. //递归
  1101. dietj(index){
  1102. console.log(index)
  1103. let iuy = []
  1104. for(var i = 0 ; i < index.length; i++){
  1105. index[i].value = index[i].id
  1106. iuy = index[i].children
  1107. // this.dietj(index[i].children)
  1108. console.log(iuy)
  1109. if(index[i].children !== undefined){
  1110. if(index[i].children != 0){
  1111. console.log(index[i].children)
  1112. this.dietj(index[i].children)
  1113. }else{
  1114. return
  1115. }
  1116. }
  1117. }
  1118. },
  1119. // 参数系统内置字典翻译
  1120. typeFormat(row, column) {
  1121. return this.selectDictLabel(this.typeOptions, row.configType);
  1122. },
  1123. // 取消按钮
  1124. cancel() {
  1125. this.open = false;
  1126. this.opentwo = false;
  1127. this.reset();
  1128. },
  1129. // 表单重置
  1130. reset() {
  1131. this.form = {
  1132. // configId: undefined,
  1133. // configName: undefined,
  1134. // configKey: undefined,
  1135. // configValue: undefined,
  1136. // configType: "Y",
  1137. // remark: undefined
  1138. };
  1139. this.resetForm("form");
  1140. },
  1141. resettwo() {
  1142. this.formtwo = {
  1143. // configId: undefined,
  1144. // configName: undefined,
  1145. // configKey: undefined,
  1146. // configValue: undefined,
  1147. // configType: "Y",
  1148. // remark: undefined
  1149. };
  1150. this.resetForm("form");
  1151. },
  1152. /** 搜索按钮操作 */
  1153. handleQuery() {
  1154. this.queryParams.pageNum = 1;
  1155. this.getList();
  1156. },
  1157. /** 重置按钮操作 */
  1158. resetQuery() {
  1159. this.dateRange = [];
  1160. this.resetForm("queryForm");
  1161. this.handleQuery();
  1162. },
  1163. /** 新增按钮操作 */
  1164. handleAdd() {
  1165. this.reset();
  1166. this.open = true;
  1167. // this.opentwo = true
  1168. this.title = "添加信息";
  1169. // this.titletwo = "添加参数";
  1170. },
  1171. handleAddtwo() {
  1172. this.resettwo();
  1173. // this.open = true;
  1174. this.opentwo = true;
  1175. // this.title = "添加参数";
  1176. this.titletwo = "添加信息";
  1177. },
  1178. // 多选框选中数据
  1179. handleSelectionChange(selection) {
  1180. this.ids = selection.map((item) => item.configId);
  1181. this.single = selection.length != 1;
  1182. this.multiple = !selection.length;
  1183. },
  1184. /** 修改按钮操作 */
  1185. handleUpdate(row) {
  1186. this.reset();
  1187. const id = row.id;
  1188. this.open = true;
  1189. getConfig(id).then((response) => {
  1190. console.log(345);
  1191. this.form = response.data;
  1192. // this.opentwo = true
  1193. this.title = "修改信息";
  1194. // this.titletwo = "修改参数";
  1195. });
  1196. },
  1197. handleUpdatetwo(row) {
  1198. this.reset();
  1199. const id = row.id;
  1200. getConfigKeytwo(id).then((response) => {
  1201. console.log(345);
  1202. this.formtwo = response.data;
  1203. // this.open = true;
  1204. this.opentwo = true;
  1205. // this.title = "修改参数";
  1206. this.titletwo = "修改信息";
  1207. });
  1208. },
  1209. /** 提交按钮 */
  1210. submitForm: function () {
  1211. this.$refs["form"].validate((valid) => {
  1212. if (valid) {
  1213. if (this.form.id != undefined) {
  1214. updateConfig(this.form).then((response) => {
  1215. this.msgSuccess("修改成功");
  1216. this.open = false;
  1217. this.getListtwo();
  1218. });
  1219. } else {
  1220. this.form.bmProjectId = this.bmProjectId;
  1221. addConfig(this.form).then((response) => {
  1222. this.msgSuccess("新增成功");
  1223. this.open = false;
  1224. this.getListtwo();
  1225. });
  1226. }
  1227. }
  1228. });
  1229. },
  1230. /** 提交按钮 */
  1231. submitFormtwo: function () {
  1232. this.$refs["formtwo"].validate((valid) => {
  1233. if (valid) {
  1234. if (this.formtwo.id != undefined) {
  1235. updateConfigtwo(this.formtwo).then((response) => {
  1236. this.msgSuccess("修改成功");
  1237. this.opentwo = false;
  1238. this.getListther();
  1239. });
  1240. } else {
  1241. this.formtwo.bmProjectId = this.bmProjectId;
  1242. addConfigtwo(this.formtwo).then((response) => {
  1243. this.msgSuccess("新增成功");
  1244. this.opentwo = false;
  1245. this.getListther();
  1246. });
  1247. }
  1248. }
  1249. });
  1250. },
  1251. // 暂存接口
  1252. emporary() {
  1253. console.log(this.queryParams)
  1254. this.$refs["queryParams"].validate((valid) => {
  1255. if (valid) {
  1256. if (this.sbuen == 1) {
  1257. updateConfigalking(this.queryParams).then((response) => {
  1258. this.msgSuccess("修改成功");
  1259. this.open = false;
  1260. this.getListtwo();
  1261. this.$router.go(-1);
  1262. });
  1263. } else {
  1264. // if(this.queryParams.referralList[0].sysDeptId !== ''){
  1265. // this.queryParams.referralList[0].sysDeptId = this.queryParams.referralList[0].sysDeptId.pop()
  1266. // console.log(this.queryParams.referralList[0].sysDeptId)
  1267. // }
  1268. // if(this.queryParams.referralList[1].sysDeptId !== ''){
  1269. // this.queryParams.referralList[1].sysDeptId = this.queryParams.referralList[1].sysDeptId.pop()
  1270. // }
  1271. // this.queryParams.bmProjectId = this.bmProjectId
  1272. console.log(this.queryParams, 87);
  1273. addConfigalking(this.queryParams).then((response) => {
  1274. console.log(response);
  1275. this.msgSuccess("新增成功");
  1276. this.open = false;
  1277. this.getListtwo();
  1278. this.$router.go(-1);
  1279. });
  1280. }
  1281. }
  1282. });
  1283. },
  1284. submitCtion() {
  1285. this.queryFormhye.code = 1;
  1286. this.queryFormhye.bmProjectId = this.bmProjectId;
  1287. console.log(this.queryFormhye)
  1288. // if(){
  1289. // }
  1290. // addConfigbout(this.queryFormhye).then((response) => {
  1291. // console.log(response);
  1292. // this.msgSuccess("提交成功");
  1293. // this.$router.go(-1);
  1294. // // 就可以回到上一页。
  1295. // // this.open = false;
  1296. // // this.getListtwo();
  1297. // });
  1298. console.log(this.queryParams);
  1299. },
  1300. /** 删除按钮操作 */
  1301. handleDelete(row) {
  1302. const configIds = row.id;
  1303. this.$confirm('是否确认删除"' + row.companyName + '"的数据项?', "警告", {
  1304. confirmButtonText: "确定",
  1305. cancelButtonText: "取消",
  1306. type: "warning",
  1307. })
  1308. .then(function () {
  1309. return delConfig(configIds);
  1310. })
  1311. .then(() => {
  1312. this.getListtwo();
  1313. this.msgSuccess("删除成功");
  1314. });
  1315. },
  1316. handleDeletetwo(row) {
  1317. const configIds = row.id;
  1318. this.$confirm('是否确认删除"' + row.name + '"的数据项?', "警告", {
  1319. confirmButtonText: "确定",
  1320. cancelButtonText: "取消",
  1321. type: "warning",
  1322. })
  1323. .then(function () {
  1324. return delConfigtwo(configIds);
  1325. })
  1326. .then(() => {
  1327. this.getListther();
  1328. this.msgSuccess("删除成功");
  1329. });
  1330. },
  1331. /** 导出按钮操作 */
  1332. handleExport() {
  1333. const queryParams = this.queryParams;
  1334. this.$confirm("是否确认导出所有参数数据项?", "警告", {
  1335. confirmButtonText: "确定",
  1336. cancelButtonText: "取消",
  1337. type: "warning",
  1338. })
  1339. .then(function () {
  1340. return exportConfig(queryParams);
  1341. })
  1342. .then((response) => {
  1343. this.download(response.msg);
  1344. });
  1345. },
  1346. /** 清理缓存按钮操作 */
  1347. handleClearCache() {
  1348. clearCache().then((response) => {
  1349. this.msgSuccess("清理成功");
  1350. });
  1351. },
  1352. //tab
  1353. changeTab(index) {
  1354. this.$emit("changeTab", index);
  1355. // this.tab = index
  1356. },
  1357. // 取消按钮
  1358. cancelqiu(){
  1359. this.$router.go(-1);
  1360. }
  1361. },
  1362. };
  1363. </script>
  1364. <style lang="scss" >
  1365. .roiyy {
  1366. position: fixed;
  1367. top: 95px;
  1368. left: 0;
  1369. width: 100%;
  1370. padding-left: 230px;
  1371. padding-right: 30px;
  1372. box-sizing: border-box;
  1373. z-index: 999;
  1374. }
  1375. .weiru {
  1376. .el-form-item__label {
  1377. width: 130px !important;
  1378. }
  1379. }
  1380. .manager_form {
  1381. margin-top: 30px;
  1382. .manager_lab {
  1383. .el-form-item__label {
  1384. width: 145px !important;
  1385. }
  1386. }
  1387. .maneg_lar {
  1388. position: relative;
  1389. .el-form-item__label {
  1390. width: 134px !important;
  1391. }
  1392. span {
  1393. position: absolute;
  1394. left: -95%;
  1395. }
  1396. }
  1397. .manager_labtwo {
  1398. .el-form-item__label {
  1399. width: 244px !important;
  1400. }
  1401. }
  1402. .manager_labthre {
  1403. // .el-form-item{
  1404. .el-form-item__label {
  1405. width: 130px !important;
  1406. }
  1407. margin-right: 40px !important;
  1408. // }
  1409. }
  1410. .ieuyr {
  1411. .el-textarea__inner {
  1412. height: 80px !important;
  1413. }
  1414. }
  1415. .mage_ter {
  1416. .el-form-item__label {
  1417. width: 533px !important;
  1418. }
  1419. }
  1420. .maget_ty {
  1421. .el-form-item__label {
  1422. width: 140px !important;
  1423. }
  1424. }
  1425. .yijeu{
  1426. .el-form-item__label {
  1427. width: 90px !important;
  1428. }
  1429. }
  1430. .maget_tyty {
  1431. .el-form-item__label {
  1432. width: 140px !important;
  1433. }
  1434. }
  1435. .fenpe{
  1436. .el-form-item__label {
  1437. width: 100px !important;
  1438. }
  1439. }
  1440. .forieu {
  1441. border: 1px solid #dcdfe6;
  1442. border-radius: 4px;
  1443. width: 480px;
  1444. height: 90px;
  1445. position: relative;
  1446. .bure {
  1447. position: absolute;
  1448. right: 20px;
  1449. top: 50%;
  1450. transform: translateY(-50%);
  1451. }
  1452. .burert {
  1453. .el-upload--picture-card {
  1454. height: 78px;
  1455. line-height: 78px;
  1456. width: 80px;
  1457. vertical-align: center;
  1458. border: 0 !important;
  1459. background-color: #fff;
  1460. }
  1461. .el-upload-list--picture-card .el-upload-list__item {
  1462. height: 78px !important;
  1463. width: 78px !important;
  1464. }
  1465. }
  1466. }
  1467. }
  1468. .lage_div {
  1469. padding-left: 15px;
  1470. display: flex;
  1471. align-items: center;
  1472. margin-bottom: 22px;
  1473. .el-form-item {
  1474. margin-bottom: 0 !important;
  1475. }
  1476. }
  1477. .app-conta {
  1478. .header {
  1479. padding-left: 22px;
  1480. height: 45px;
  1481. line-height: 40px;
  1482. background-color: #f1f1f1;
  1483. font-size: 18px;
  1484. color: #343434;
  1485. margin-bottom: 40px;
  1486. }
  1487. // .naue{
  1488. // border: 1px solid #DADADA;
  1489. // padding: 20px;
  1490. // margin-top: 40px;
  1491. .nuae_wtu {
  1492. display: flex;
  1493. justify-content: center;
  1494. align-content: center;
  1495. .naue_one {
  1496. width: 30%;
  1497. p {
  1498. font-size: 12px;
  1499. font-family: PingFang SC;
  1500. font-weight: 400;
  1501. color: #343434;
  1502. }
  1503. .naue_name {
  1504. font-size: 14px;
  1505. font-family: PingFang SC;
  1506. font-weight: bold;
  1507. color: #0669b2;
  1508. margin-bottom: 30px;
  1509. }
  1510. }
  1511. .naue_two {
  1512. flex: 1;
  1513. padding-top: 20px;
  1514. // display: flex;
  1515. // align-items: center;
  1516. // justify-content: center;
  1517. }
  1518. }
  1519. //tab
  1520. // .naue_tab {
  1521. // border-bottom: 1px solid #cdcdcd;
  1522. // display: flex;
  1523. // margin-top: 30px;
  1524. // padding: 0 10px;
  1525. // margin-bottom: 30px;
  1526. // p {
  1527. // font-size: 16px;
  1528. // font-family: PingFang SC;
  1529. // font-weight: 700;
  1530. // color: #fff;
  1531. // padding: 11px 15px;
  1532. // margin: 10px;
  1533. // }
  1534. // .p {
  1535. // border-bottom: 2px solid #1c84c6;
  1536. // margin-bottom: -1px;
  1537. // }
  1538. // }
  1539. .mation {
  1540. .enterprise {
  1541. font-size: 14px;
  1542. font-family: PingFang SC;
  1543. font-weight: bold;
  1544. color: #1c84c6;
  1545. margin-top: 25px;
  1546. margin-bottom: 20px;
  1547. }
  1548. .enterprise_tw {
  1549. i {
  1550. margin-right: 5px;
  1551. }
  1552. font-size: 14px;
  1553. font-family: PingFang SC;
  1554. font-weight: 600;
  1555. color: #666666;
  1556. }
  1557. }
  1558. // }
  1559. .nvestor {
  1560. margin-bottom: 10px;
  1561. p {
  1562. margin: 0;
  1563. font-size: 14px;
  1564. font-family: PingFang SC;
  1565. font-weight: bold;
  1566. color: #343434;
  1567. height: 24px;
  1568. line-height: 24px;
  1569. border-left: 3px solid #1c84c6;
  1570. padding-left: 13px;
  1571. i {
  1572. color: red;
  1573. }
  1574. }
  1575. }
  1576. .souu {
  1577. font-size: 14px;
  1578. font-family: PingFang SC;
  1579. font-weight: 400;
  1580. color: #343434;
  1581. margin-left: 5px;
  1582. }
  1583. }
  1584. //在建项目
  1585. .nstruction {
  1586. display: flex;
  1587. align-items: center;
  1588. .nstruction_nav {
  1589. display: flex;
  1590. align-items: center;
  1591. p:nth-child(1) {
  1592. margin-right: 10px;
  1593. span {
  1594. font-size: 14px;
  1595. font-family: PingFang SC;
  1596. font-weight: bold;
  1597. color: #343434;
  1598. }
  1599. span:nth-child(1) {
  1600. color: #df0024;
  1601. }
  1602. }
  1603. p:nth-child(2) {
  1604. width: 233px;
  1605. height: 30px;
  1606. line-height: 30px;
  1607. border: 1px solid #cdcdcd;
  1608. border-radius: 3px;
  1609. padding-left: 14px;
  1610. }
  1611. }
  1612. .nstruction_navne {
  1613. margin-left: 50px;
  1614. display: flex;
  1615. align-items: center;
  1616. p:nth-child(1) {
  1617. margin-right: 10px;
  1618. span {
  1619. font-size: 14px;
  1620. font-family: PingFang SC;
  1621. font-weight: bold;
  1622. color: #343434;
  1623. }
  1624. span:nth-child(1) {
  1625. color: #df0024;
  1626. }
  1627. }
  1628. p:nth-child(2) {
  1629. width: 233px;
  1630. height: 30px;
  1631. line-height: 30px;
  1632. border: 1px solid #cdcdcd;
  1633. border-radius: 3px;
  1634. padding-left: 14px;
  1635. }
  1636. }
  1637. }
  1638. .kaieu {
  1639. padding-left: 60px;
  1640. font-size: 14px;
  1641. font-family: PingFang SC;
  1642. font-weight: 800;
  1643. color: #343434;
  1644. }
  1645. .kaieu_tw {
  1646. padding-left: 60px;
  1647. font-size: 14px;
  1648. font-family: PingFang SC;
  1649. font-weight: 500;
  1650. color: #666666;
  1651. }
  1652. </style>