index.vue 51 KB

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