workflowBase.vue 22 KB

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