index.vue 52 KB

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