workflow.vue 22 KB

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