workflow.vue 22 KB

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