processMange.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697
  1. <template>
  2. <div class="process-mange-wrap">
  3. <!-- <el-card shadow="always" :body-style="{ padding: '20px' }"> -->
  4. <el-row>
  5. <el-col :xs="24" :md="8" :xl="8" class="col">
  6. <div class="statistic-wrap">
  7. <div class="discription">
  8. <span class="title">我的处理</span>
  9. <span class="sub-title">需要我处理的管道</span>
  10. </div>
  11. <span class="data">{{ tableData.length }}</span>
  12. </div>
  13. </el-col>
  14. <el-col :xs="24" :md="8" :xl="8" class="col">
  15. <div class="statistic-wrap">
  16. <div class="discription">
  17. <span class="title">其它处理</span>
  18. <span class="sub-title">需要其他人处理的管道</span>
  19. </div>
  20. <span class="data">0</span>
  21. </div>
  22. </el-col>
  23. <el-col :xs="24" :md="8" :xl="8" class="col">
  24. <div class="statistic-wrap">
  25. <div class="discription">
  26. <span class="title">完成</span>
  27. <span class="sub-title">已经完成的管道</span>
  28. </div>
  29. <span class="data">0</span>
  30. </div>
  31. </el-col>
  32. </el-row>
  33. <!-- </el-card> -->
  34. <div class="main-area">
  35. <div class="show-header">
  36. <h3 class="header">管道列表</h3>
  37. <div class="search-list">
  38. <div class="search-tab">
  39. <el-radio-group v-model="taskType">
  40. <el-radio-button :label="1">我的处理</el-radio-button>
  41. <el-radio-button :label="2">其他处理</el-radio-button>
  42. </el-radio-group>
  43. <el-radio-group
  44. class="btn-list-two"
  45. v-model="queryParams.taskProcessState"
  46. @change="getList"
  47. >
  48. <el-radio-button label="3">已完成</el-radio-button>
  49. <el-radio-button label="0">进行中</el-radio-button>
  50. <el-radio-button label="">所有</el-radio-button>
  51. </el-radio-group>
  52. </div>
  53. <div class="search-input">
  54. <el-input placeholder="请输入..." v-model="queryString">
  55. <el-button
  56. slot="append"
  57. icon="el-icon-search"
  58. @click="getList"
  59. ></el-button>
  60. </el-input>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="show-body">
  65. <!-- 流程任务列表 -->
  66. <el-table :data="tableData" border stripe>
  67. <el-table-column type="selection" width="55" align="center" />
  68. <el-table-column type="index" width="50" align="center" />
  69. <el-table-column
  70. v-for="col in columns"
  71. :prop="col.prop"
  72. :key="col.prop"
  73. :label="col.label"
  74. align="center"
  75. >
  76. <template slot-scope="scope">
  77. <span v-if="col.prop == 'benCreateTime'">{{
  78. scope.row.benCreateTime.replace("T", " ")
  79. }}</span>
  80. <span v-else-if="col.prop == 'bepTaskProcessType'">{{
  81. getDictLabel(scope.row.bepTaskProcessType, dict.type.bpm_type)
  82. }}</span>
  83. <span v-else-if="col.prop == 'benTaskNodeState'">{{
  84. scope.row.benTaskNodeState == "0" ? "未执行" : "已执行"
  85. }}</span>
  86. <span v-else-if="col.prop == 'bepTaskProcessState'">{{
  87. getDictLabel(
  88. scope.row.bepTaskProcessState,
  89. dict.type.task_process_state
  90. )
  91. }}</span>
  92. <span v-else>{{ scope.row[col.prop] }}</span>
  93. </template>
  94. </el-table-column>
  95. <el-table-column label="操作" align="center">
  96. <template slot-scope="scope">
  97. <div class="excute-wrap">
  98. <el-button
  99. type="warning"
  100. plain
  101. size="small"
  102. class="mr10 mb5"
  103. v-show="scope.row.bepTaskProcessState == '0'"
  104. @click="opneExecuteNode(scope.row)"
  105. >
  106. 运行
  107. </el-button>
  108. <el-dropdown>
  109. <el-button type="warning" plain size="small">
  110. 处理<i class="el-icon-arrow-down el-icon--right"></i>
  111. </el-button>
  112. <el-dropdown-menu slot="dropdown">
  113. <!-- <el-dropdown-item>
  114. <el-button
  115. size="mini"
  116. type="text"
  117. icon="el-icon-edit"
  118. @click="excuteHandler(scope.row)"
  119. v-hasPermi="['system:user:edit']"
  120. >处理
  121. </el-button>
  122. </el-dropdown-item> -->
  123. <el-dropdown-item>
  124. <el-dropdown size="mini">
  125. <el-button
  126. size="mini"
  127. type="text"
  128. icon="el-icon-d-arrow-right"
  129. >触发异常
  130. </el-button>
  131. <el-dropdown-menu slot="dropdown">
  132. <el-dropdown-item
  133. v-for="item in scope.row.exceptionScriptList"
  134. :key="item.id"
  135. >
  136. <el-button
  137. @click="exceptionTrigger(scope.row, item)"
  138. size="mini"
  139. type="text"
  140. >{{ item.scriptName }}
  141. </el-button>
  142. </el-dropdown-item>
  143. </el-dropdown-menu>
  144. </el-dropdown>
  145. </el-dropdown-item>
  146. </el-dropdown-menu>
  147. </el-dropdown>
  148. </div>
  149. </template>
  150. </el-table-column>
  151. </el-table>
  152. <!-- 分页 -->
  153. <pagination
  154. v-show="total > 0"
  155. :total="total"
  156. :page.sync="queryParams.pageNum"
  157. :limit.sync="queryParams.pageSize"
  158. @pagination="getList"
  159. />
  160. </div>
  161. <div class="show-window">
  162. <!-- 运行节点弹窗 -->
  163. <el-dialog :title="nodeTitle" :visible.sync="open">
  164. <!-- <el-form label-width="100px" :model="commonData">
  165. <h1>这里会引入当前节点需要处理的表单</h1>
  166. </el-form> -->
  167. <!-- <k-form-build
  168. v-if="formType == 'dragForm'"
  169. class="formBuild"
  170. ref="addFromRef"
  171. :dynamicData="dynamicData"
  172. :defaultValue="defaultValue"
  173. :value="jsonData"
  174. /> -->
  175. <!-- <DialogTemplate
  176. v-else-if="formType == 'composeForm'"
  177. ref="dialogRef"
  178. :groupKey="groupKey"
  179. :rowobj="row"
  180. :subCount="subCount"
  181. :tableCount="tableCount"
  182. :subTableName="subTableName"
  183. @addList="() => {}"
  184. ></DialogTemplate> -->
  185. <!-- ></DialogTemplate> -->
  186. <component
  187. :is="myForm"
  188. :formData="formData"
  189. :row="row"
  190. ref="myFormRef"
  191. v-if="myForm"
  192. ></component>
  193. <!-- <AssignEmployees :formData="formData"
  194. :row="row"></AssignEmployees> -->
  195. <!-- <NodeShow ref="myFormRef" :formData="formData" :row="row"></NodeShow>
  196. -->
  197. <!-- <SC01 :formData="formData"
  198. :row="row"></SC01> -->
  199. <!-- <AssignEmployees></AssignEmployees> -->
  200. <!-- <CG1 ref="myFormRef"></CG1>
  201. <KC1 ref="myFormRef"></KC1> -->
  202. <!-- <GY06 ref="myFormRef" :formData="formData" :row="row"></GY06> -->
  203. <span slot="footer" class="dialog-footer">
  204. <el-button @click="closeExecuteNode">取消</el-button>
  205. <el-button type="primary" @click="executeNode">运行</el-button>
  206. </span>
  207. </el-dialog>
  208. </div>
  209. </div>
  210. </div>
  211. </template>
  212. <script>
  213. import {
  214. processList,
  215. runProcessNodeExecution,
  216. getProcessNodeFormTemplate,
  217. getProcessNodeFormInfoData,
  218. } from "@/api/bpmprocess/run/executeProcess";
  219. import { triggerExceptionNode } from "@/api/bpmprocess/process";
  220. import getNodeSequence from "@/utils/bpmn/getNodeSequence";
  221. import GY02 from "./dialogCompments/GongYi/GY02.vue";
  222. import ZL01 from "./dialogCompments/ZhiLiang/ZL1.vue";
  223. import { getForm } from "@/api/dragform/form";
  224. import DialogTemplate from "@/views/dialogTemplate/components/index.vue";
  225. // 弹窗表单组件
  226. import GY01 from "./dialogCompments/GongYi/GY01.vue";
  227. import GY03 from "./dialogCompments/GongYi/GY03.vue";
  228. import CG1 from "./dialogCompments/test-component/CaiGou/CG1.vue";
  229. import CG02 from "./dialogCompments/test-component/CaiGou/CG02.vue";
  230. import KC01 from "./dialogCompments/test-component/KuCun/KC1.vue";
  231. import KC02 from "./dialogCompments/test-component/KuCun/KC02.vue";
  232. import GY06 from "./dialogCompments/GongYi/GY06.vue";
  233. import KB01 from "./dialogCompments/KongBai/KB01.vue"; //空白提示组件
  234. import SC01 from "./dialogCompments/ShengChan/SC01.vue";
  235. //Mec组件
  236. import AssignEmployees from "./dialogCompments/Mec/AssignEmployees.vue";
  237. import Notes from "./dialogCompments/Mec/Notes.vue";
  238. import Print from "./dialogCompments/Mec/Print.vue";
  239. import NodeShow from "./dialogCompments/Mec/NodeShow.vue";
  240. import RecordQuality from "./dialogCompments/Mec/RecordQuality.vue";
  241. import ProductionProcesses from "./dialogCompments/Mec/ProductionProcesses.vue";
  242. export default {
  243. name: "processMange",
  244. props: [],
  245. components: {
  246. GY01,
  247. DialogTemplate,
  248. CG1,
  249. CG02,
  250. KC01,
  251. GY06,
  252. GY03,
  253. KC02,
  254. GY02,
  255. KB01,
  256. SC01,
  257. ZL01,
  258. NodeShow,
  259. AssignEmployees,
  260. Notes,
  261. Print,
  262. RecordQuality,
  263. ProductionProcesses,
  264. },
  265. dicts: ["bpm_type", "task_process_state"],
  266. data() {
  267. return {
  268. row: {}, //当前操作行数据
  269. myForm: "", //自定义表单组件名
  270. // 节点弹窗title
  271. nodeTitle: "节点弹窗",
  272. open: false,
  273. // 节点弹窗对应的formData
  274. commonData: {},
  275. taskType: 1,
  276. queryString: "",
  277. taskStatus: "",
  278. tableData: [], //表格数据
  279. // 查询参数
  280. queryParams: {
  281. pageNum: 1,
  282. pageSize: 10,
  283. taskProcessState: "0",
  284. },
  285. total: 0,
  286. columns: [
  287. {
  288. prop: "bepTaskKey",
  289. label: "任务编号",
  290. },
  291. {
  292. prop: "bepTaskName",
  293. label: "任务名称",
  294. },
  295. {
  296. prop: "bepTaskProcessType",
  297. label: "任务流程类型",
  298. },
  299. {
  300. prop: "bepTaskProcessState",
  301. label: "任务流程状态",
  302. },
  303. {
  304. prop: "benTaskNodeName",
  305. label: "节点名称",
  306. },
  307. {
  308. prop: "benTaskNodeType",
  309. label: "节点类型",
  310. },
  311. {
  312. prop: "benTaskNodeState",
  313. label: "节点状态",
  314. },
  315. {
  316. prop: "benCreateBy",
  317. label: "创建人",
  318. },
  319. {
  320. prop: "benCreateTime",
  321. label: "创建时间",
  322. },
  323. ],
  324. formType: "", //表单类型 dragForm:拖拽表单 composeForm:工艺组合表单 designForm:定制表单
  325. // k-form-build 数据
  326. dynamicData: {},
  327. tableName: "",
  328. defaultValue: {},
  329. jsonData: {},
  330. // 拖拽数据
  331. taskInfo: {},
  332. groupKey: "",
  333. subCount: {},
  334. tableCount: {},
  335. subTableName: "",
  336. // 弹窗表单渲染数据
  337. formData: {},
  338. backExceptionTaskList: ["GY06"], //特殊回退表单组件列表
  339. };
  340. },
  341. computed: {},
  342. mounted() {
  343. this.getList();
  344. },
  345. methods: {
  346. // 获取列表数据
  347. getList() {
  348. processList(this.queryParams).then((res) => {
  349. if (res.code == 200) {
  350. this.tableData = res.rows.map((item) => item.resultMap);
  351. this.total = res.total;
  352. console.log(this.tableData);
  353. } else {
  354. this.$message.error("网络异常,请稍后再试");
  355. }
  356. });
  357. },
  358. // 获取表单数据
  359. async getFormData() {
  360. let formData = {};
  361. // switch (this.formType) {
  362. // case "dragForm":
  363. // try {
  364. // formData = await this.$refs.addFromRef.getData();
  365. // } catch (error) {
  366. // console.log(error);
  367. // this.$message.error("表单校验异常,请稍后重试");
  368. // return {};
  369. // }
  370. // break;
  371. // case "designForm":
  372. // let temp = await this.$refs.myFormRef.getFormData();
  373. // if (!temp.flag) {
  374. // this.$message.error(temp.msg);
  375. // return {};
  376. // } else {
  377. // formData = temp.data;
  378. // }
  379. // break;
  380. // default:
  381. // break;
  382. // }
  383. console.log(this.$refs.myFormRef);
  384. let temp = await this.$refs.myFormRef?.getFormData();
  385. console.log('temp',temp);
  386. if (!temp?.flag) {
  387. this.$message.error(temp.msg);
  388. return false;
  389. } else {
  390. formData = temp.data;
  391. }
  392. return formData;
  393. },
  394. // 重置弹窗数据
  395. resetDialogForm() {
  396. this.formType = ""; //表单类型 dragForm:拖拽表单 composeForm:工艺组合表单 designForm:定制表单
  397. // k-form-build 数据
  398. this.dynamicData = {};
  399. this.defaultValue = {};
  400. this.jsonData = {};
  401. },
  402. // 打开运行节点弹窗
  403. async opneExecuteNode(row) {
  404. this.resetDialogForm();
  405. console.log(row);
  406. this.nodeTitle = row.benTaskNodeName;
  407. // let preFix = row.benTaskNodeName.split("-")[0];
  408. let preFix = row.benTaskNodeFormKey;
  409. let {
  410. benTaskNodeFormKey,
  411. benTaskNodeFormType,
  412. bepTaskPlanKey,
  413. bepTaskKey,
  414. bepTaskNodeKey,
  415. benTaskProcessKey,
  416. benmTaskAutomaticScriptTriggerType,
  417. bepTaskNodeNextKey,
  418. } = row;
  419. // 新的运行逻辑
  420. let payLoad = {
  421. taskNodeKey: bepTaskNodeNextKey,
  422. taskProcessKey: benTaskProcessKey,
  423. taskAutomaticScriptTriggerType: benmTaskAutomaticScriptTriggerType,
  424. taskPlanKey: bepTaskPlanKey,
  425. };
  426. // let formData = await getProcessNodeFormTemplate(payLoad);
  427. // console.log(formData);
  428. // if (benTaskNodeFormKey) {
  429. // if (benTaskNodeFormType == "dragForm") {
  430. // let templateInfo = formData.data[0]?.template;
  431. // //拖拽表单
  432. // this.formType = "dragForm";
  433. // this.jsonData = JSON.parse(templateInfo.dfVueTemplate);
  434. // this.tableName = templateInfo.dfTableName;
  435. // if (Object.keys(JSON.parse(templateInfo.dfFormSql)).length) {
  436. // this.dynamicData = JSON.parse(templateInfo.dfFormSql);
  437. // }
  438. // // await this.getDragFormInfo(benTaskNodeFormKey);
  439. // } else if (benTaskNodeFormType == "composeForm") {
  440. // //工艺组合表单
  441. // this.formType = "composeForm";
  442. // this.groupKey = benTaskNodeFormKey;
  443. // let queryPayload = {
  444. // row,
  445. // groupKey: benTaskNodeFormKey,
  446. // };
  447. // this.$nextTick(() => {
  448. // this.$refs.dialogRef.getLists(queryPayload);
  449. // });
  450. // }
  451. // } else if (preFix) {
  452. // //定制表单
  453. // this.formType = "designForm";
  454. // this.myForm = preFix;
  455. // }
  456. //定制表单
  457. this.formType = "designForm";
  458. this.myForm = preFix;
  459. let res = await getProcessNodeFormInfoData(payLoad);
  460. if (res.code == 200) {
  461. this.formData = res.data;
  462. } else {
  463. this.$message.error("网络异常,请稍后再试");
  464. }
  465. this.row = row; //记录当前行数据
  466. // if (!this.formType) return; //没有表单,直接掉运行逻辑
  467. this.open = true; // 打开弹窗
  468. this.$nextTick(() => {
  469. this.$refs.myFormRef?.resetForm();
  470. });
  471. // 根据当前节点绑定的表单信息查询对应的表单进行展示
  472. },
  473. // 运行节点按钮 确认运行回调
  474. async executeNode() {
  475. let { benTaskNodeKey, bepTaskProcessXmlContent, implementationName } =
  476. this.row;
  477. let { nodeId, nextNodeId } = this.getNextNodeKey(
  478. benTaskNodeKey,
  479. bepTaskProcessXmlContent
  480. );
  481. // 只有完成状态的可以运行
  482. if (this.formType == "composeForm") {
  483. let res = this.$refs.dialogRef.getComposeFormData();
  484. if (!res.isSuccess) {
  485. this.$message.warning("非完成状态节点不能运行!");
  486. return;
  487. }
  488. }
  489. // return;
  490. let formData = await this.getFormData();
  491. if (!formData) return;
  492. formData.taskPlanKey = this.row.bepTaskPlanKey;
  493. let payLoad = {
  494. taskProcessKey: this.row.bepTaskKey, //当前任务流程编码
  495. taskNodeKey: nodeId, //当前执行节点唯一编码
  496. nextNodeKey: nextNodeId, //下一节点编码
  497. implementationName: this.row.benmTaskAutomaticScriptTriggerType, //当前节点绑定的脚本名
  498. // taskProcessXmlContent: this.row.bepTaskProcessXmlContent, //当前流程xml
  499. tableName: this.tableName,
  500. formDataMap: JSON.stringify(formData), //自定义表单组件收集的表单数据
  501. taskNodeType: this.backExceptionTaskList.includes(
  502. this.row.benTaskNodeFormKey
  503. )
  504. ? "backExceptionTask"
  505. : this.row.benTaskNodeType,
  506. };
  507. let fileXML = new File(
  508. [this.row.bepTaskProcessXmlContent],
  509. this.row.bepTaskKey + ".bpmn",
  510. {
  511. type: "text/bpmn",
  512. }
  513. );
  514. const subformData = new FormData();
  515. subformData.append("fileXML", fileXML);
  516. for (let key in payLoad) {
  517. subformData.append(key, payLoad[key] == null ? "" : payLoad[key]);
  518. }
  519. runProcessNodeExecution(subformData).then((res) => {
  520. if (res.code == 200) {
  521. this.$message.success("运行成功!");
  522. this.getList();
  523. this.open = false;
  524. }
  525. });
  526. },
  527. // 获取拖拽表单数据
  528. async getDragFormInfo(fid) {
  529. try {
  530. let res = await getForm(fid);
  531. console.log(res);
  532. if (res.code == 200) {
  533. this.jsonData = JSON.parse(res.data.dfVueTemplate);
  534. this.tableName = res.data.dfTableName;
  535. if (res.data.dfFormSql) {
  536. this.dynamicData = JSON.parse(res.data.dfFormSql);
  537. console.log(this.dynamicData);
  538. }
  539. } else {
  540. console.log(res);
  541. throw new Error(res);
  542. }
  543. } catch (error) {
  544. console.log(error);
  545. this.$message.error("网络异常,请稍后再试");
  546. }
  547. },
  548. // 关闭运行节点弹窗
  549. closeExecuteNode(row) {
  550. this.open = false;
  551. },
  552. // 获取下一个节点的nodekey
  553. getNextNodeKey(nodeKey, xmlStr) {
  554. let xmlObj = this.xmlStr2XmlObj(xmlStr);
  555. let nodeSequence = getNodeSequence(xmlObj);
  556. return nodeSequence.find((item) => item.nodeId == nodeKey) || {};
  557. },
  558. // xml字符串转xml对象
  559. xmlStr2XmlObj(xmlStr) {
  560. var xmlObj = {};
  561. if (document.all) {
  562. var xmlDom = new ActiveXObject("Microsoft.XMLDOM");
  563. xmlDom.loadXML(xmlStr);
  564. xmlObj = xmlDom;
  565. } else {
  566. xmlObj = new DOMParser().parseFromString(xmlStr, "text/xml");
  567. }
  568. return xmlObj;
  569. },
  570. // 触发异常回调
  571. exceptionTrigger(row, scriptData) {
  572. let _this = this;
  573. this.$modal
  574. .confirm("是否确认触发<" + scriptData.scriptName + ">异常?")
  575. .then(function (val) {
  576. console.log(val);
  577. // 发送触发异常节点的请求
  578. let payLoad = {
  579. taskProcessKey: row.bepTaskKey,
  580. taskNodeKey: row.benTaskNodeKey,
  581. sysBpmNodeScriptVO: scriptData,
  582. };
  583. triggerExceptionNode(payLoad).then((res) => {
  584. console.log(res);
  585. if (res.code == 200) {
  586. _this.$message.success("触发成功");
  587. _this.open = false;
  588. _this.getList();
  589. } else {
  590. _this.$message.error("触发失败请稍后再试");
  591. }
  592. });
  593. })
  594. .catch(() => {
  595. _this.open = false;
  596. _this.$message.info("取消成功");
  597. });
  598. },
  599. // 获取字典对应label
  600. getDictLabel(value, dictLsit = []) {
  601. return dictLsit.find((item) => {
  602. return item.value == value;
  603. })?.label;
  604. },
  605. },
  606. };
  607. </script>
  608. <style scoped lang="scss">
  609. .process-mange-wrap {
  610. background-color: #f2f3f8;
  611. padding: 20px;
  612. .col {
  613. background-color: #fff;
  614. border-right: 1px solid #ebedf2;
  615. /* margin-right: 3px; */
  616. .statistic-wrap {
  617. /* // height: 70px; */
  618. box-sizing: border-box;
  619. display: flex;
  620. align-items: center;
  621. padding: 10px 17px;
  622. justify-content: space-between;
  623. .discription {
  624. display: flex;
  625. flex-direction: column;
  626. .title {
  627. line-height: 20px;
  628. font-size: 18px;
  629. font-weight: 700;
  630. margin-bottom: 5px;
  631. }
  632. .sub-title {
  633. font-size: 14px;
  634. }
  635. }
  636. .data {
  637. font-size: 20px;
  638. font-weight: 700;
  639. }
  640. }
  641. }
  642. .main-area {
  643. margin-top: 30px;
  644. box-shadow: 0 1px 15px 1px rgb(69 65 78 / 8%);
  645. background-color: #fff;
  646. .show-header {
  647. border-bottom: 1px solid #ebedf2;
  648. display: flex;
  649. align-items: center;
  650. justify-content: space-between;
  651. padding: 0px 20px 0px 20px;
  652. height: 70px;
  653. /* .header {
  654. } */
  655. .search-list {
  656. display: flex;
  657. .search-tab {
  658. margin-right: 20px;
  659. .btn-list-two {
  660. margin-left: 10px;
  661. }
  662. }
  663. }
  664. }
  665. .show-body {
  666. padding: 25px;
  667. }
  668. }
  669. }
  670. </style>