index.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979
  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="submitForm"
  8. v-hasPermi="['bmProject:project:examine']"
  9. >提交</el-button
  10. >
  11. <!-- <el-button
  12. type="primary"
  13. @click="submitForm"
  14. v-hasPermi="['bmProject:project:add']"
  15. >保存</el-button
  16. > -->
  17. </el-col>
  18. <el-col :span="1.5">
  19. <el-button
  20. type="primary"
  21. @click="cancel"
  22. >取消</el-button
  23. >
  24. </el-col>
  25. <el-col :span="1.5" :offset="16" v-if="setrd % 2 == 1&&setrd>2">
  26. <el-button
  27. type="danger"
  28. @click="backProBtn"
  29. v-hasPermi="['bmProject:project:back']"
  30. >撤销审核</el-button
  31. >
  32. </el-col>
  33. <el-col :span="1.5" :offset="18" v-if="setrd % 2 == 0">
  34. <el-button
  35. type="danger"
  36. @click="applyBtn"
  37. style="background: #00B034;color: #FFF;border: none;"
  38. v-hasPermi="['bmProject:project:pass']"
  39. >审核</el-button
  40. >
  41. <el-button
  42. type="danger"
  43. @click="backBtn"
  44. style="background: #3FBCEF;color: #FFF;border: none;"
  45. v-hasPermi="['bmProject:project:reject']"
  46. >驳回</el-button
  47. >
  48. </el-col>
  49. </el-row>
  50. <div class="nauer">
  51. <!-- 投产项目 -->
  52. <div>
  53. <div class="nstruction">
  54. <!-- 内容 -->
  55. <div class="namjeu">
  56. <el-form
  57. :model="form"
  58. :rules="rules"
  59. ref="form"
  60. :inline="true"
  61. label-width="135px"
  62. label-position="center"
  63. class="manager_form bhyeksu"
  64. >
  65. <el-form-item label=" 已完成投资额:" prop="totInvestment">
  66. <el-input
  67. v-model="form.totInvestment"
  68. placeholder="请输入已完成投资额"
  69. clearable
  70. size="small"
  71. :disabled = "disfal"
  72. style="width: 335px"
  73. />
  74. </el-form-item>
  75. <el-form-item label="设备投资额度:" prop="macInvestment">
  76. <el-input
  77. v-model="form.macInvestment"
  78. placeholder="请输入设备投资额度"
  79. clearable
  80. :disabled = "disfal"
  81. size="small"
  82. style="width: 335px"
  83. />
  84. </el-form-item>
  85. <el-form-item label="投产时间:" prop="productDate">
  86. <el-date-picker
  87. type="date"
  88. placeholder="选择日期"
  89. :disabled = "disfal"
  90. v-model="form.productDate"
  91. style="width: 335px"
  92. ></el-date-picker>
  93. </el-form-item>
  94. <el-form-item label="投产图片:" prop="productPhoto" class="maget_ty" :rules="[{ required: true, message: '请上传投产图片', trigger: 'blur' }]" >
  95. <div class="bgteu " style="width: 618px">
  96. <div class="">
  97. <el-upload
  98. :action="defaultSettings.urls + process+'/common/upload'"
  99. list-type="picture-card"
  100. :on-preview="handlePictureCardPreview"
  101. :on-remove="handleRemove"
  102. :on-success="handleOnsuccess"
  103. :before-upload="beforeAvatarUpload"
  104. :file-list="productPhotoList"
  105. :disabled = "disfal"
  106. >
  107. <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
  108. <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
  109. <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传jpg/png文件,且不超过500kb</div>
  110. </div>
  111. <!-- <el-button slot="trigger" size="small" type="primary"
  112. >选取文件</el-button
  113. >
  114. <el-button
  115. style="margin-left: 10px"
  116. size="small"
  117. type="primary"
  118. @click="submitUpload"
  119. >上传到服务器</el-button
  120. > -->
  121. </el-upload>
  122. <el-dialog :visible.sync="dialogVisible">
  123. <img width="100%" :src="dialogImageUrl" alt="" />
  124. </el-dialog>
  125. </div>
  126. </div>
  127. </el-form-item>
  128. <el-form-item label="设备订购合同:" prop="orderContractPhoto" class="maget_ty" :rules="[{ required: true, message: '请上传设备订购合同', trigger: 'blur' }]">
  129. <div class="bgteu fre" style="width: 618px">
  130. <div class="">
  131. <el-upload
  132. :action="defaultSettings.urls + process+'/common/upload'"
  133. :on-preview="handlePictureCardPreview"
  134. :before-upload="beforeAvatarUpload"
  135. :on-remove="handleRemove3"
  136. :on-success="handleOnsuccess3"
  137. :file-list="orderContractPhotoList"
  138. :disabled = "disfal"
  139. >
  140. <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
  141. <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
  142. <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传word/pdf格式,大小不超过10M(合同须盖章)</div>
  143. </div>
  144. <!-- <el-button slot="trigger" size="small" type="primary"
  145. >选取文件</el-button
  146. >
  147. <el-button
  148. style="margin-left: 10px"
  149. size="small"
  150. type="primary"
  151. @click="submitUpload"
  152. >上传到服务器</el-button
  153. > -->
  154. </el-upload>
  155. <el-dialog :visible.sync="dialogVisible">
  156. <img width="100%" :src="dialogImageUrl" alt="" />
  157. </el-dialog>
  158. </div>
  159. </div>
  160. </el-form-item>
  161. <el-form-item label="到资清单:" prop="arrivalListPhoto" class="maget_ty" :rules="[{ required: true, message: '请上传到资清单', trigger: 'blur' }]">
  162. <div class="bgteu fre" style="width: 618px">
  163. <div class="">
  164. <el-upload
  165. :action="defaultSettings.urls + process+'/common/upload'"
  166. :on-preview="handlePictureCardPreview"
  167. :on-remove="handleRemove2"
  168. :on-success="handleOnsuccess2"
  169. :file-list="arrivalListPhotoList"
  170. :before-upload="beforeAvatarUpload"
  171. :disabled = "disfal"
  172. >
  173. <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
  174. <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
  175. <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传word/pdf格式,大小不超过10M</div>
  176. </div>
  177. <!-- <el-button slot="trigger" size="small" type="primary"
  178. >选取文件</el-button
  179. >
  180. <el-button
  181. style="margin-left: 10px"
  182. size="small"
  183. type="primary"
  184. @click="submitUpload"
  185. >上传到服务器</el-button
  186. > -->
  187. </el-upload>
  188. <el-dialog :visible.sync="dialogVisible">
  189. <img width="100%" :src="dialogImageUrl" alt="" />
  190. </el-dialog>
  191. </div>
  192. </div>
  193. </el-form-item>
  194. <el-form-item label="入规截图:" prop="entryPhoto" class="maget_ty">
  195. <div class="bgteu " style="width: 618px">
  196. <div class="">
  197. <el-upload
  198. :action="defaultSettings.urls + process+'/common/upload'"
  199. list-type="picture-card"
  200. :on-preview="handlePictureCardPreview"
  201. :on-remove="handleRemove4"
  202. :on-success="handleOnsuccess4"
  203. :before-upload="beforeAvatarUpload"
  204. :file-list="orderContractPhotoLists"
  205. :disabled = "disfal"
  206. >
  207. <div style="display: flex; justify-content: flex-start; flex-direction: column; flex: 1;">
  208. <i slot="default" class="el-icon-plus" style="width:100px;height: 100px; line-height: 100px; background-color: #f5f5f5; border-radius: 6px;"> </i>
  209. <div slot="tip" class="el-upload__tip" style="line-height: 24px;">只能上传jpg/png文件,且不超过500kb</div>
  210. </div>
  211. <!-- <el-button slot="trigger" size="small" type="primary"
  212. >选取文件</el-button
  213. >
  214. <el-button
  215. style="margin-left: 10px"
  216. size="small"
  217. type="primary"
  218. @click="submitUpload"
  219. >上传到服务器</el-button
  220. > -->
  221. </el-upload>
  222. <el-dialog :visible.sync="dialogVisible">
  223. <img width="100%" :src="dialogImageUrl" alt="" />
  224. </el-dialog>
  225. </div>
  226. </div>
  227. </el-form-item>
  228. <el-form-item> </el-form-item>
  229. <el-form-item label=" 项目入规(限):" prop="isOk">
  230. <el-select
  231. v-model="form.isOk"
  232. placeholder="项目入规(限)"
  233. clearable
  234. size="small"
  235. :disabled = "disfal"
  236. style="width: 235px"
  237. >
  238. <el-option
  239. v-for="dict in typeOptions"
  240. :key="dict.dictValue"
  241. :label="dict.dictLabel"
  242. :value="dict.dictValue"
  243. />
  244. </el-select>
  245. </el-form-item>
  246. <el-form-item label="项目入规时间:" prop="okDate">
  247. <el-date-picker
  248. type="date"
  249. :disabled = "disfal"
  250. placeholder="选择项目入规时间"
  251. v-model="form.okDate"
  252. style="width: 235px"
  253. ></el-date-picker>
  254. </el-form-item>
  255. </el-form>
  256. </div>
  257. </div>
  258. </div>
  259. </div>
  260. <el-dialog :visible.sync="dialogVisible">
  261. <img width="100%" :src="dialogImageUrl" alt="" v-if="ndheuos">
  262. <a :href="dialogImageUrl" target="view_window" v-if="!ndheuos"> {{dialogImagename}} <span style="color: red; margin-left: 10px;">点击查看/下载</span> </a>
  263. </el-dialog>
  264. </div>
  265. </template>
  266. <script>
  267. import {
  268. listProduct,
  269. getProduct,
  270. delProduct,
  271. addProduct,
  272. updateProduct,
  273. exportProduct,
  274. } from "@/api/production/production.js";
  275. import {
  276. addConfigbout,
  277. } from "@/api/system/config";
  278. import { setExamine, setReject,setBack } from "@/api/projectInfo/info.js";
  279. const defaultSettings = require("@/settings.js");
  280. export default {
  281. name: "production",
  282. data() {
  283. return {
  284. disfal:false,
  285. process: process.env.VUE_APP_BASE_API,
  286. defaultSettings,
  287. //父级项目id
  288. bmProjectId: -1,
  289. scrop: { projectStatus: 2 },
  290. //图片
  291. disabled: false,
  292. dialogVisible: false,
  293. dialogImageUrl: false,
  294. dialogImagename:'',
  295. productPhotoList: [],
  296. arrivalListPhotoList: [],
  297. orderContractPhotoList: [],
  298. orderContractPhotoLists:[],
  299. ndheuos:false,
  300. //数据字典
  301. typeOptions: {},
  302. // 表单参数
  303. form: {},
  304. // 表单校验
  305. rules: {
  306. totInvestment: [
  307. { required: true, message: "请输入已完成投资额", trigger: "blur" },
  308. ],
  309. macInvestment: [
  310. { required: true, message: "请输入设备投资额度", trigger: "blur" },
  311. ],
  312. productDate: [
  313. { required: true, message: "请选择投产时间", trigger: "blur" },
  314. ],
  315. isOk:[{
  316. required: true, message: "请填写信息", trigger: "blur"
  317. }]
  318. },
  319. };
  320. },
  321. created() {
  322. var that = this;
  323. that.bmProjectId = that.$route.query.setid;
  324. that.form.bmProjectId = that.$route.query.setid;
  325. that.setrd = that.$route.query.setrd;
  326. if(that.setrd != 7){
  327. this.disfal = true
  328. }else{
  329. this.disfal = false
  330. }
  331. that.getDicts("sys_yes_no").then((response) => {
  332. that.typeOptions = response.data;
  333. });
  334. getProduct(that.bmProjectId).then((response) => {
  335. if (response.data) {
  336. that.form = response.data;
  337. // 投产图片
  338. if (that.form.productPhoto.length > 0) {
  339. this.productPhotoList = JSON.parse(that.form.productPhoto);
  340. }
  341. // 到资清单
  342. if (that.form.arrivalListPhoto.length > 0) {
  343. this.arrivalListPhotoList = JSON.parse(that.form.arrivalListPhoto);
  344. }
  345. // 设备订购合同
  346. if (that.form.orderContractPhoto.length > 0) {
  347. this.orderContractPhotoList = JSON.parse(that.form.orderContractPhoto);
  348. }
  349. //入规截图
  350. if (that.form.entryPhoto.length > 0) {
  351. this.orderContractPhotoLists = JSON.parse(that.form.entryPhoto);
  352. }
  353. }
  354. });
  355. },
  356. methods: {
  357. backProBtn(){
  358. var that = this
  359. this.$confirm("是否确认撤销审核", "提醒", {
  360. confirmButtonText: "确定",
  361. cancelButtonText: "取消",
  362. type: "warning",
  363. })
  364. .then(function() {
  365. return setBack({
  366. code: 4,
  367. bmProjectId: that.form.bmProjectId,
  368. });
  369. })
  370. .then(() => {
  371. this.msgSuccess("撤销成功");
  372. setTimeout(res => {
  373. this.$router.go(-1)
  374. }, 1000)
  375. });
  376. },
  377. reset() {
  378. var that = this;
  379. that.form = {
  380. id: this.form.id,
  381. bmProjectId: this.form.bmProjectId,
  382. createBy: null,
  383. createTime: null,
  384. updateBy: null,
  385. updateTime: null,
  386. isDel: null,
  387. totInvestment: null,
  388. macInvestment: null,
  389. productDate: null,
  390. productPhoto: null,
  391. isOk: null,
  392. okDate: null,
  393. };
  394. this.productPhotoList = [];
  395. this.arrivalListPhotoList = [];
  396. this.orderContractPhotoList = [];
  397. this.orderContractPhotoLists= []
  398. },
  399. //上传图片
  400. handleSuccpermit(response, file, fileList) {
  401. console.log(file.response.url);
  402. },
  403. //提交
  404. submitBtn() {
  405. var that = this;
  406. setExamine({
  407. code: 1,
  408. bmProjectId: that.bmProjectId,
  409. }).then((res) => {
  410. if(res.code == 200){
  411. this.$router.go(-1);
  412. this.msgSuccess("提交成功");
  413. }
  414. })
  415. // this.$confirm("是否确认提交", "提醒", {
  416. // confirmButtonText: "确定",
  417. // cancelButtonText: "取消",
  418. // type: "warning",
  419. // })
  420. // .then(function () {
  421. // // that.msgSuccess("请点击暂存按钮,返回上级页面进行提交");
  422. // return setExamine({
  423. // code: 1,
  424. // bmProjectId: that.bmProjectId,
  425. // });
  426. // })
  427. // .then(() => {
  428. // this.$router.go(-1);
  429. // // this.getList();
  430. // this.msgSuccess("提交成功");
  431. // });
  432. },
  433. /** 暂存按钮 */
  434. submitForm() {
  435. var tmp = [];
  436. if (this.productPhotoList.length == 0) {
  437. this.msgError("请先选择投产图片");
  438. return;
  439. }
  440. if (this.arrivalListPhotoList.length == 0) {
  441. this.msgError("请先选择到资清单图片");
  442. return;
  443. }
  444. if (this.orderContractPhotoList.length == 0) {
  445. this.msgError("请先选择设备订购合同图片");
  446. return;
  447. }
  448. if (this.form.totInvestment == null) {
  449. this.msgError("请输入已完成投资额");
  450. return;
  451. }
  452. if (this.form.macInvestment == null) {
  453. this.msgError("请输入设备投资额度");
  454. return;
  455. }
  456. if (this.form.productDate == null) {
  457. this.msgError("请选择投产时间");
  458. return;
  459. }
  460. if (this.form.isOk == null) {
  461. this.msgError("请填写信息");
  462. return;
  463. }
  464. this.productPhotoList.forEach((item, index) => {
  465. var obj = {};
  466. obj.name = item.response.fileName;
  467. obj.uid = item.uid;
  468. obj.url = item.response.url;
  469. tmp[index] = obj;
  470. });
  471. this.form.productPhoto = JSON.stringify(tmp);
  472. this.arrivalListPhotoList.forEach((item, index) => {
  473. var obj = {};
  474. obj.name = item.response.fileName;
  475. obj.uid = item.uid;
  476. obj.url = item.response.url;
  477. tmp[index] = obj;
  478. });
  479. this.form.arrivalListPhoto = JSON.stringify(tmp);
  480. this.orderContractPhotoList.forEach((item, index) => {
  481. var obj = {};
  482. obj.name = item.response.fileName;
  483. obj.uid = item.uid;
  484. obj.url = item.response.url;
  485. tmp[index] = obj;
  486. });
  487. this.form.orderContractPhoto = JSON.stringify(tmp);
  488. this.orderContractPhotoLists.forEach((item, index) => {
  489. var obj = {};
  490. obj.name = item.response.fileName;
  491. obj.uid = item.uid;
  492. obj.url = item.response.url;
  493. tmp[index] = obj;
  494. });
  495. this.form.entryPhoto = JSON.stringify(tmp);
  496. this.$refs["form"].validate((valid) => {
  497. if (valid) {
  498. if (this.form.id != null) {
  499. updateProduct(this.form).then((response) => {
  500. this.msgSuccess("操作成功");
  501. this.submitBtn()
  502. // this.$router.go(-1)
  503. });
  504. } else {
  505. addProduct(this.form).then((response) => {
  506. this.msgSuccess("操作成功");
  507. this.submitBtn()
  508. // this.$router.go(-1)
  509. });
  510. }
  511. }
  512. });
  513. },
  514. submitUpload() {
  515. this.$refs.upload.submit();
  516. },
  517. submitCtionte(){
  518. this.submitForm()
  519. },
  520. handleOnsuccess(response, file, fileList) {
  521. this.productPhotoList = fileList;
  522. },
  523. handleRemove(file, fileList) {
  524. this.productPhotoList = fileList;
  525. },
  526. handleOnsuccess2(response, file, fileList) {
  527. this.arrivalListPhotoList = fileList;
  528. },
  529. handleRemove2(file, fileList) {
  530. this.arrivalListPhotoList = fileList;
  531. },
  532. handleOnsuccess3(response, file, fileList) {
  533. this.orderContractPhotoList = fileList;
  534. },
  535. handleOnsuccess4(response, file, fileList){
  536. this.orderContractPhotoLists = fileList;
  537. },
  538. handleRemove3(file, fileList) {
  539. this.orderContractPhotoList = fileList;
  540. },
  541. handleRemove4(file, fileList) {
  542. this.orderContractPhotoLists = fileList;
  543. },
  544. handlePictureCardPreview(file) {
  545. if(file.response !== undefined){
  546. this.dialogImageUrl = file.response.url;
  547. this.dialogVisible = true;
  548. this.dialogImagename = file.name
  549. }else{
  550. this.dialogImageUrl = file.url;
  551. this.dialogVisible = true;
  552. this.dialogImagename = file.name
  553. }
  554. },
  555. handleDownload(file) {
  556. console.log(file);
  557. },
  558. /** 查询参数列表 */
  559. getList() {
  560. this.loading = true;
  561. listConfig(this.addDateRange(this.queryParams, this.dateRange)).then(
  562. (response) => {
  563. this.configList = response.rows;
  564. this.total = response.total;
  565. this.loading = false;
  566. }
  567. );
  568. },
  569. // // 参数系统内置字典翻译
  570. // typeFormat(row, column) {
  571. // return this.selectDictLabel(this.typeOptions, row.configType);
  572. // },
  573. //审核
  574. applyBtn() {
  575. var that = this;
  576. this.$confirm("是否确认审核", "提醒", {
  577. confirmButtonText: "确定",
  578. cancelButtonText: "取消",
  579. type: "warning",
  580. })
  581. .then(function () {
  582. return addConfigbout({
  583. code: 3,
  584. bmProjectId: that.bmProjectId,
  585. });
  586. })
  587. .then(() => {
  588. this.$router.go(-1);
  589. this.getList();
  590. this.msgSuccess("审核成功");
  591. });
  592. },
  593. beforeAvatarUpload(file) {
  594. console.log(file.type);
  595. const isJPG =
  596. file.type === "image/jpeg" ||
  597. file.type === "image/png" ||
  598. file.type === "image/jpg";
  599. const isPNG = file.type === "image/png";
  600. const isLt2M = file.size / 1024 / 1024 < 10;
  601. this.ndheuos = isJPG
  602. console.log(this.ndheuos,76)
  603. // if (!isJPG) {
  604. // this.$message.error("图片只能是 JPG 格式! 或者 PNG 格式!");
  605. // }
  606. // if(!isPNG){
  607. // this.$message.error('图片只能是 JPG 格式! 或者 PNG 格式!');
  608. // }
  609. if (!isLt2M) {
  610. this.$message.error("文件大小不能超过 10MB!");
  611. }
  612. return isLt2M;
  613. // },
  614. },
  615. //驳回
  616. backBtn() {
  617. var that = this;
  618. this.$prompt("请输入驳回意见", "提醒", {
  619. confirmButtonText: "确定",
  620. cancelButtonText: "取消",
  621. type: "warning",
  622. })
  623. .then(({ value }) => {
  624. return setReject({
  625. code: 2,
  626. bmProjectId: that.bmProjectId,
  627. remark:value
  628. });
  629. })
  630. .then(() => {
  631. this.$router.go(-1);
  632. this.getList();
  633. this.msgSuccess("驳回成功");
  634. });
  635. },
  636. // 取消按钮
  637. cancel() {
  638. this.$router.go(-1);
  639. },
  640. /** 搜索按钮操作 */
  641. handleQuery() {
  642. this.queryParams.pageNum = 1;
  643. this.getList();
  644. },
  645. /** 重置按钮操作 */
  646. resetQuery() {
  647. this.dateRange = [];
  648. this.resetForm("queryForm");
  649. this.handleQuery();
  650. },
  651. /** 新增按钮操作 */
  652. handleAdd() {
  653. this.reset();
  654. this.open = true;
  655. this.title = "添加参数";
  656. },
  657. // 多选框选中数据
  658. handleSelectionChange(selection) {
  659. this.ids = selection.map((item) => item.configId);
  660. this.single = selection.length != 1;
  661. this.multiple = !selection.length;
  662. },
  663. /** 修改按钮操作 */
  664. handleUpdate() {},
  665. //tab
  666. tabClid(index) {
  667. this.tab = index;
  668. // this.$router.push('/tab');
  669. },
  670. },
  671. };
  672. </script>
  673. <style rel="stylesheet/scss" lang="scss">
  674. .buiy {
  675. // width: 75px !important;
  676. // height: 30px !important;
  677. // line-height: 30px !important;
  678. }
  679. .ijeut {
  680. display: flex;
  681. height: 78px;
  682. align-items: center;
  683. }
  684. .burert {
  685. .el-upload--picture-card {
  686. height: 78px;
  687. line-height: 78px;
  688. width: 80px;
  689. vertical-align: center;
  690. border: 0 !important;
  691. background-color: #fff;
  692. }
  693. .el-upload-list--picture-card .el-upload-list__item {
  694. height: 78px !important;
  695. width: 78px !important;
  696. }
  697. }
  698. .manager_form {
  699. .manager_lab {
  700. .el-form-item__label {
  701. width: 145px !important;
  702. }
  703. }
  704. .maneg_lar {
  705. position: relative;
  706. .el-form-item__label {
  707. width: 134px !important;
  708. }
  709. span {
  710. position: absolute;
  711. left: -95%;
  712. }
  713. }
  714. .manager_labtwo {
  715. .el-form-item__label {
  716. width: 244px !important;
  717. }
  718. }
  719. // .manager_labthre {
  720. // // .el-form-item{
  721. // .el-form-item__label {
  722. // width: 130px !important;
  723. // }
  724. // margin-right: 40px !important;
  725. // // }
  726. // }
  727. .ieuyr {
  728. .el-textarea__inner {
  729. height: 80px !important;
  730. }
  731. }
  732. // .mage_ter {
  733. // .el-form-item__label {
  734. // width: 543px !important;
  735. // }
  736. // }
  737. .maget_ty {
  738. .el-form-item__label {
  739. width: 135px !important;
  740. }
  741. }
  742. .forieu {
  743. border: 1px solid #dcdfe6;
  744. border-radius: 4px;
  745. width: 480px;
  746. height: 100px !important;
  747. position: relative;
  748. .bure {
  749. display: flex;
  750. // position: absolute;
  751. // height: 100%;
  752. // right: 20px;
  753. // top: 50%;
  754. // transform: translateY(-50%);
  755. padding: 10px 0;
  756. }
  757. .burert {
  758. display: flex;
  759. position: absolute;
  760. height: 100%;
  761. left: 20px;
  762. top: 50%;
  763. transform: translateY(-50%);
  764. }
  765. }
  766. }
  767. .lage_div {
  768. padding-left: 15px;
  769. display: flex;
  770. align-items: center;
  771. margin-bottom: 22px;
  772. .el-form-item {
  773. margin-bottom: 0 !important;
  774. }
  775. }
  776. .app-conta {
  777. .header {
  778. padding-left: 22px;
  779. height: 45px;
  780. line-height: 40px;
  781. background-color: #f1f1f1;
  782. font-size: 18px;
  783. color: #343434;
  784. margin-bottom: 40px;
  785. }
  786. .nauer {
  787. .nuae_wtu {
  788. display: flex;
  789. justify-content: center;
  790. align-content: center;
  791. .naue_one {
  792. width: 30%;
  793. p {
  794. font-size: 12px;
  795. font-family: PingFang SC;
  796. font-weight: 400;
  797. color: #343434;
  798. }
  799. .naue_name {
  800. font-size: 14px;
  801. font-family: PingFang SC;
  802. font-weight: bold;
  803. color: #0669b2;
  804. margin-bottom: 30px;
  805. }
  806. }
  807. .naue_two {
  808. flex: 1;
  809. padding-top: 20px;
  810. // display: flex;
  811. // align-items: center;
  812. // justify-content: center;
  813. }
  814. }
  815. //tab
  816. // .naue_tab {
  817. // border-bottom: 1px solid #cdcdcd;
  818. // display: flex;
  819. // margin-top: 30px;
  820. // padding: 0 10px;
  821. // margin-bottom: 30px;
  822. // p {
  823. // font-size: 16px;
  824. // font-family: PingFang SC;
  825. // font-weight: 700;
  826. // color: #fff;
  827. // padding: 11px 15px;
  828. // margin: 10px;
  829. // }
  830. // .p {
  831. // border-bottom: 2px solid #1c84c6;
  832. // margin-bottom: -1px;
  833. // }
  834. // }
  835. .mation {
  836. .enterprise {
  837. font-size: 14px;
  838. font-family: PingFang SC;
  839. font-weight: bold;
  840. color: #1c84c6;
  841. margin-top: 25px;
  842. margin-bottom: 20px;
  843. }
  844. .enterprise_tw {
  845. i {
  846. margin-right: 5px;
  847. }
  848. font-size: 14px;
  849. font-family: PingFang SC;
  850. font-weight: 600;
  851. color: #666666;
  852. }
  853. }
  854. }
  855. .nvestor {
  856. margin-bottom: 10px;
  857. p {
  858. margin: 0;
  859. font-size: 14px;
  860. font-family: PingFang SC;
  861. font-weight: bold;
  862. color: #343434;
  863. height: 24px;
  864. line-height: 24px;
  865. border-left: 3px solid #1c84c6;
  866. padding-left: 13px;
  867. i {
  868. color: red;
  869. }
  870. }
  871. }
  872. .souu {
  873. font-size: 14px;
  874. font-family: PingFang SC;
  875. font-weight: 400;
  876. color: #343434;
  877. margin-left: 5px;
  878. }
  879. }
  880. //在建项目
  881. .nstruction {
  882. display: flex;
  883. align-items: center;
  884. .nstruction_nav {
  885. display: flex;
  886. align-items: center;
  887. p:nth-child(1) {
  888. margin-right: 10px;
  889. span {
  890. font-size: 14px;
  891. font-family: PingFang SC;
  892. font-weight: bold;
  893. color: #343434;
  894. }
  895. span:nth-child(1) {
  896. color: #df0024;
  897. }
  898. }
  899. p:nth-child(2) {
  900. width: 233px;
  901. height: 30px;
  902. line-height: 30px;
  903. border: 1px solid #cdcdcd;
  904. border-radius: 3px;
  905. padding-left: 14px;
  906. }
  907. }
  908. .nstruction_navne {
  909. margin-left: 50px;
  910. display: flex;
  911. align-items: center;
  912. p:nth-child(1) {
  913. margin-right: 10px;
  914. span {
  915. font-size: 14px;
  916. font-family: PingFang SC;
  917. font-weight: bold;
  918. color: #343434;
  919. }
  920. span:nth-child(1) {
  921. color: #df0024;
  922. }
  923. }
  924. p:nth-child(2) {
  925. width: 233px;
  926. height: 30px;
  927. line-height: 30px;
  928. border: 1px solid #cdcdcd;
  929. border-radius: 3px;
  930. padding-left: 14px;
  931. }
  932. }
  933. }
  934. .kaieu {
  935. padding-left: 60px;
  936. font-size: 14px;
  937. font-family: PingFang SC;
  938. font-weight: 800;
  939. color: #343434;
  940. }
  941. .kaieu_tw {
  942. padding-left: 60px;
  943. font-size: 14px;
  944. font-family: PingFang SC;
  945. font-weight: 500;
  946. color: #666666;
  947. }
  948. .bgteu{
  949. border: 1px solid #dcdfe6;
  950. border-radius: 4px;
  951. padding: 10px ;
  952. }
  953. </style>