index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. <template>
  2. <div class="processApproval">
  3. <div class="left-card">
  4. <div class="top">
  5. <div class="commons-title title">
  6. {{ route.query.flowName || "流程标题(发起)" }}
  7. </div>
  8. <div class="line"></div>
  9. <SendSubscribe ref="makeDom" @auxiliaryChange='(e) => getAuxiliaryData(e)' v-if="flowForm.flowKey == 'subscribe_flow'" :queryData="queryData.data"></SendSubscribe>
  10. <SendPurchase ref="makeDom" @auxiliaryChange='(e) => getAuxiliaryData(e)' v-else-if="flowForm.flowKey == 'purchase_flow'" :queryData="queryData.data"></SendPurchase>
  11. <SendFunds ref="makeDom" v-else-if="flowForm.flowKey == 'account_request_funds_flow'" :queryData="queryData.data"></SendFunds>
  12. <ReturnGood ref="makeDom" v-else-if="flowForm.flowKey == 'sales_return_flow'" :queryData="queryData.data"></ReturnGood>
  13. <PurchaseRefund ref="makeDom" v-else-if="flowForm.flowKey == 'refund_flow'" :queryData="queryData.data"></PurchaseRefund>
  14. <PurchasePayment ref="makeDom" @auxiliaryChange='(e) => getAuxiliaryData(e)' v-else-if="flowForm.flowKey == 'pay_flow'" :queryData="queryData.data"></PurchasePayment>
  15. <template v-else-if="flowForm.flowKey == 'sale_quotation_flow'">
  16. <PriceSheetEHSD ref="makeDom" v-if="flowForm.tenantType === 'EHSD'" :queryData="queryData.data"></PriceSheetEHSD>
  17. <PriceSheet ref="makeDom" v-else :queryData="queryData.data"></PriceSheet>
  18. </template>
  19. <template v-else-if="flowForm.flowKey == 'contract_flow'">
  20. <ContractEHSD ref="makeDom" v-if="flowForm.tenantType === 'EHSD'" :queryData="queryData.data"></ContractEHSD>
  21. <Contract ref="makeDom" v-else :queryData="queryData.data" @auxiliaryChange='(e) => getAuxiliaryData(e)'></Contract>
  22. </template>
  23. <template v-else-if="flowForm.flowKey == 'sample_flow'">
  24. <SampleEHSD ref="makeDom" :queryData="queryData.data"></SampleEHSD>
  25. </template>
  26. <template v-else-if="flowForm.flowKey == 'ehsd_purchase_flow'">
  27. <PurchaseEHSD ref="makeDom" :queryData="queryData.data"></PurchaseEHSD>
  28. </template>
  29. <ServiceContract ref="makeDom" v-else-if="flowForm.flowKey == 'service_contract_flow'" :queryData="queryData.data"></ServiceContract>
  30. <!-- 维多利亚 -->
  31. <SendSubscribeWDLY ref="makeDom" v-else-if="flowForm.flowKey == 'wdly_apply_purchase'" :queryData="queryData.data"></SendSubscribeWDLY>
  32. <SendPurchaseWDLY ref="makeDom" v-else-if="flowForm.flowKey == 'wdly_purchase'" :queryData="queryData.data"></SendPurchaseWDLY>
  33. </div>
  34. <div class="bottom" v-if="route.query.processType != 20">
  35. <div class="commons-title title">处理意见</div>
  36. <el-form :model="flowForm" :rules="flowRules" ref="flowFormDom">
  37. <el-form-item prop="remark" label-width="0px" label="">
  38. <el-input type="textarea" placeholder="请输入" v-model="flowForm.remark"> </el-input>
  39. </el-form-item>
  40. <el-form-item>
  41. <el-button type="primary" v-if="approvalRecordData.buttonInfoList.length == 0" @click="handleSubmit">提交</el-button>
  42. <el-button type="primary" v-else v-for="i in approvalRecordData.buttonInfoList" :key="i.type" @click="handleSubmit(i.type)">{{ i.name }}</el-button>
  43. </el-form-item>
  44. </el-form>
  45. </div>
  46. </div>
  47. <div class="right-card">
  48. <el-tabs v-model="activeName" class="demo-tabs">
  49. <el-tab-pane label="审批记录" name="first">
  50. <ul class="flow-chart">
  51. <li
  52. v-for="item in recordList"
  53. :key="item.id"
  54. :class="
  55. !route.query.id
  56. ? ''
  57. : item.status == 2
  58. ? 'flow-orange'
  59. : item.status == 3 && !route.query.id
  60. ? 'flow-orange'
  61. : item.status == 3 && route.query.id
  62. ? 'flow-grey'
  63. : ''
  64. ">
  65. <div class="left-icon">
  66. <i class="iconfont icon-iconm_daick"></i>
  67. <i class="iconfont icon-icomx_quertj1 right-btm-status"></i>
  68. </div>
  69. <div class="right-conetnt">
  70. <div class="name">{{ item.nodeName }}</div>
  71. <div class="remark">
  72. <div class="label">
  73. <span v-if="item.status != 3">办理人:</span>{{ item.processedUser }}<span class="time">{{ item.processedDate }}</span>
  74. </div>
  75. {{ item.remark }}
  76. </div>
  77. </div>
  78. <div class="line"></div>
  79. </li>
  80. </ul>
  81. </el-tab-pane>
  82. <!-- v-if="flowForm.flowKey == 'contract_flow' && flowForm.tenantType !== 'EHSD'" -->
  83. <el-tab-pane label="决策辅助" name="second" v-if="auxiliaryData.length > 0">
  84. <div style="overflow: auto; height: calc(100vh - 200px)">
  85. <auxiliary :data="auxiliaryData"></auxiliary>
  86. </div>
  87. <!-- <div style="overflow: auto; height: calc(100vh - 200px)">
  88. <purchaseAuxiliary></purchaseAuxiliary>
  89. </div> -->
  90. </el-tab-pane>
  91. </el-tabs>
  92. </div>
  93. <el-dialog title="下一处理人" width="400" v-model="dialogVisible">
  94. <el-form :model="flowForm">
  95. <el-form-item prop="remark" label="处理人">
  96. <el-select v-model="flowForm.handleUserId" placeholder="请选择" filterable style="width: 100%">
  97. <el-option v-for="item in nextHandleUser" :label="item.name" :value="item.id"> </el-option>
  98. </el-select>
  99. </el-form-item>
  100. <el-form-item>
  101. <div style="width: 100%; text-align: center">
  102. <el-button type="primary" @click="handleSelectUser">提交</el-button>
  103. </div>
  104. </el-form-item>
  105. </el-form>
  106. </el-dialog>
  107. </div>
  108. </template>
  109. <script setup name="ProcessApproval">
  110. import useTagsViewStore from "@/store/modules/tagsView.js";
  111. import { useRouter, useRoute } from "vue-router";
  112. //决策辅助
  113. import auxiliary from "./auxiliary";
  114. import purchaseAuxiliary from "./purchaseAuxiliary";
  115. //申购发起
  116. import SendSubscribe from "@/components/process/SendSubscribe";
  117. //采购发起
  118. import SendPurchase from "@/components/process/SendPurchase";
  119. //请款发起
  120. import SendFunds from "@/components/process/SendFunds";
  121. //退货
  122. import ReturnGood from "@/components/process/ReturnGood";
  123. // 消息提示
  124. import { ElMessage, ElMessageBox } from "element-plus";
  125. //退款
  126. import PurchaseRefund from "@/components/process/PurchaseRefund";
  127. // 付款
  128. import PurchasePayment from "@/components/process/PurchasePayment";
  129. // 报价单
  130. import PriceSheet from "@/components/process/PriceSheet";
  131. // 报价单-EHSD
  132. import PriceSheetEHSD from "@/components/process/EHSD/PriceSheet";
  133. // 销售合同
  134. import Contract from "@/components/process/Contract";
  135. // 销售合同-EHSD
  136. import ContractEHSD from "@/components/process/EHSD/Contract";
  137. // 样品单-EHSD
  138. import SampleEHSD from "@/components/process/EHSD/Sample";
  139. // 采购交接单-EHSD
  140. import PurchaseEHSD from "@/components/process/EHSD/Purchase";
  141. // 服务合同
  142. import ServiceContract from "@/components/process/ServiceContract";
  143. // /``````````````````````````````维多利亚专属 /
  144. //申购发起
  145. import SendSubscribeWDLY from "@/components/WDLY/process/SendSubscribeWDLY";
  146. //采购发起
  147. import SendPurchaseWDLY from "@/components/WDLY/process/SendPurchaseWDLY";
  148. import { ref } from "vue";
  149. const router = useRouter();
  150. const route = useRoute();
  151. // tab切换逻辑
  152. const activeName = ref("first");
  153. let auxiliaryData = ref([]);
  154. const getAuxiliaryData = (data)=>{
  155. auxiliaryData.value=data
  156. }
  157. // 意见表单
  158. const flowForm = reactive({
  159. flowKey: "",
  160. tenantType: "",
  161. handleUserId: "",
  162. remark: "",
  163. data: {},
  164. });
  165. const flowRules = reactive({
  166. // remark: [{ required: true, message: "请输入处理意见", trigger: "blur" }],
  167. });
  168. //组件实例
  169. const { proxy } = getCurrentInstance();
  170. const makeDom = ref(null);
  171. const flowFormDom = ref(null);
  172. let dialogVisible = ref(false);
  173. const nextHandleUser = ref([]);
  174. const handleSelectUser = () => {
  175. if (!flowForm.handleUserId) {
  176. return ElMessage({
  177. message: "请选择下一节点处理人!",
  178. type: "info",
  179. });
  180. }
  181. handleSubmit();
  182. };
  183. const handleResult = (res) => {
  184. if (res !== null && res.success) {
  185. skipPage();
  186. } else {
  187. dialogVisible.value = true;
  188. nextHandleUser.value = res.userList;
  189. }
  190. };
  191. // 提交逻辑
  192. const handleSubmit = async (_type) => {
  193. try {
  194. // 调用发起组件的提交事件
  195. const flag = await makeDom.value.handleSubmit();
  196. if (flag) {
  197. flowFormDom.value.validate((valid) => {
  198. if (valid) {
  199. const data = makeDom.value.getFormData();
  200. if (flowForm.flowKey == "subscribe_flow") {
  201. // data.subscribeDetailList = data.subscribeDetailList.map((x) => ({
  202. // bussinessId: x.bussinessId,
  203. // count: x.count,
  204. // remark: x.remark,
  205. // }));
  206. } else if (flowForm.flowKey == "purchase_flow") {
  207. // data.purchaseDetailList = data.purchaseDetailList.map((x) => ({
  208. // bussinessId: x.bussinessId,
  209. // subscribeDetailId: x.id,
  210. // count: x.count,
  211. // price: x.price,
  212. // amount: x.amount,
  213. // }));
  214. } else if (flowForm.flowKey == "account_request_funds_flow") {
  215. } else if (flowForm.flowKey == "sales_return_flow") {
  216. } else if (flowForm.flowKey == "refund_flow") {
  217. } else if (flowForm.flowKey == "wdly_apply_purchase") {
  218. data.subscribeDetailList = data.subscribeDetailList.map((x) => ({
  219. bussinessId: x.bussinessId,
  220. count: x.count,
  221. remark: x.remark,
  222. }));
  223. const victoriatouristJson = {
  224. planArrivalTime: data.planArrivalTime,
  225. receiptWarehouseId: data.receiptWarehouseId,
  226. };
  227. data.victoriatouristJson = JSON.stringify(victoriatouristJson);
  228. } else if (flowForm.flowKey == "wdly_purchase") {
  229. data.purchaseDetailList = data.purchaseDetailList.map((x) => ({
  230. bussinessId: x.bussinessId,
  231. subscribeDetailId: x.id,
  232. count: x.count,
  233. price: x.price,
  234. amount: x.amount,
  235. deptId: x.deptId,
  236. }));
  237. const victoriatouristJson = {
  238. isAgreement: data.isAgreement,
  239. paymentMethod: data.paymentMethod,
  240. otherFeeList: data.otherFeeList,
  241. contractCode: data.contractCode,
  242. };
  243. data.victoriatouristJson = JSON.stringify(victoriatouristJson);
  244. } else if (flowForm.flowKey == "sale_quotation_flow") {
  245. if (flowForm.tenantType === "EHSD") {
  246. data.ehsdJson = JSON.stringify({
  247. deliveryTime: data.deliveryTime,
  248. });
  249. data.quotationProductList = data.quotationProductList.map((item) => {
  250. let ehsdJson = JSON.stringify({
  251. packMethod: item.packMethod,
  252. tradeMethods: item.tradeMethods,
  253. });
  254. return {
  255. ...item,
  256. ehsdJson: ehsdJson,
  257. };
  258. });
  259. }
  260. } else if (flowForm.flowKey == "contract_flow") {
  261. if (flowForm.tenantType === "EHSD") {
  262. if (data.fileList && data.fileList.length > 0) {
  263. data.fileList = data.fileList.map((item) => {
  264. return {
  265. id: item.raw.id,
  266. fileName: item.raw.fileName,
  267. fileUrl: item.raw.fileUrl,
  268. };
  269. });
  270. } else {
  271. data.fileList = [];
  272. }
  273. if (data.packageFileList && data.packageFileList.length > 0) {
  274. data.packageFileList = data.packageFileList.map((item) => {
  275. return {
  276. id: item.raw.id,
  277. fileName: item.raw.fileName,
  278. fileUrl: item.raw.fileUrl,
  279. };
  280. });
  281. } else {
  282. data.packageFileList = [];
  283. }
  284. data.ehsdJson = JSON.stringify({
  285. deliveryTime: data.deliveryTime,
  286. });
  287. data.contractProductList = data.contractProductList.map((item) => {
  288. let ehsdJson = JSON.stringify({
  289. packMethod: item.packMethod,
  290. tradeMethods: item.tradeMethods,
  291. });
  292. return {
  293. ...item,
  294. ehsdJson: ehsdJson,
  295. };
  296. });
  297. }
  298. } else if (flowForm.flowKey == "sample_flow") {
  299. if (data.fileList && data.fileList.length > 0) {
  300. data.fileList = data.fileList.map((item) => {
  301. return {
  302. id: item.raw.id,
  303. fileName: item.raw.fileName,
  304. fileUrl: item.raw.fileUrl,
  305. };
  306. });
  307. } else {
  308. data.fileList = [];
  309. }
  310. if (data.packageFileList && data.packageFileList.length > 0) {
  311. data.packageFileList = data.packageFileList.map((item) => {
  312. return {
  313. id: item.raw.id,
  314. fileName: item.raw.fileName,
  315. fileUrl: item.raw.fileUrl,
  316. };
  317. });
  318. } else {
  319. data.packageFileList = [];
  320. }
  321. data.ehsdJson = JSON.stringify({
  322. deliveryTime: data.deliveryTime,
  323. });
  324. data.sampleProductList = data.sampleProductList.map((item) => {
  325. let ehsdJson = JSON.stringify({
  326. packMethod: item.packMethod,
  327. tradeMethods: item.tradeMethods,
  328. });
  329. return {
  330. ...item,
  331. ehsdJson: ehsdJson,
  332. };
  333. });
  334. }
  335. if (route.query.processType == 10 || route.query.processType == 30) {
  336. proxy
  337. .post("/flowProcess/jump", {
  338. ...flowForm,
  339. data,
  340. handleType: _type,
  341. version: route.query.version,
  342. flowId: route.query.id,
  343. })
  344. .then((res) => {
  345. if (_type && _type == 1) {
  346. proxy
  347. .post("/flowExample/setStartData", {
  348. exampleId: route.query.id,
  349. startData: data,
  350. })
  351. .then();
  352. }
  353. handleResult(res);
  354. });
  355. return;
  356. } else {
  357. proxy
  358. .post("/flowProcess/initiate", {
  359. ...flowForm,
  360. data,
  361. })
  362. .then((res) => {
  363. handleResult(res);
  364. });
  365. }
  366. }
  367. });
  368. }
  369. } catch (err) {
  370. console.log("数据未填完整!", err);
  371. }
  372. };
  373. // 页面跳转
  374. const skipPage = () => {
  375. if (route.query.processType === 10) {
  376. router.replace({
  377. path: "/oa/1/dealWith",
  378. });
  379. } else {
  380. const useTagsStore = useTagsViewStore();
  381. useTagsStore.delVisitedView(router.currentRoute.value);
  382. ElMessage({
  383. message: "操作成功!",
  384. type: "success",
  385. });
  386. if (flowForm.flowKey == "subscribe_flow") {
  387. router.replace({
  388. path: "/ERP/purchaseManage/subscribe",
  389. });
  390. } else if (flowForm.flowKey == "purchase_flow") {
  391. router.replace({
  392. path: "/ERP/purchaseManage/purchase",
  393. });
  394. } else if (flowForm.flowKey == "sales_return_flow") {
  395. router.replace({
  396. path: "/ERP/purchaseManage/returnGoods",
  397. });
  398. } else if (flowForm.flowKey == "account_request_funds_flow") {
  399. router.replace({
  400. path: "/ERP/fundManage/funds",
  401. });
  402. } else if (flowForm.flowKey == "refund_flow") {
  403. router.replace({
  404. path: "/ERP/purchasePayment/invoice",
  405. });
  406. } else if (flowForm.flowKey == "pay_flow") {
  407. router.replace({
  408. path: "/ERP/purchasePayment/payment",
  409. });
  410. } else if (flowForm.flowKey == "sale_quotation_flow") {
  411. if (flowForm.tenantType === "EHSD") {
  412. router.replace({
  413. path: "/EHSD/saleContract/priceSheetEHSD",
  414. });
  415. } else {
  416. router.replace({
  417. path: "/ERP/saleContract/priceSheet",
  418. });
  419. }
  420. } else if (flowForm.flowKey == "contract_flow") {
  421. if (flowForm.tenantType === "EHSD") {
  422. router.replace({
  423. path: "/EHSD/saleContract/contractEHSD",
  424. });
  425. } else {
  426. router.replace({
  427. path: "/ERP/saleContract/contract",
  428. });
  429. }
  430. } else if (flowForm.flowKey == "sample_flow") {
  431. router.replace({
  432. path: "/EHSD/saleContract/sampleEHSD",
  433. });
  434. } else if (flowForm.flowKey == "ehsd_purchase_flow") {
  435. router.replace({
  436. path: "/EHSD/procurement/purchasedEHSD",
  437. });
  438. } else if (flowForm.flowKey == "service_contract_flow") {
  439. router.replace({
  440. path: "/ERP/saleContract/serviceContract",
  441. });
  442. } else if (flowForm.flowKey == "wdly_purchase") {
  443. router.replace({
  444. path: "/WDLY/purchaseManage/alreadyPurchase_wdly",
  445. });
  446. } else if (flowForm.flowKey == "wdly_apply_purchase") {
  447. router.replace({
  448. path: "/WDLY/purchaseManage/subscribe_wdly",
  449. });
  450. }
  451. }
  452. };
  453. let queryData = reactive({
  454. data: {},
  455. });
  456. // 记录
  457. const recordList = ref([]);
  458. const approvalRecordData = ref({
  459. buttonInfoList: [],
  460. });
  461. const getRecords = (_id) => {
  462. if (_id) {
  463. proxy
  464. .post("/flowExample/getApprovalRecord", {
  465. id: _id,
  466. })
  467. .then((res) => {
  468. recordList.value = res.recordList;
  469. queryData.data.recordList = res.recordList;
  470. approvalRecordData.value = res;
  471. });
  472. } else {
  473. proxy
  474. .post("/flowExample/getFlowNode", {
  475. flowKey: flowForm.flowKey,
  476. })
  477. .then((res) => {
  478. recordList.value = res;
  479. });
  480. }
  481. };
  482. onMounted(async () => {
  483. //processType 10 为修改 20为查看 30回退发起
  484. if (route.query.processType == 10 || route.query.processType == 20 || route.query.processType == 30) {
  485. await proxy.post("/flowProcess/getStartData", { flowId: route.query.id }).then((res) => {
  486. queryData.data = { ...res };
  487. });
  488. } else {
  489. queryData.data = { ...route.query };
  490. }
  491. flowForm.flowKey = route.query.flowKey;
  492. flowForm.tenantType = route.query.tenantType;
  493. getRecords(route.query.id);
  494. });
  495. </script>
  496. <style lang="scss" scoped>
  497. .processApproval {
  498. display: flex;
  499. justify-content: space-between;
  500. margin-top: 20px;
  501. padding: 0 20px;
  502. height: calc(100vh - 130px);
  503. .left-card {
  504. // background: #fff;
  505. border-radius: 4px;
  506. // padding: 20px;
  507. flex: 1;
  508. margin-right: 20px;
  509. display: flex;
  510. flex-direction: column;
  511. .top {
  512. flex: 1;
  513. overflow-y: auto;
  514. background: #fff;
  515. padding: 20px 20px 0px 20px;
  516. .line{
  517. border-bottom: 1px solid #ddd;
  518. margin-bottom: 20px;
  519. }
  520. }
  521. .bottom {
  522. margin-top: 10px;
  523. height: 170px;
  524. background: #fff;
  525. padding: 20px 20px 0px 20px;
  526. }
  527. }
  528. .right-card {
  529. background: #fff;
  530. border-radius: 4px;
  531. padding: 0 20px 20px;
  532. width: 600px;
  533. box-sizing: border-box;
  534. .flow-chart {
  535. overflow: auto;
  536. height: calc(100vh - 200px);
  537. padding: 0;
  538. margin: 0;
  539. li {
  540. margin: 0;
  541. padding: 0 0 20px;
  542. list-style: none;
  543. display: flex;
  544. justify-content: space-between;
  545. position: relative;
  546. .right-conetnt {
  547. flex: 1;
  548. .name {
  549. font-size: 12px;
  550. color: #39c55a;
  551. margin-bottom: 10px;
  552. span {
  553. color: #999;
  554. }
  555. }
  556. .time {
  557. float: right;
  558. }
  559. .remark {
  560. padding: 10px;
  561. color: #666666;
  562. font-size: 12px;
  563. background: #f1f1f1;
  564. border-radius: 2px;
  565. .label {
  566. color: #999;
  567. margin-bottom: 10px;
  568. }
  569. }
  570. }
  571. .left-icon {
  572. width: 40px;
  573. height: 40px;
  574. text-align: center;
  575. line-height: 40px;
  576. background: #0084ff;
  577. border-radius: 10px;
  578. color: #fff;
  579. font-size: 20px;
  580. position: relative;
  581. margin-right: 27px;
  582. z-index: 2;
  583. .right-btm-status {
  584. position: absolute;
  585. bottom: 0px;
  586. right: -10px;
  587. height: 20px;
  588. width: 20px;
  589. line-height: 16px;
  590. border-radius: 10px;
  591. background: #39c55a;
  592. border: 2px solid #fff;
  593. font-size: 12px;
  594. box-sizing: border-box;
  595. }
  596. }
  597. }
  598. li::before {
  599. content: "";
  600. position: absolute;
  601. top: 0;
  602. left: 20px;
  603. width: 2px;
  604. height: 100%;
  605. background: #ddd;
  606. z-index: 1;
  607. }
  608. li:last-child::before {
  609. display: none;
  610. }
  611. .flow-orange {
  612. .right-btm-status {
  613. background: #ff9a00 !important;
  614. }
  615. .name {
  616. color: #ff9a00 !important;
  617. }
  618. .left-icon {
  619. background: #ff9a00 !important;
  620. }
  621. }
  622. .flow-grey {
  623. .right-btm-status {
  624. background: #999 !important;
  625. }
  626. .name {
  627. color: #999 !important;
  628. }
  629. .left-icon {
  630. background: #999 !important;
  631. }
  632. }
  633. .flow-red {
  634. .right-btm-status {
  635. background: #ff4d4f !important;
  636. }
  637. .name {
  638. color: #ff4d4f !important;
  639. }
  640. .left-icon {
  641. background: #ff4d4f !important;
  642. }
  643. }
  644. }
  645. }
  646. }
  647. </style>