workflowBase.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  1. <template>
  2. <div>
  3. <div class="flex-handle">
  4. <div class="flex-left">
  5. <div class="flex-left-header">
  6. <div class="flex-path">
  7. <div class="flex-left-header-text">
  8. 选择路径
  9. <div class="flex-path-list">
  10. <div
  11. v-if="manyReassignment"
  12. :class="actives"
  13. @click="clickManyTransfer(1)"
  14. >
  15. 转派
  16. </div>
  17. <div
  18. v-if="transferStatus"
  19. :class="active"
  20. @click="clickTransfer(1)"
  21. >
  22. 转派
  23. </div>
  24. <div v-if="copyStatus" @click="clickTransfer(2)">抄送</div>
  25. <div
  26. v-for="(item, index) in node.nextShapes"
  27. :key="index"
  28. :class="seleIndex == index ? 'active' : ''"
  29. @click="clickGetTree(item, index)"
  30. >
  31. {{ item.properties.name }}
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="flex-commons">
  37. <div class="flex-left-header-text">
  38. 常用意见
  39. <span @click="clickEdit" class="flex-icon"
  40. ><i class="el-icon-edit"></i>修改</span
  41. >
  42. </div>
  43. <div class="flex-slide">
  44. <div
  45. v-for="(item, index) in commonlyList"
  46. :key="index"
  47. ref="common"
  48. class="flex-common"
  49. @click="clickCommonly($event)"
  50. >
  51. {{ item.dataName }}
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. <div class="flex-opinion">
  57. <div class="flex-left-header-text">意见内容</div>
  58. <el-input
  59. type="textarea"
  60. autosize
  61. placeholder="请输入内容"
  62. v-model="textarea"
  63. >
  64. </el-input>
  65. </div>
  66. </div>
  67. <div class="flex-right" :class="{ copyClass: CopyStatus }">
  68. <div
  69. class="flex-left-header-text"
  70. :class="{ 'flex-right-text': CopyStatus }"
  71. >
  72. 本部门人员办理
  73. <div style="display: flex">
  74. <div class="flex-header-text-tree">
  75. 候选人
  76. <deptTree
  77. ref="defTree"
  78. class="flex-slide"
  79. :treeList="treeList"
  80. @changeTree="changeTree"
  81. />
  82. </div>
  83. <div class="flex-header-text-tree">
  84. 已选人员
  85. <!-- <div class="">{{ selectUser }}</div> -->
  86. <div class="" v-for="(item, index) in backThree" :key="index">
  87. {{ item.loginNameStr }}
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. <div v-if="CopyStatus" class="flex-left-header-text flex-right-text">
  93. 抄送人员
  94. <div style="display: flex">
  95. <div class="flex-header-text-tree">
  96. 抄送人
  97. <deptTree
  98. ref="defTrees"
  99. class="flex-slide"
  100. :treeList="treeCopyList"
  101. @changeTree="changeTreeCopy"
  102. />
  103. </div>
  104. <div class="flex-header-text-tree">
  105. 已选人员
  106. <div class="">{{ copyUser }}</div>
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. <div class="flex-footer-botton">
  113. <div class="flex-button">
  114. <el-button type="primary" @click="submitWork()">提交</el-button>
  115. </div>
  116. </div>
  117. <el-dialog
  118. title="修改常用意见"
  119. :visible.sync="editStatus"
  120. width="100%"
  121. :before-close="editCloses"
  122. :modal="false"
  123. :destroy-on-close="true"
  124. >
  125. <div style="overflow-y: scroll; overflow-x: hidden; height: 240px">
  126. <div
  127. v-for="(item, index) in commonlyList"
  128. :key="index"
  129. ref="common"
  130. class="flex-common"
  131. >
  132. {{ item.dataName
  133. }}<i class="el-icon-circle-close" @click="deleStatus(item)"></i>
  134. </div>
  135. <div class="flex-common">
  136. <i class="el-icon-circle-plus-outline" @click="addStatus()"></i>
  137. </div>
  138. </div>
  139. </el-dialog>
  140. </div>
  141. </template>
  142. <script>
  143. import deptTree from "./workDeptThree.vue";
  144. export default {
  145. components: {
  146. deptTree,
  147. },
  148. name: "workflow",
  149. data() {
  150. return {
  151. active: "",
  152. manyPeopleStatus: false, //多人处理下发任务
  153. editStatus: false, //常用意见控制
  154. transferStatus: false, //转派按钮控制
  155. TransferStatus: false, //是否点击转派状态
  156. copyStatus: false, //抄送按钮控制
  157. CopyStatus: false, //是否点击抄送状态
  158. node: [], //路径列表
  159. seleIndex: "1099", //点击路径下标
  160. commonlyList: [], //常用意见数组
  161. textarea: "未填写意见", //意见内容字段
  162. copyUser: "", //抄送人员列表
  163. selectUser: "", //已选人员列表
  164. treeList: [], // 待选人员列表
  165. propsList: [],
  166. nodes: [],
  167. initialList: [], //第一次进入是加载节点
  168. clicknextName: "", //获取的流程节点
  169. backThree: [],
  170. treeCopyList: [],
  171. demand: "",
  172. nextDealManList: "",
  173. isLastManStatus: false,
  174. manyReassignment: false,
  175. actives: "",
  176. };
  177. },
  178. props: {
  179. // 表格数据和表格部分属性的对象
  180. // eslint-disable-next-line vue/require-default-prop
  181. list: {
  182. type: Object,
  183. },
  184. requestForm: {
  185. type: Object,
  186. },
  187. adminResourceId: {
  188. type: String,
  189. },
  190. },
  191. created() {
  192. console.log(this.list);
  193. this.getNextPath(this.list.resourceId, 1);
  194. this.getMetirialType();
  195. },
  196. methods: {
  197. //多人转派
  198. clickManyTransfer() {
  199. (this.actives = this.actives != "" ? "" : "active"),
  200. (this.seleIndex = "1099");
  201. this.getNextPath(this.adminResourceId, 3);
  202. },
  203. async getLastManList(e) {
  204. let _this = this;
  205. let obj = {
  206. url: _this.$url.formList.getComplateLastMan, //开始工作流接口
  207. data: e,
  208. // status: "form",
  209. headers: {
  210. "Content-Type": "application/json",
  211. },
  212. };
  213. let res = await this.common.httpPost(obj, success);
  214. function success(data) {}
  215. },
  216. async nextWorks(lists, list) {
  217. let listss = {
  218. userId: this.nextDealManList, //人员id
  219. taskId: this.list.taskId, //表单标识
  220. loginstr: JSON.parse(window.sessionStorage.userInfo).loginNoStr,
  221. // taskName: this.clicknextName, //流程节点
  222. content: this.textarea, //意见内容
  223. };
  224. if (this.manyReassignment == true) {
  225. let _this = this;
  226. let obj = {
  227. url: _this.$url.formList.getNewTransferTask + _this.list.taskId, //下一步工作流接口
  228. data: listss,
  229. status: "form",
  230. };
  231. await this.common.httpPost(obj, success);
  232. function success(data) {
  233. _this.$emit("beforeClose", true);
  234. }
  235. } else {
  236. let _this = this;
  237. let obj = {
  238. url: _this.$url.formList.nextWork, //下一步工作流接口
  239. data: lists,
  240. status: "form",
  241. };
  242. await this.common.httpPost(obj, success);
  243. function success(data) {
  244. console.log(data);
  245. let updateList = {
  246. taskId: data.taskid,
  247. id: _this.list.id,
  248. resourceId: _this.nodes.currentShape[0].resourceId,
  249. tableName: _this.requestForm.processDefinitionKey,
  250. };
  251. list.taskId = data.taskid;
  252. _this.setUpdate(updateList);
  253. _this.getLastManList(list);
  254. }
  255. }
  256. },
  257. submitWork() {
  258. //多人会签处理环节
  259. let list = {
  260. userId: JSON.parse(window.sessionStorage.userInfo).loginNo, //人员id
  261. taskId: this.list.taskId, //表单标识
  262. // procinstid: this.list.processId,
  263. taskName: this.clicknextName, //流程节点
  264. userCode: JSON.parse(window.sessionStorage.userInfo).loginNo, //人员code
  265. content: this.textarea, //意见内容
  266. };
  267. let newlist = {
  268. userId: JSON.parse(window.sessionStorage.userInfo).loginNo, //人员id
  269. taskId: this.list.taskId, //表单标识
  270. // procinstid: this.list.processId,
  271. taskName: this.clicknextName, //流程节点
  272. userCode: JSON.parse(window.sessionStorage.userInfo).loginNo, //人员code
  273. content: this.textarea, //意见内容
  274. };
  275. if (this.manyPeopleStatus == true) {
  276. list.procinstid = this.list.processId;
  277. // if (this.backThree.length <= 1) {
  278. // this.$message.error("请选择多人");
  279. // return;
  280. // } else {
  281. list.lastmanList = this.nextDealManList;
  282. // }
  283. if (this.nodes.currentShape) {
  284. newlist.resolution = this.nodes.currentShape[0].condition.resolution;
  285. newlist.approve = this.nodes.currentShape[0].condition.approve;
  286. }
  287. if (this.backThree.length > 0) {
  288. newlist.nextDealMan = "admin";
  289. }
  290. this.nextWorks(newlist, list);
  291. } else {
  292. console.log(456);
  293. //生成需求决策编号
  294. if (this.clicknextName === "起草人发送") {
  295. this.getDemand();
  296. }
  297. if (!this.list.taskId) {
  298. this.$message.error("请先保存表单后处理");
  299. return false;
  300. }
  301. if (this.TransferStatus === true) {
  302. if (this.backThree.length > 0) {
  303. this.nextWork();
  304. } else {
  305. this.$message.error("请选择候选人");
  306. return false;
  307. }
  308. } else {
  309. if (this.treeCopyList.length) {
  310. //抄送
  311. list.copyman = this.treeCopyList[0].loginNoStrCopy;
  312. }
  313. if (this.isLastManStatus == true) {
  314. list.lastman = "yes";
  315. }
  316. if (this.nodes.currentShape) {
  317. list.resolution = this.nodes.currentShape[0].condition.resolution;
  318. list.approve = this.nodes.currentShape[0].condition.approve;
  319. }
  320. if (this.clicknextName === "") {
  321. this.$message.error("请选择流程节点");
  322. return false;
  323. }
  324. if (this.backThree.length > 0) {
  325. if (this.manyPeopleStatus == true) {
  326. list.nextDealManList = this.nextDealManList;
  327. } else {
  328. list.nextDealMan = this.backThree[0].loginNoStr;
  329. }
  330. } else {
  331. if (this.clicknextName === "流程结束"||this.clicknextName === "提交至任务发起人") {
  332. } else {
  333. this.$message.error("请选择候选人");
  334. return false;
  335. }
  336. }
  337. this.nextWork(list);
  338. }
  339. }
  340. },
  341. //生成需求决策编号接口
  342. getDemand() {
  343. this.$http({
  344. url: "/market/waf/getBusi",
  345. method: "post",
  346. headers: {
  347. "Content-Type": "application/json",
  348. },
  349. data: {},
  350. }).then((res) => {
  351. this.demand = res.data;
  352. });
  353. },
  354. async nextWork(list) {
  355. //e:yes||no,list:传入数组,title:结束标签,res:驳回标签,id:工单更新id
  356. let _this = this;
  357. let obj = {
  358. url: _this.$url.formList.nextWork, //下一步工作流接口
  359. data: list,
  360. status: "form",
  361. };
  362. if (_this.TransferStatus === true) {
  363. let lists = {
  364. userId: _this.backThree[0].loginNoStr,
  365. taskId: _this.list.taskId,
  366. content: _this.textarea,
  367. };
  368. obj.url = _this.$url.formList.transferTask + _this.list.taskId;
  369. obj.data = lists;
  370. }
  371. await this.common.httpPost(obj, success);
  372. function success(data) {
  373. if (data != null) {
  374. if (_this.TransferStatus === true) {
  375. let list = {
  376. taskId: data.taskid,
  377. id: _this.list.id,
  378. tableName: _this.requestForm.processDefinitionKey,
  379. };
  380. _this.setUpdate(list);
  381. } else {
  382. let list = {
  383. taskId: data.taskid,
  384. id: _this.list.id,
  385. resourceId: _this.nodes.currentShape[0].resourceId,
  386. taskName: _this.nodes.nextShapes[0].properties.name,
  387. tableName: _this.requestForm.processDefinitionKey,
  388. };
  389. if (data.copytaskid) {
  390. list.copytaskid = data.copytaskid;
  391. list.copyman = _this.treeCopyList[0].loginNoStrCopy;
  392. }
  393. if (_this.demand) {
  394. list.needNo = _this.demand;
  395. }
  396. _this.setUpdate(list);
  397. }
  398. } else {
  399. let list = {
  400. taskName: "结束",
  401. id: _this.list.id,
  402. tableName: _this.requestForm.processDefinitionKey,
  403. };
  404. _this.setUpdate(list);
  405. }
  406. }
  407. },
  408. setUpdate(e) {
  409. this.$http({
  410. url: "/market/waf/updateBase",
  411. method: "post",
  412. headers: {
  413. "Content-Type": "application/json",
  414. },
  415. data: e,
  416. }).then((res) => {
  417. this.$emit("updateForm", true);
  418. });
  419. },
  420. //查询路径接口
  421. getNextPath(e, status) {
  422. let { fresourceId, processDefinitionKey } = this.requestForm;
  423. let list = {
  424. fresourceId: fresourceId,
  425. processId: processDefinitionKey,
  426. };
  427. e ? (list.resourceId = e) : list;
  428. this.$http({
  429. url: "/market/waf/queryPath",
  430. method: "post",
  431. headers: {
  432. "Content-Type": "application/json",
  433. },
  434. data: list,
  435. }).then((res) => {
  436. if (status === 1) {
  437. //第一次进入取路径
  438. this.initialList = res.data.body;
  439. if (res.data.body.nextShapes[0].multi !== null) {
  440. if (res.data.body.nextShapes[0].multi.multi === "true") {
  441. // this.getqueryMultiTaskId();
  442. this.isLastManStatus = true;
  443. } else {
  444. this.isLastManStatus = false;
  445. }
  446. }
  447. if (res.data.body.nextShapes[0].loop !== null) {
  448. if (res.data.body.nextShapes[0].loop.loop === "true") {
  449. this.transferStatus = true; //转派按钮生效
  450. } else {
  451. this.transferStatus = false;
  452. }
  453. } else {
  454. this.transferStatus = false;
  455. }
  456. if (res.data.body.nextShapes[0].copy !== null) {
  457. if (res.data.body.nextShapes[0].copy.copy === "true") {
  458. // this.copyStatus = true; //抄送按钮生效
  459. this.CopyStatus = true;
  460. } else {
  461. this.copyStatus = false;
  462. }
  463. } else {
  464. this.copyStatus = false;
  465. }
  466. res.data.body.currentShape.map((item, index) => {
  467. this.getNextPath(item.resourceId, 2);
  468. });
  469. }
  470. if (status === 2) {
  471. if (res.data.body.nextShapes[0].condition !== null) {
  472. this.node = res.data.body;
  473. } else {
  474. this.getNextPath(res.data.body.nextShapes[0].resourceId, 2);
  475. }
  476. }
  477. if (status === 3) {
  478. this.nodes = res.data.body;
  479. this.getTreeLists(res.data.body, 1);
  480. if (res.data.body.nextShapes[0].multi !== null) {
  481. if (res.data.body.nextShapes[0].multi.multi === "true") {
  482. this.manyPeopleStatus = true; //转派按钮生效
  483. } else {
  484. this.manyPeopleStatus = false;
  485. }
  486. } else {
  487. this.manyPeopleStatus = false;
  488. }
  489. }
  490. });
  491. },
  492. //查询候选人接口
  493. getTreeLists(e, status) {
  494. let createdId = "createId";
  495. let id =
  496. e.nextShapes[0].properties.documentation === createdId
  497. ? this.list.createId
  498. : e.nextShapes[0].properties.documentation;
  499. console.log(id);
  500. this.$http({
  501. url: "/market/api/user/info/queryNodePers?params=" + id,
  502. method: "post",
  503. headers: {
  504. "Content-Type": "application/json",
  505. },
  506. data: "",
  507. }).then((res) => {
  508. console.log(status);
  509. if (status === 2) {
  510. this.treeCopyList = res.data; //抄送
  511. // this.$refs.defTrees.treeList = res.data;
  512. } else {
  513. this.treeList = res.data; //抄送
  514. // this.$refs.defTree.treeList = res.data;
  515. console.log(this.treeList);
  516. }
  517. });
  518. },
  519. //转派按钮方法
  520. clickTransfer(e) {
  521. if (e == 1) {
  522. this.TransferStatus = true;
  523. } else if (e == 2) {
  524. this.CopyStatus = true;
  525. }
  526. this.getTreeLists(this.initialList, e);
  527. },
  528. //点击节点获取下一步的处理人字段
  529. clickGetTree(e, index) {
  530. this.$refs.defTree.userList = [];
  531. this.backThree = [];
  532. this.CopyStatus = false;
  533. this.TransferStatus = false;
  534. // this.clickTaskName = e.properties.name;
  535. this.clicknextName = e.properties.name;
  536. this.seleIndex = index;
  537. this.getNextPath(e.resourceId, 3); //1 为点击后获取线
  538. },
  539. //点击常用意见方法
  540. clickCommonly(e) {
  541. this.textarea = e.currentTarget.innerHTML;
  542. },
  543. //点击修改
  544. clickEdit() {
  545. this.editStatus = true;
  546. },
  547. //选择树的回调
  548. changeTree(e) {
  549. if (this.manyPeopleStatus == true) {
  550. this.backThree = e;
  551. let arr = [];
  552. this.backThree.map((item) => {
  553. arr.push(item.loginNoStr);
  554. });
  555. this.nextDealManList = arr.toString();
  556. } else {
  557. if (e.length > 1) {
  558. this.$message.error("只能选择一个人");
  559. return;
  560. } else {
  561. this.backThree = e;
  562. if (this.CopyStatus === true) {
  563. this.getTreeLists(e[0].loginNoStr, 2);
  564. }
  565. if (e[0]) {
  566. this.selectUser = e[0].loginNameStr;
  567. } else {
  568. this.selectUser = "暂无选择";
  569. }
  570. }
  571. }
  572. },
  573. //获取字典表常用意见
  574. getMetirialType(e) {
  575. this.$http({
  576. url: "/market/cfgDataDict/queryList",
  577. method: "post",
  578. headers: {
  579. "Content-Type": "application/json",
  580. },
  581. data: {
  582. dictCodePks: "approval",
  583. },
  584. }).then((res) => {
  585. console.log(res);
  586. this.commonlyList = res.data;
  587. });
  588. },
  589. //添加字典表常用意见
  590. geaddctType(e) {
  591. this.$http({
  592. url: "/market/cfgDataDict/add",
  593. method: "post",
  594. headers: {
  595. "Content-Type": "application/json",
  596. },
  597. data: e,
  598. }).then((res) => {
  599. this.getMetirialType();
  600. });
  601. },
  602. //关闭修改
  603. editCloses() {
  604. this.editStatus = false;
  605. },
  606. //常用意见添加
  607. addStatus() {
  608. let newData = Date.parse(new Date());
  609. this.$prompt("请输入常用意见", "提示", {
  610. confirmButtonText: "确定",
  611. cancelButtonText: "取消",
  612. })
  613. .then(({ value }) => {
  614. let list = {
  615. dictCode: "approval",
  616. dataCode: newData,
  617. dataName: value,
  618. dictName: "审批意见",
  619. };
  620. this.geaddctType(list);
  621. this.$message({
  622. type: "success",
  623. message: "常用意见添加成功",
  624. });
  625. })
  626. .catch(() => {
  627. this.$message({
  628. type: "info",
  629. message: "取消输入",
  630. });
  631. });
  632. },
  633. //常用意见删除
  634. deleStatus(e) {
  635. this.$confirm("此操作将删除此常用意见, 是否继续?", "提示", {
  636. confirmButtonText: "确定",
  637. cancelButtonText: "取消",
  638. type: "warning",
  639. })
  640. .then(() => {
  641. let list = {
  642. dataCode: e.dataCode,
  643. dictCode: "approval",
  644. };
  645. this.geDelectType(list);
  646. this.$message({
  647. type: "success",
  648. message: "删除成功!",
  649. });
  650. })
  651. .catch(() => {
  652. this.$message({
  653. type: "info",
  654. message: "已取消删除",
  655. });
  656. });
  657. },
  658. //删除字典表常用意见
  659. geDelectType(e) {
  660. this.$http({
  661. url: "/market/cfgDataDicts/del",
  662. method: "post",
  663. headers: {
  664. "Content-Type": "application/json",
  665. },
  666. data: e,
  667. }).then((res) => {
  668. this.getMetirialType();
  669. });
  670. },
  671. },
  672. };
  673. </script>
  674. <style lang='scss' scoped>
  675. .flex-header-text-tree {
  676. width: 50%;
  677. text-align: center;
  678. }
  679. .flex-icon {
  680. float: right;
  681. margin-right: 20px;
  682. color: #4277a1;
  683. }
  684. .flex-handle {
  685. width: 100%;
  686. padding: 30px;
  687. display: flex;
  688. .flex-right {
  689. width: 50%;
  690. border: 1px solid #e1e1e1;
  691. margin-left: 20px;
  692. }
  693. }
  694. .flex-left {
  695. width: 50%;
  696. display: flex;
  697. flex-direction: column;
  698. .flex-left-header {
  699. display: flex;
  700. justify-content: space-around;
  701. .flex-path {
  702. height: 280px;
  703. border: 1px solid #e1e1e1;
  704. width: 68%;
  705. }
  706. }
  707. }
  708. .flex-common {
  709. padding: 10px 5%;
  710. font-size: 18px;
  711. }
  712. .flex-left-header-text {
  713. height: 40px;
  714. line-height: 40px;
  715. color: black;
  716. padding-left: 10px;
  717. background-color: #cde4f6;
  718. font-size: 18px;
  719. font-weight: bold;
  720. }
  721. .flex-path-list {
  722. overflow-y: scroll;
  723. overflow-x: hidden;
  724. height: 14rem;
  725. }
  726. .flex-slide {
  727. overflow-y: scroll;
  728. overflow-x: hidden;
  729. }
  730. .active {
  731. background-color: #f3faff;
  732. }
  733. .flex-opinion {
  734. height: 280px;
  735. border: 1px solid #e1e1e1;
  736. width: 100%;
  737. margin-top: 20px;
  738. }
  739. .flex-right-text {
  740. margin-right: 20px;
  741. width: 50%;
  742. }
  743. .flex-commons {
  744. height: 280px;
  745. border: 1px solid #e1e1e1;
  746. width: 30%;
  747. }
  748. .flex-footer-botton {
  749. display: flex;
  750. justify-content: space-evenly;
  751. }
  752. .flex-button {
  753. margin-top: 10px;
  754. margin-bottom: 10px;
  755. ::v-deep .el-button--primary {
  756. width: 222px;
  757. }
  758. }
  759. </style>