GroupProgress.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. <template>
  2. <div class="group-progress" v-loading="progressloading">
  3. <div class="progress-hade">
  4. <el-form style="display: flex;justify-content: space-between;align-items: center;" :inline="true" :model="formInline" class="demo-form-inline">
  5. <el-form-item>
  6. <el-select filterable @change="GetGroupNameList" v-model="diid" placeholder="团组名称" style="width: 250px;">
  7. <el-option v-for="(item, index) in AuditStatus" :key="index" :label="item.groupName"
  8. :value="item.id"></el-option>
  9. </el-select>
  10. </el-form-item>
  11. <div>
  12. <el-form-item label="团队名称:">
  13. {{ formInline.name }}
  14. </el-form-item>
  15. <el-form-item label="客户:">
  16. {{ formInline.clientName }}
  17. </el-form-item>
  18. <el-form-item label="出访国家:">
  19. {{ formInline.CountriesVisited }}
  20. </el-form-item>
  21. <el-form-item label="起止日期:">
  22. {{ formInline.StartTime }}
  23. </el-form-item>
  24. <el-form-item label="天数/人数:">
  25. {{ formInline.Days }}天 / {{ formInline.Number }}人
  26. </el-form-item>
  27. </div>
  28. </el-form>
  29. </div>
  30. <el-collapse v-model="activeNames" @change="handleChange">
  31. <el-collapse-item name="1">
  32. <template #title>
  33. <span style="font-size: 18px; font-weight: bold;">商邀报批流程</span>
  34. </template>
  35. <div class="process-diagram">
  36. <div slot="reference" @click="confirmclick(item,'商邀')" @mouseenter="item.nodeName=='报批资料准备'?visible = true:''" @mouseleave="visible = false" :class="item.statusText=='已完成'?'process-diagram-lis':'process-diagram-li'" v-for="(item,index) in activities" :key="index">
  37. <el-popover
  38. v-if="item.nodeName=='报批资料准备'"
  39. placement="top"
  40. title="PS"
  41. width="200"
  42. trigger="manual"
  43. content="其中包含:机构筛选、邮件对接、报批行程及请示、完成公务对接等"
  44. v-model="visible">
  45. </el-popover>
  46. <div style="font-weight: 600;font-size: 15px;">{{item.nodeName}}</div>
  47. <div>{{item.statusText}}</div>
  48. <div>{{item.operator}}</div>
  49. <div>{{item.opeateTime}}</div>
  50. </div>
  51. </div>
  52. </el-collapse-item>
  53. <el-collapse-item name="2">
  54. <template #title>
  55. <div style="display: inline-block;width: 100%;">
  56. <div style="display: flex;justify-content: space-between;align-items: center;">
  57. <span style="font-size: 18px; font-weight: bold;">签证流程</span>
  58. <el-button @click.stop="Visaclick('签证')" style="margin-right: 20px;" size="mini" type="primary">签证流程保存</el-button>
  59. </div>
  60. </div>
  61. </template>
  62. <div class="progress-table">
  63. <el-table :border="true" :header-cell-style="headerCellStyle" :data="tableData" style="width: 100%">
  64. <el-table-column prop="a" label="国家" width="150">
  65. <template slot-scope="scope">
  66. <el-input style="width:100%;margin-top: 10px;" size="mini" v-model="scope.row.countryName"
  67. placeholder="请输入国家"></el-input>
  68. </template>
  69. </el-table-column>
  70. <el-table-column label="进度">
  71. <template slot-scope="scope">
  72. <div class="progress-table-content">
  73. <el-checkbox v-model="scope.row.isHandle1">{{scope.row.nodeName1}}</el-checkbox>
  74. <el-date-picker style="width:100%;margin-top: 10px;" size="mini"
  75. v-model="scope.row.handleTime1" type="date" placeholder="选择日期">
  76. </el-date-picker>
  77. </div>
  78. </template>
  79. </el-table-column>
  80. <el-table-column label="进度">
  81. <template slot-scope="scope">
  82. <div class="progress-table-content">
  83. <el-checkbox v-model="scope.row.isHandle2">{{scope.row.nodeName2}}</el-checkbox>
  84. <el-date-picker style="width:100%;margin-top: 10px;" size="mini"
  85. v-model="scope.row.handleTime2" type="date" placeholder="选择日期">
  86. </el-date-picker>
  87. </div>
  88. </template>
  89. </el-table-column>
  90. <el-table-column label="进度">
  91. <template slot-scope="scope">
  92. <div class="progress-table-content">
  93. <el-checkbox v-model="scope.row.isHandle3">{{scope.row.nodeName3}}</el-checkbox>
  94. <el-date-picker style="width:100%;margin-top: 10px;" size="mini"
  95. v-model="scope.row.handleTime3" type="date" placeholder="选择日期">
  96. </el-date-picker>
  97. </div>
  98. </template>
  99. </el-table-column>
  100. <el-table-column label="进度">
  101. <template slot-scope="scope">
  102. <div class="progress-table-content">
  103. <el-checkbox v-model="scope.row.isHandle4">{{scope.row.nodeName4}}</el-checkbox>
  104. <el-date-picker style="width:100%;margin-top: 10px;" size="mini"
  105. v-model="scope.row.handleTime4" type="date" placeholder="选择日期">
  106. </el-date-picker>
  107. </div>
  108. </template>
  109. </el-table-column>
  110. <el-table-column label="进度">
  111. <template slot-scope="scope">
  112. <div class="progress-table-content">
  113. <el-checkbox v-model="scope.row.handleTime5">{{scope.row.nodeName5}}</el-checkbox>
  114. <el-date-picker style="width:100%;margin-top: 10px;" size="mini"
  115. v-model="scope.row.handleTime5" type="date" placeholder="选择日期">
  116. </el-date-picker>
  117. </div>
  118. </template>
  119. </el-table-column>
  120. <el-table-column label="进度">
  121. <template slot-scope="scope">
  122. <div class="progress-table-content">
  123. <el-checkbox v-model="scope.row.isHandle6">{{scope.row.nodeName6}}</el-checkbox>
  124. <el-date-picker style="width:100%;margin-top: 10px;" size="mini"
  125. v-model="scope.row.handleTime6" type="date" placeholder="选择日期">
  126. </el-date-picker>
  127. <el-input style="width:100%;margin-top: 10px;" size="mini" v-model="scope.row.returner"
  128. placeholder="请输入归还人"></el-input>
  129. </div>
  130. </template>
  131. </el-table-column>
  132. <el-table-column label="操作" width="100">
  133. <template slot-scope="scope">
  134. <el-button style="margin-top: 10px;" size="mini" @click.native.prevent="deleteRow(scope.$index, tableData,'签证')" type="danger">删除</el-button>
  135. </template>
  136. </el-table-column>
  137. </el-table>
  138. <div style="margin-top: 10px; text-align: center;">
  139. <el-button @click="addRow('签证')" size="mini" type="primary">添加一行</el-button>
  140. </div>
  141. </div>
  142. </el-collapse-item>
  143. <el-collapse-item name="3">
  144. <template #title>
  145. <span style="font-size: 18px; font-weight: bold;">机票流程</span>
  146. </template>
  147. <div class="process-diagram">
  148. <div @click="confirmclick(item,'机票')" :class="item.statusText=='已完成'?'process-diagram-twos':'process-diagram-two'" v-for="(item,index) in activitiesAir" :key="index">
  149. <div style="font-weight: 600;font-size: 15px;">{{item.nodeName}}</div>
  150. <div>{{item.statusText}}</div>
  151. <div>{{item.operator}}</div>
  152. <div>{{item.opeateTime}}</div>
  153. </div>
  154. </div>
  155. </el-collapse-item>
  156. <el-collapse-item name="4">
  157. <template #title>
  158. <span style="font-size: 18px; font-weight: bold;">酒店流程</span>
  159. </template>
  160. <div class="process-diagram">
  161. <div @click="confirmclick(item,'酒店')" :class="item.statusText=='已完成'?'process-diagram-twos':'process-diagram-two'" v-for="(item,index) in activitiesHotel" :key="index">
  162. <div style="font-weight: 600;font-size: 15px;">{{item.nodeName}}</div>
  163. <div>{{item.statusText}}</div>
  164. <div>{{item.operator}}</div>
  165. <div>{{item.opeateTime}}</div>
  166. </div>
  167. </div>
  168. </el-collapse-item>
  169. <el-collapse-item name="5">
  170. <template #title>
  171. <span style="font-size: 18px; font-weight: bold;">地接流程</span>
  172. </template>
  173. <div class="process-diagram">
  174. <div @click="confirmclick(item,'OP')" :class="item.statusText=='已完成'?'process-diagram-sans':'process-diagram-san'" v-for="(item,index) in activitiesGuide" :key="index">
  175. <div style="font-weight: 600;font-size: 15px;">{{item.nodeName}}</div>
  176. <div>{{item.statusText}}</div>
  177. <div>{{item.operator}}</div>
  178. <div>{{item.opeateTime}}</div>
  179. </div>
  180. </div>
  181. </el-collapse-item>
  182. <el-collapse-item name="6">
  183. <template #title>
  184. <span style="font-size: 18px; font-weight: bold;">费用结算</span>
  185. </template>
  186. <div class="process-diagram">
  187. <div :class="item.statusText=='已完成'?'process-diagram-twos':'process-diagram-two'" v-for="(item,index) in activitiesCost" :key="index">
  188. <div style="font-weight: 600;font-size: 15px;">{{item.nodeName}}</div>
  189. <div>{{item.statusText}}</div>
  190. <div>{{item.operator}}</div>
  191. <div>{{item.opeateTime}}</div>
  192. </div>
  193. </div>
  194. </el-collapse-item>
  195. </el-collapse>
  196. </div>
  197. </template>
  198. <script>
  199. export default {
  200. data () {
  201. return {
  202. activeNames: ['1','2','3','4','5','6'],
  203. tableData: [],
  204. activities:[],
  205. activitiesAir:[],
  206. activitiesHotel:[],
  207. activitiesGuide:[],
  208. activitiesCost:[],
  209. visible: false,
  210. diid:'',
  211. AuditStatus:[],
  212. formInline: {
  213. name: '',
  214. clientName: '',
  215. CountriesVisited: '',
  216. StartTime: '',
  217. Days: 0,
  218. Number: 0,
  219. Status: '',
  220. },
  221. token:'',
  222. userId:'',
  223. progressloading:false,
  224. jobName:'',
  225. visaclickid:'',
  226. }
  227. },
  228. methods: {
  229. handleChange(val) {
  230. console.log(val);
  231. },
  232. headerCellStyle({ row, column, rowIndex, columnIndex }) {
  233. console.log(row, column, rowIndex, columnIndex);
  234. row[0].colSpan = 1;
  235. row[6].colSpan = 6;
  236. row[7].colSpan = 1;
  237. row[1].colSpan = 0;
  238. row[2].colSpan = 0;
  239. row[3].colSpan = 0;
  240. row[4].colSpan = 0;
  241. row[5].colSpan = 0;
  242. if (columnIndex < 6 && columnIndex > 0) {
  243. return { display: 'none' }
  244. }
  245. },
  246. //获取团组id
  247. GetGroupNameList(){
  248. this.progressloading=true;
  249. this.AuditStatus=[];
  250. var url = "/api/Business/GetGroupNameList"
  251. var that = this
  252. this.$axios({
  253. method: 'post',
  254. url: url,
  255. headers: {
  256. Authorization: 'Bearer '
  257. },
  258. data:{
  259. portType:1,
  260. }
  261. }).then(function (res) {
  262. if(res.data.code==200){
  263. that.AuditStatus=res.data.data;
  264. if (that.diid==='') {
  265. that.diid=res.data.data[0].id;
  266. }
  267. that.PostShareGroupInfo();
  268. }else{
  269. that.progressloading=false;
  270. that.$message.error(res.data.msg);
  271. }
  272. })
  273. },
  274. //获取团组详情
  275. PostShareGroupInfo(){
  276. var url = "/api/Business/PostShareGroupInfo"
  277. var that = this
  278. this.$axios({
  279. method: 'post',
  280. url: url,
  281. headers: {
  282. Authorization: 'Bearer '
  283. },
  284. data:{
  285. portType:1,
  286. id: that.diid
  287. }
  288. }).then(function (res) {
  289. console.log(res)
  290. if(res.data.code==200){
  291. that.formInline.name = res.data.data.teamName;
  292. that.formInline.clientName = res.data.data.clientName;
  293. that.formInline.CountriesVisited = res.data.data.visitCountry;
  294. that.formInline.StartTime = res.data.data.visitStartDate.split(' ')[0]+'~'+res.data.data.visitEndDate.split(' ')[0];
  295. that.formInline.Days = res.data.data.visitDays;
  296. that.formInline.Number = res.data.data.visitPNumber;
  297. that.GroupProcessDetails();
  298. }else{
  299. that.$message.error('获取数据源失败!');
  300. that.progressloading=false;
  301. }
  302. })
  303. },
  304. //获取数据
  305. GroupProcessDetails() {
  306. var that = this
  307. var url = "/api/Groups/GroupProcessDetails?groupId=" + that.diid
  308. this.$axios({
  309. method: 'get',
  310. url: url,
  311. headers: {
  312. Authorization: 'Bearer ' + that.token
  313. },
  314. }).then(function (res) {
  315. if (res.data.code == 200) {
  316. for (let i = 0; i < res.data.data.length; i++) {
  317. console.log(res.data.data[i]);
  318. if (res.data.data[i].processName == '费用结算') {
  319. that.activitiesCost=res.data.data[i].nodes;
  320. }
  321. if (res.data.data[i].processName == '地接') {
  322. that.activitiesGuide=res.data.data[i].nodes;
  323. }
  324. if (res.data.data[i].processName == '酒店') {
  325. that.activitiesHotel=res.data.data[i].nodes;
  326. }
  327. if (res.data.data[i].processName == '机票') {
  328. that.activitiesAir=res.data.data[i].nodes;
  329. }
  330. if (res.data.data[i].processName == '商邀报批') {
  331. that.activities=res.data.data[i].nodes;
  332. }
  333. if (res.data.data[i].processName == '签证') {
  334. that.tableData=res.data.data[i].nodes[0].visaSubNodes;
  335. that.visaclickid=res.data.data[i].nodes[0].id;
  336. }
  337. }
  338. that.progressloading=false;
  339. } else {
  340. that.activitiesCost=[];
  341. that.activitiesGuide=[];
  342. that.activitiesHotel=[];
  343. that.activitiesAir=[];
  344. that.activities=[];
  345. that.tableData=[];
  346. that.$message.error(res.data.msg);
  347. that.progressloading=false;
  348. }
  349. })
  350. },
  351. //签证添加一行
  352. addRow(text) {
  353. if (text!=this.jobName) {
  354. this.$message({
  355. message: '该流程不在此账号的操作权限内!如有疑问联系该流程负责人!',
  356. type: 'warning'
  357. });
  358. return
  359. }
  360. this.tableData.push({
  361. countryName: '',
  362. nodeName1: '收集资料',
  363. isHandle1: false,
  364. handleTime1: '',
  365. nodeName2: '取护照资料',
  366. isHandle2: false,
  367. handleTime2: '',
  368. nodeName3: '填资料',
  369. isHandle3: false,
  370. handleTime3: '',
  371. nodeName4: '送签',
  372. isHandle4: false,
  373. handleTime4: '',
  374. nodeName5: '签+取护照',
  375. isHandle5: false,
  376. handleTime5: '',
  377. nodeName6: '归还护照',
  378. isHandle6: false,
  379. handleTime6: '',
  380. returner: ''
  381. });
  382. },
  383. //签证删除一行
  384. deleteRow(index, rows,text) {
  385. if (text!=this.jobName) {
  386. this.$message({
  387. message: '该流程不在此账号的操作权限内!如有疑问联系该流程负责人!',
  388. type: 'warning'
  389. });
  390. return
  391. }
  392. this.$confirm('此操作将该数据移除并未保存,需要更新数据请点击本流程保存按钮, 是否继续?', '提示', {
  393. confirmButtonText: '确定',
  394. cancelButtonText: '取消',
  395. type: 'warning'
  396. }).then(() => {
  397. rows.splice(index, 1);
  398. }).catch(() => {
  399. this.$message({
  400. type: 'info',
  401. message: '操作已取消!'
  402. });
  403. });
  404. },
  405. //点击确认
  406. confirmclick(item,text){
  407. if (text!=this.jobName) {
  408. this.$message({
  409. message: '该流程不在此账号的操作权限内!如有疑问联系该流程负责人!',
  410. type: 'warning'
  411. });
  412. return
  413. }
  414. this.progressloading=true;
  415. var url = "/api/Groups/GroupProcessUpdateNodeStatus"
  416. var that = this
  417. this.$axios({
  418. method: 'post',
  419. url: url,
  420. headers: {
  421. Authorization: 'Bearer '
  422. },
  423. data:{
  424. nodeId:item.id,
  425. currUserId: that.userId
  426. }
  427. }).then(function (res) {
  428. console.log(res)
  429. if(res.data.code==200){
  430. that.$message({
  431. type: 'success',
  432. message: res.data.msg
  433. });
  434. that.GroupProcessDetails();
  435. }else{
  436. that.$message.error(res.data.msg);
  437. that.progressloading=false;
  438. }
  439. })
  440. },
  441. //签证保存
  442. Visaclick(text){
  443. console.log(this.tableData);
  444. if (text!=this.jobName) {
  445. this.$message({
  446. message: '该流程不在此账号的操作权限内!如有疑问联系该流程负责人!',
  447. type: 'warning'
  448. });
  449. return
  450. }
  451. this.progressloading=true;
  452. var url = "/api/Groups/GroupProcessUpdateVisaNodeDetails"
  453. var that = this
  454. this.$axios({
  455. method: 'post',
  456. url: url,
  457. headers: {
  458. Authorization: 'Bearer '
  459. },
  460. data:{
  461. nodeId:that.visaclickid,
  462. currUserId:that.userId,
  463. visaSubNodes:that.tableData,
  464. }
  465. }).then(function (res) {
  466. if(res.data.code==200){
  467. that.$message({
  468. type: 'success',
  469. message: res.data.msg
  470. });
  471. that.GroupProcessDetails();
  472. }else{
  473. that.$message.error(res.data.msg);
  474. that.progressloading=false;
  475. }
  476. })
  477. }
  478. },
  479. mounted(){
  480. this.token = JSON.parse(localStorage.getItem('userinif')).token;
  481. this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId;
  482. this.jobName = JSON.parse(localStorage.getItem('userinif')).userInfo.jobName;
  483. this.GetGroupNameList();
  484. // this.GroupProcessDetails();
  485. }
  486. }
  487. </script>
  488. <style>
  489. .group-progress{
  490. background-color: #fff;
  491. padding: 10px;
  492. box-shadow: 0 0 5px #0005;
  493. border-radius: 10px;
  494. min-height: 830px;
  495. }
  496. .progress-content{
  497. display: flex;
  498. justify-content: space-around;
  499. }
  500. .progress-content>div{
  501. font-size: 17px;
  502. font-weight: bold;
  503. }
  504. .progress-table-content{
  505. text-align: left;
  506. }
  507. .progress-content div{
  508. padding: 20px;
  509. border: 1px solid #ccc;
  510. border-radius: 5px;
  511. }
  512. .process-diagram{
  513. color: #606266;
  514. margin-top: 50px;
  515. display: flex;
  516. justify-content: space-around;
  517. }
  518. .process-diagram-li{
  519. width: 10%;
  520. text-align: center;
  521. position: relative;
  522. padding: 10px;
  523. border-radius: 5px;
  524. box-shadow: 0px 0px 10px #0005;
  525. }
  526. .process-diagram-li::after{
  527. position: absolute;
  528. content:'';
  529. display: block;
  530. width:10px;
  531. height:10px;
  532. background-color: #606266;
  533. left: 46%;
  534. top:-30px;
  535. border-radius: 50%
  536. }
  537. .process-diagram-li:not(:last-child)::before{
  538. position: absolute;
  539. content:'';
  540. display: block;
  541. width:210%;
  542. height:2px;
  543. background-color: #606266;
  544. left:55%;
  545. top:-26px;
  546. border-radius: 50%
  547. }
  548. .process-diagram-lis{
  549. width: 10%;
  550. text-align: center;
  551. position: relative;
  552. padding: 10px;
  553. border-radius: 5px;
  554. box-shadow: 0px 0px 10px #0005;
  555. }
  556. .process-diagram-lis::after{
  557. position: absolute;
  558. content:'';
  559. display: block;
  560. width:10px;
  561. height:10px;
  562. background-color: #67C23A;
  563. left: 46%;
  564. top:-30px;
  565. border-radius: 50%
  566. }
  567. .process-diagram-lis:not(:last-child)::before{
  568. position: absolute;
  569. content:'';
  570. display: block;
  571. width:210%;
  572. height:2px;
  573. background-color: #67C23A;
  574. left:55%;
  575. top:-26px;
  576. border-radius: 50%
  577. }
  578. .process-diagram>div{
  579. cursor: pointer;
  580. }
  581. .process-diagram .el-popover{
  582. left: 110%;
  583. top: -7px;
  584. }
  585. /*liangge*/
  586. .process-diagram-two{
  587. width: 10%;
  588. text-align: center;
  589. position: relative;
  590. padding: 10px;
  591. border-radius: 5px;
  592. box-shadow: 0px 0px 10px #0005;
  593. }
  594. .process-diagram-two::after{
  595. position: absolute;
  596. content:'';
  597. display: block;
  598. width:10px;
  599. height:10px;
  600. background-color: #606266;
  601. left: 46%;
  602. top:-30px;
  603. border-radius: 50%
  604. }
  605. .process-diagram-two:not(:last-child)::before{
  606. position: absolute;
  607. content:'';
  608. display: block;
  609. width:431%;
  610. height:2px;
  611. background-color: #606266;
  612. left:55%;
  613. top:-26px;
  614. border-radius: 50%
  615. }
  616. .process-diagram-twos{
  617. width: 10%;
  618. text-align: center;
  619. position: relative;
  620. padding: 10px;
  621. border-radius: 5px;
  622. box-shadow: 0px 0px 10px #0005;
  623. }
  624. .process-diagram-twos::after{
  625. position: absolute;
  626. content:'';
  627. display: block;
  628. width:10px;
  629. height:10px;
  630. background-color: #67C23A;
  631. left: 46%;
  632. top:-30px;
  633. border-radius: 50%
  634. }
  635. .process-diagram-twos:not(:last-child)::before{
  636. position: absolute;
  637. content:'';
  638. display: block;
  639. width:431%;
  640. height:2px;
  641. background-color: #67C23A;
  642. left:55%;
  643. top:-26px;
  644. border-radius: 50%
  645. }
  646. /*sange*/
  647. .process-diagram-san{
  648. width: 10%;
  649. text-align: center;
  650. position: relative;
  651. padding: 10px;
  652. border-radius: 5px;
  653. box-shadow: 0px 0px 10px #0005;
  654. }
  655. .process-diagram-san::after{
  656. position: absolute;
  657. content:'';
  658. display: block;
  659. width:10px;
  660. height:10px;
  661. background-color: #606266;
  662. left: 46%;
  663. top:-30px;
  664. border-radius: 50%
  665. }
  666. .process-diagram-san:not(:last-child)::before{
  667. position: absolute;
  668. content:'';
  669. display: block;
  670. width:283%;
  671. height:2px;
  672. background-color: #606266;
  673. left:55%;
  674. top:-26px;
  675. border-radius: 50%
  676. }
  677. .process-diagram-sans{
  678. width: 10%;
  679. text-align: center;
  680. position: relative;
  681. padding: 10px;
  682. border-radius: 5px;
  683. box-shadow: 0px 0px 10px #0005;
  684. }
  685. .process-diagram-sans::after{
  686. position: absolute;
  687. content:'';
  688. display: block;
  689. width:10px;
  690. height:10px;
  691. background-color: #67C23A;
  692. left: 46%;
  693. top:-30px;
  694. border-radius: 50%
  695. }
  696. .process-diagram-sans:not(:last-child)::before{
  697. position: absolute;
  698. content:'';
  699. display: block;
  700. width:283%;
  701. height:2px;
  702. background-color: #67C23A;
  703. left:55%;
  704. top:-26px;
  705. border-radius: 50%
  706. }
  707. </style>