workflowBase.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  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.process_id;
  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. console.log(list);
  356. //e:yes||no,list:传入数组,title:结束标签,res:驳回标签,id:工单更新id
  357. let _this = this;
  358. let obj = {
  359. url: _this.$url.formList.nextWork, //下一步工作流接口
  360. data: list,
  361. status: "form",
  362. };
  363. if (_this.TransferStatus === true) {
  364. let lists = {
  365. userId: _this.backThree[0].loginNoStr,
  366. taskId: _this.list.taskId,
  367. content: _this.textarea,
  368. };
  369. obj.url = _this.$url.formList.transferTask + _this.list.taskId;
  370. obj.data = lists;
  371. }
  372. await this.common.httpPost(obj, success);
  373. function success(data) {
  374. if (data != null) {
  375. if (_this.TransferStatus === true) {
  376. let list = {
  377. taskId: data.taskid,
  378. id: _this.list.id,
  379. tableName: _this.requestForm.processDefinitionKey,
  380. };
  381. _this.setUpdate(list);
  382. } else {
  383. let list = {
  384. taskId: data.taskid,
  385. id: _this.list.id,
  386. resourceId: _this.nodes.currentShape[0].resourceId,
  387. taskName: _this.nodes.nextShapes[0].properties.name,
  388. tableName: _this.requestForm.processDefinitionKey,
  389. };
  390. if (data.copytaskid) {
  391. list.copytaskid = data.copytaskid;
  392. list.copyman = _this.treeCopyList[0].loginNoStrCopy;
  393. }
  394. if (_this.demand) {
  395. list.needNo = _this.demand;
  396. }
  397. _this.setUpdate(list);
  398. }
  399. } else {
  400. let list = {
  401. taskName: "结束",
  402. id: _this.list.id,
  403. tableName: _this.requestForm.processDefinitionKey,
  404. };
  405. _this.setUpdate(list);
  406. }
  407. }
  408. },
  409. setUpdate(e) {
  410. this.$http({
  411. url: "/market/waf/updateBase",
  412. method: "post",
  413. headers: {
  414. "Content-Type": "application/json",
  415. },
  416. data: e,
  417. }).then((res) => {
  418. this.$emit("updateForm", true);
  419. });
  420. },
  421. //查询路径接口
  422. getNextPath(e, status) {
  423. let { fresourceId, processDefinitionKey } = this.requestForm;
  424. let list = {
  425. fresourceId: fresourceId,
  426. processId: processDefinitionKey,
  427. };
  428. e ? (list.resourceId = e) : list;
  429. this.$http({
  430. url: "/market/waf/queryPath",
  431. method: "post",
  432. headers: {
  433. "Content-Type": "application/json",
  434. },
  435. data: list,
  436. }).then((res) => {
  437. if (status === 1) {
  438. //第一次进入取路径
  439. this.initialList = res.data.body;
  440. if (res.data.body.nextShapes[0].multi !== null) {
  441. if (res.data.body.nextShapes[0].multi.multi === "true") {
  442. // this.getqueryMultiTaskId();
  443. this.isLastManStatus = true;
  444. } else {
  445. this.isLastManStatus = false;
  446. }
  447. }
  448. if (res.data.body.nextShapes[0].loop !== null) {
  449. if (res.data.body.nextShapes[0].loop.loop === "true") {
  450. this.transferStatus = true; //转派按钮生效
  451. } else {
  452. this.transferStatus = false;
  453. }
  454. } else {
  455. this.transferStatus = false;
  456. }
  457. if (res.data.body.nextShapes[0].copy !== null) {
  458. if (res.data.body.nextShapes[0].copy.copy === "true") {
  459. // this.copyStatus = true; //抄送按钮生效
  460. this.CopyStatus = true;
  461. } else {
  462. this.copyStatus = false;
  463. }
  464. } else {
  465. this.copyStatus = false;
  466. }
  467. res.data.body.currentShape.map((item, index) => {
  468. this.getNextPath(item.resourceId, 2);
  469. });
  470. }
  471. if (status === 2) {
  472. if (res.data.body.nextShapes[0].condition !== null) {
  473. this.node = res.data.body;
  474. } else {
  475. this.getNextPath(res.data.body.nextShapes[0].resourceId, 2);
  476. }
  477. }
  478. if (status === 3) {
  479. this.nodes = res.data.body;
  480. this.getTreeLists(res.data.body, 1);
  481. if (res.data.body.nextShapes[0].multi !== null) {
  482. if (res.data.body.nextShapes[0].multi.multi === "true") {
  483. this.manyPeopleStatus = true; //转派按钮生效
  484. } else {
  485. this.manyPeopleStatus = false;
  486. }
  487. } else {
  488. this.manyPeopleStatus = false;
  489. }
  490. }
  491. });
  492. },
  493. //查询候选人接口
  494. getTreeLists(e, status) {
  495. let createdId = "createId";
  496. let id =
  497. e.nextShapes[0].properties.documentation === createdId
  498. ? this.list.createId
  499. : e.nextShapes[0].properties.documentation;
  500. console.log(id);
  501. this.$http({
  502. url: "/market/api/user/info/queryNodePers?params=" + id,
  503. method: "post",
  504. headers: {
  505. "Content-Type": "application/json",
  506. },
  507. data: "",
  508. }).then((res) => {
  509. console.log(status);
  510. if (status === 2) {
  511. this.treeCopyList = res.data; //抄送
  512. // this.$refs.defTrees.treeList = res.data;
  513. } else {
  514. this.treeList = res.data; //抄送
  515. // this.$refs.defTree.treeList = res.data;
  516. console.log(this.treeList);
  517. }
  518. });
  519. },
  520. //转派按钮方法
  521. clickTransfer(e) {
  522. if (e == 1) {
  523. this.TransferStatus = true;
  524. } else if (e == 2) {
  525. this.CopyStatus = true;
  526. }
  527. this.getTreeLists(this.initialList, e);
  528. },
  529. //点击节点获取下一步的处理人字段
  530. clickGetTree(e, index) {
  531. this.$refs.defTree.userList = [];
  532. this.backThree = [];
  533. this.CopyStatus = false;
  534. this.TransferStatus = false;
  535. // this.clickTaskName = e.properties.name;
  536. this.clicknextName = e.properties.name;
  537. console.log(this.clicknextName);
  538. this.seleIndex = index;
  539. this.getNextPath(e.resourceId, 3); //1 为点击后获取线
  540. },
  541. //点击常用意见方法
  542. clickCommonly(e) {
  543. this.textarea = e.currentTarget.innerHTML;
  544. },
  545. //点击修改
  546. clickEdit() {
  547. this.editStatus = true;
  548. },
  549. //选择树的回调
  550. changeTree(e) {
  551. if (this.manyPeopleStatus == true) {
  552. this.backThree = e;
  553. let arr = [];
  554. this.backThree.map((item) => {
  555. arr.push(item.loginNoStr);
  556. });
  557. this.nextDealManList = arr.toString();
  558. } else {
  559. if (e.length > 1) {
  560. this.$message.error("只能选择一个人");
  561. return;
  562. } else {
  563. this.backThree = e;
  564. if (this.CopyStatus === true) {
  565. this.getTreeLists(e[0].loginNoStr, 2);
  566. }
  567. if (e[0]) {
  568. this.selectUser = e[0].loginNameStr;
  569. } else {
  570. this.selectUser = "暂无选择";
  571. }
  572. }
  573. }
  574. },
  575. //获取字典表常用意见
  576. getMetirialType(e) {
  577. this.$http({
  578. url: "/market/cfgDataDict/queryList",
  579. method: "post",
  580. headers: {
  581. "Content-Type": "application/json",
  582. },
  583. data: {
  584. dictCodePks: "approval",
  585. },
  586. }).then((res) => {
  587. console.log(res);
  588. this.commonlyList = res.data;
  589. });
  590. },
  591. //添加字典表常用意见
  592. geaddctType(e) {
  593. this.$http({
  594. url: "/market/cfgDataDict/add",
  595. method: "post",
  596. headers: {
  597. "Content-Type": "application/json",
  598. },
  599. data: e,
  600. }).then((res) => {
  601. this.getMetirialType();
  602. });
  603. },
  604. //关闭修改
  605. editCloses() {
  606. this.editStatus = false;
  607. },
  608. //常用意见添加
  609. addStatus() {
  610. let newData = Date.parse(new Date());
  611. this.$prompt("请输入常用意见", "提示", {
  612. confirmButtonText: "确定",
  613. cancelButtonText: "取消",
  614. })
  615. .then(({ value }) => {
  616. let list = {
  617. dictCode: "approval",
  618. dataCode: newData,
  619. dataName: value,
  620. dictName: "审批意见",
  621. };
  622. this.geaddctType(list);
  623. this.$message({
  624. type: "success",
  625. message: "常用意见添加成功",
  626. });
  627. })
  628. .catch(() => {
  629. this.$message({
  630. type: "info",
  631. message: "取消输入",
  632. });
  633. });
  634. },
  635. //常用意见删除
  636. deleStatus(e) {
  637. this.$confirm("此操作将删除此常用意见, 是否继续?", "提示", {
  638. confirmButtonText: "确定",
  639. cancelButtonText: "取消",
  640. type: "warning",
  641. })
  642. .then(() => {
  643. let list = {
  644. dataCode: e.dataCode,
  645. dictCode: "approval",
  646. };
  647. this.geDelectType(list);
  648. this.$message({
  649. type: "success",
  650. message: "删除成功!",
  651. });
  652. })
  653. .catch(() => {
  654. this.$message({
  655. type: "info",
  656. message: "已取消删除",
  657. });
  658. });
  659. },
  660. //删除字典表常用意见
  661. geDelectType(e) {
  662. this.$http({
  663. url: "/market/cfgDataDicts/del",
  664. method: "post",
  665. headers: {
  666. "Content-Type": "application/json",
  667. },
  668. data: e,
  669. }).then((res) => {
  670. this.getMetirialType();
  671. });
  672. },
  673. },
  674. };
  675. </script>
  676. <style lang='scss' scoped>
  677. .flex-header-text-tree {
  678. width: 50%;
  679. text-align: center;
  680. }
  681. .flex-icon {
  682. float: right;
  683. margin-right: 20px;
  684. color: #4277a1;
  685. }
  686. .flex-handle {
  687. width: 100%;
  688. padding: 30px;
  689. display: flex;
  690. .flex-right {
  691. width: 50%;
  692. border: 1px solid #e1e1e1;
  693. margin-left: 20px;
  694. }
  695. }
  696. .flex-left {
  697. width: 50%;
  698. display: flex;
  699. flex-direction: column;
  700. .flex-left-header {
  701. display: flex;
  702. justify-content: space-around;
  703. .flex-path {
  704. height: 280px;
  705. border: 1px solid #e1e1e1;
  706. width: 68%;
  707. }
  708. }
  709. }
  710. .flex-common {
  711. padding: 10px 5%;
  712. font-size: 18px;
  713. }
  714. .flex-left-header-text {
  715. height: 40px;
  716. line-height: 40px;
  717. color: black;
  718. padding-left: 10px;
  719. background-color: #cde4f6;
  720. font-size: 18px;
  721. font-weight: bold;
  722. }
  723. .flex-path-list {
  724. overflow-y: scroll;
  725. overflow-x: hidden;
  726. height: 14rem;
  727. }
  728. .flex-slide {
  729. overflow-y: scroll;
  730. overflow-x: hidden;
  731. }
  732. .active {
  733. background-color: #f3faff;
  734. }
  735. .flex-opinion {
  736. height: 280px;
  737. border: 1px solid #e1e1e1;
  738. width: 100%;
  739. margin-top: 20px;
  740. }
  741. .flex-right-text {
  742. margin-right: 20px;
  743. width: 50%;
  744. }
  745. .flex-commons {
  746. height: 280px;
  747. border: 1px solid #e1e1e1;
  748. width: 30%;
  749. }
  750. .flex-footer-botton {
  751. display: flex;
  752. justify-content: space-evenly;
  753. }
  754. .flex-button {
  755. margin-top: 10px;
  756. margin-bottom: 10px;
  757. ::v-deep .el-button--primary {
  758. width: 222px;
  759. }
  760. }
  761. </style>