OrgRelationshipIndex.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805
  1. <!--
  2. * @Description: 党建管理 => 组织关系变更
  3. * @Author: Rockery
  4. * @Date: 2021-12-10 10:45:41
  5. * @LastEditors: Rockery
  6. * @LastEditTime: 2022-01-18 16:33:57
  7. * @FilePath: \party_construct_web\src\views\PartyBuildingMgr\OrgRelationship\OrgRelationshipIndex.vue
  8. * @Copyright: Copyright (c) 2016~2021 Rockery(1113269755@qq.com)
  9. -->
  10. <template>
  11. <div
  12. class="app-container orgrelationship"
  13. :class="['ADD','VIEW'].includes(pageType) ? 'desc-page':''"
  14. >
  15. <template v-if="pageType === 'LIST'">
  16. <div class="orgrelationship-main">
  17. <el-row :gutter="10">
  18. <el-col :span="24">
  19. <div class="orgrelationship-main-title">
  20. <div>
  21. <img
  22. :src="require('@/assets/logo/home-main-title-logo.png')"
  23. @error="imgViewerOnerror"
  24. />
  25. </div>
  26. <div>组织关系变更</div>
  27. </div>
  28. </el-col>
  29. <div v-loading="loading">
  30. <el-col :span="24" class="mt20">
  31. <el-form :model="queryParams" ref="queryForm" :inline="true" label-width="68px">
  32. <el-form-item prop="beginTime">
  33. <el-date-picker
  34. v-model="queryParams.beginTime"
  35. type="date"
  36. size="small"
  37. clearable
  38. format="yyyy年MM月dd日"
  39. value-format="yyyy-MM-dd"
  40. style="width: 100%;"
  41. placeholder="请选择开始时间"
  42. ></el-date-picker>
  43. </el-form-item>
  44. <el-form-item prop="endTime">
  45. <el-date-picker
  46. v-model="queryParams.endTime"
  47. type="date"
  48. size="small"
  49. clearable
  50. format="yyyy年MM月dd日"
  51. value-format="yyyy-MM-dd"
  52. style="width: 100%;"
  53. placeholder="请选择结束时间"
  54. ></el-date-picker>
  55. </el-form-item>
  56. <el-form-item prop="name">
  57. <el-input
  58. v-model="queryParams.name"
  59. placeholder="请输入姓名/身份证号"
  60. clearable
  61. size="small"
  62. style="width: 100%;"
  63. @keyup.enter.native="handleQuery"
  64. />
  65. </el-form-item>
  66. <el-form-item>
  67. <el-button
  68. v-hasPermi="['partybuildingmgr:orgrelationship:query']"
  69. type="primary"
  70. icon="el-icon-search"
  71. @click="handleQueryClick"
  72. >搜索</el-button>
  73. <el-button
  74. v-hasPermi="['partybuildingmgr:orgrelationship:reset']"
  75. icon="el-icon-refresh"
  76. @click="resetQueryClick"
  77. >重置</el-button>
  78. </el-form-item>
  79. </el-form>
  80. </el-col>
  81. <el-col :span="24">
  82. <el-button
  83. v-hasPermi="['partybuildingmgr:partymemberdevelop:add']"
  84. type="rocpartyprimarybtn"
  85. icon="el-icon-circle-plus-outline"
  86. class="fr mb10"
  87. @click="handleReactivateClick"
  88. >转入</el-button>
  89. </el-col>
  90. <el-col :span="24">
  91. <el-table
  92. :data="list"
  93. stripe
  94. border
  95. :header-cell-style="{'text-align':'center'}"
  96. header-row-class-name="orgrelationship-table_header-row"
  97. class="orgrelationship-main-table"
  98. style="width: 100%;"
  99. >
  100. <el-table-column label="姓名" prop="name" :show-overflow-tooltip="true" />
  101. <el-table-column label="身份证号" prop="cardNo" :show-overflow-tooltip="true">
  102. <template slot-scope="scope">
  103. <span>{{ scope.row.cardNo || '—' }}</span>
  104. </template>
  105. </el-table-column>
  106. <el-table-column
  107. label="类型"
  108. prop="modifyType"
  109. align="center"
  110. :show-overflow-tooltip="true"
  111. >
  112. <template slot-scope="scope">
  113. <span>{{ orgRelationChangeTypeFormat(scope.row) || '—' }}</span>
  114. </template>
  115. </el-table-column>
  116. <el-table-column label="备注" prop="remark" :show-overflow-tooltip="true">
  117. <template slot-scope="scope">
  118. <span>{{ scope.row.remark || '—' }}</span>
  119. </template>
  120. </el-table-column>
  121. <el-table-column
  122. label="时间"
  123. align="center"
  124. prop="modifyTime"
  125. width="180"
  126. :show-overflow-tooltip="true"
  127. >
  128. <template slot-scope="scope">
  129. <span>{{ parseTime(scope.row.modifyTime, '{y}年{m}月{d}日') || '—' }}</span>
  130. </template>
  131. </el-table-column>
  132. <el-table-column
  133. label="操作"
  134. align="center"
  135. fixed="right"
  136. width="160"
  137. class-name="small-padding fixed-width"
  138. >
  139. <template slot-scope="scope">
  140. <el-button
  141. v-if="scope.row.modifyType === 0"
  142. v-hasPermi="['partybuildingmgr:orgrelationship:edit']"
  143. size="mini"
  144. type="text"
  145. icon="el-icon-edit"
  146. style="color: #de0010;"
  147. @click="handleEditClick(scope.row)"
  148. >完善资料</el-button>
  149. <el-button
  150. v-hasPermi="['partybuildingmgr:orgrelationship:view']"
  151. size="mini"
  152. type="text"
  153. icon="el-icon-view"
  154. style="color: #909399;"
  155. @click="handleViewClick(scope.row)"
  156. >详情</el-button>
  157. </template>
  158. </el-table-column>
  159. </el-table>
  160. </el-col>
  161. <el-col :span="24">
  162. <pagination
  163. v-show="total>0"
  164. :total="total"
  165. :page.sync="queryParams.pageNum"
  166. :limit.sync="queryParams.pageSize"
  167. @pagination="initData"
  168. />
  169. </el-col>
  170. </div>
  171. </el-row>
  172. </div>
  173. </template>
  174. <template v-else-if="pageType === 'VIEW'">
  175. <div class="orgrelationship-viewpage">
  176. <el-row>
  177. <el-col :span="24">
  178. <div class="orgrelationship-viewpage-title">
  179. <div>
  180. <img
  181. :src="require('@/assets/logo/home-main-title-logo.png')"
  182. @error="imgViewerOnerror"
  183. />
  184. </div>
  185. <div>组织关系变更详情</div>
  186. </div>
  187. </el-col>
  188. <el-col :span="24">
  189. <div class="orgrelationship-viewpage-line"></div>
  190. </el-col>
  191. <el-col :span="24">
  192. <el-form
  193. ref="orgRelationshipViewpageFormRef"
  194. :model="viewPageFormObj.formModel"
  195. label-width="120px"
  196. class="orgrelationship-viewpage-form"
  197. >
  198. <el-row>
  199. <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
  200. <el-form-item label prop="modifyTime">
  201. <div slot="label" class="roc-form-item-label">变更时间:</div>
  202. <div
  203. class="roc-form-item-input"
  204. >{{ parseTime(viewPageFormObj.formModel.modifyTime, '{y}年{m}月{d}日') || '—' }}</div>
  205. </el-form-item>
  206. </el-col>
  207. <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
  208. <el-form-item label="姓名:" prop="memberName">
  209. <div slot="label" class="roc-form-item-label">姓名:</div>
  210. <div
  211. class="roc-form-item-input"
  212. >{{ viewPageFormObj.formModel.name || viewPageFormObj.formModel.memberName || '—' }}</div>
  213. </el-form-item>
  214. </el-col>
  215. <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
  216. <el-form-item label="身份证号:" prop="cardNo">
  217. <div slot="label" class="roc-form-item-label">身份证号:</div>
  218. <div class="roc-form-item-input">{{ viewPageFormObj.formModel.cardNo || '—' }}</div>
  219. </el-form-item>
  220. </el-col>
  221. <el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
  222. <el-form-item label="类型:" prop="modifyType">
  223. <div slot="label" class="roc-form-item-label">类型:</div>
  224. <div
  225. class="roc-form-item-input"
  226. >{{ orgRelationChangeTypeFormat(viewPageFormObj.formModel) || '—' }}</div>
  227. </el-form-item>
  228. </el-col>
  229. <el-col :span="24">
  230. <el-form-item label="相关材料:" prop="relatedFile">
  231. <div slot="label" class="roc-form-item-label">相关材料:</div>
  232. <div class="orgrelationship-viewpage-form-desc">
  233. <div @click="handleViewPageCheckClick(viewPageFormObj.formModel)">查看</div>
  234. <div @click="handleViewPageDownloadClick(viewPageFormObj.formModel)">下载</div>
  235. </div>
  236. </el-form-item>
  237. </el-col>
  238. <el-col :span="24">
  239. <el-form-item label="说明:" prop="remark">
  240. <div slot="label" class="roc-form-item-label">说明:</div>
  241. <div class="roc-form-item-input">{{ viewPageFormObj.formModel.remark || '—' }}</div>
  242. </el-form-item>
  243. </el-col>
  244. </el-row>
  245. </el-form>
  246. </el-col>
  247. </el-row>
  248. <div class="pagefooter-btngroup">
  249. <el-button
  250. type="rocpartyprimaryplainbtn"
  251. icon="el-icon-circle-close"
  252. @click="handleViewPageCloseClick"
  253. >关 闭</el-button>
  254. </div>
  255. </div>
  256. </template>
  257. <template v-else-if="pageType === 'COMPLETEINFO'">
  258. <div class="toptitlepage">
  259. <div class="toptitlepage-head">
  260. <div class="toptitlepage-head-title">
  261. <div>
  262. <img
  263. :src="require('@/assets/logo/home-main-title-logo.png')"
  264. @error="imgViewerOnerror"
  265. />
  266. </div>
  267. <div>组织关系变更(完善资料)</div>
  268. </div>
  269. </div>
  270. <update-party-develop
  271. :id="currentRow.memberId"
  272. operate-type="EDIT"
  273. @page-submit="handleAddPageSubmitClick"
  274. @page-close="handleAddPageCloseClick"
  275. />
  276. </div>
  277. </template>
  278. <template v-else>
  279. <div>&nbsp;</div>
  280. </template>
  281. <roc-vue-pdf-dialog
  282. v-if="pdfDialogVisible"
  283. :visible.sync="pdfDialogVisible"
  284. :pdfUrl="viewPdfFileUrlPrefix + viewPageFormObj.formModel.relatedFile"
  285. ></roc-vue-pdf-dialog>
  286. <!-- 组织关系变更对话框 -->
  287. <el-dialog
  288. title="组织关系变更"
  289. :visible.sync="orgRelationChangeObj.open"
  290. width="700px"
  291. append-to-body
  292. :destroy-on-close="true"
  293. :close-on-click-modal="false"
  294. class="orgrelationchange-dialog"
  295. >
  296. <el-form
  297. ref="orgRelationChangeFormRef"
  298. :model="orgRelationChangeObj.form"
  299. :rules="orgRelationChangeObj.rules"
  300. label-width="100px"
  301. >
  302. <el-row>
  303. <el-col :span="12">
  304. <el-form-item label="变更时间:" prop="modifyTime">
  305. <el-date-picker
  306. v-model="orgRelationChangeObj.form.modifyTime"
  307. type="date"
  308. clearable
  309. format="yyyy年MM月dd日"
  310. value-format="yyyy-MM-dd"
  311. style="width: 100%;"
  312. placeholder="请选择变更时间"
  313. ></el-date-picker>
  314. </el-form-item>
  315. </el-col>
  316. <el-col :span="12">
  317. <el-form-item label="姓名:" prop="memberName">
  318. <el-input
  319. v-model="orgRelationChangeObj.form.memberName"
  320. clearable
  321. placeholder="请输入姓名"
  322. />
  323. </el-form-item>
  324. </el-col>
  325. <el-col :span="12">
  326. <el-form-item label="身份证号:" prop="cardNo">
  327. <el-input v-model="orgRelationChangeObj.form.cardNo" clearable placeholder="请输入身份证号" />
  328. </el-form-item>
  329. </el-col>
  330. <el-col :span="12">
  331. <el-form-item label="类型:" prop="modifyType">
  332. <el-select
  333. v-model="orgRelationChangeObj.form.modifyType"
  334. placeholder="请选择类型"
  335. clearable
  336. size="small"
  337. style="width: 100%;"
  338. disabled
  339. >
  340. <el-option label="转入" value="0" />
  341. </el-select>
  342. </el-form-item>
  343. </el-col>
  344. <el-col :span="24">
  345. <el-form-item label="相关材料:" prop="relatedFile">
  346. <roc-pdf-file-upload
  347. key="ROCPDFFILEUPLOADFULLPARTYMEMBERATTACHMENTKEY"
  348. v-model="orgRelationChangeObj.form.relatedFile"
  349. upload-file-title="相关材料"
  350. ></roc-pdf-file-upload>
  351. </el-form-item>
  352. </el-col>
  353. <el-col :span="24">
  354. <el-form-item label="说明:" prop="remark">
  355. <el-input
  356. v-model="orgRelationChangeObj.form.remark"
  357. type="textarea"
  358. :autosize="{ minRows: 4}"
  359. placeholder="请输入说明"
  360. clearable
  361. />
  362. </el-form-item>
  363. </el-col>
  364. </el-row>
  365. </el-form>
  366. <div slot="footer" class="dialog-footer">
  367. <el-button type="rocpartyprimaryplainbtn" @click="orgRelationChangeCancelClick">取 消</el-button>
  368. <el-button
  369. :disabled="!orgRelationChangeObj.form.modifyTime || !orgRelationChangeObj.form.memberName || !orgRelationChangeObj.form.cardNo || !orgRelationChangeObj.form.modifyType"
  370. type="rocpartyprimarybtn"
  371. @click="orgRelationChangeSubmitForm"
  372. >下一步</el-button>
  373. </div>
  374. </el-dialog>
  375. </div>
  376. </template>
  377. <script>
  378. import {
  379. listOrgRelationship,
  380. addOrgRelationship,
  381. viewOrgRelationship,
  382. } from "@/api/PartyBuildingMgr/OrgRelationship";
  383. export default {
  384. name: "Orgrelationship",
  385. components: {
  386. 'roc-vue-pdf-dialog': () => import('@/components/RocVuePdfDialog'),
  387. 'roc-pdf-file-upload': () => import('@/components/RocPdfFileUpload'),
  388. 'update-party-develop': () => import('@/components/UpdatePartyDevelop')
  389. },
  390. data() {
  391. return {
  392. // 遮罩层
  393. loading: true,
  394. pageType: 'LIST',
  395. // 情况说明人选项列表
  396. situationExplainerOptions: [],
  397. total: 0,
  398. queryParams: {
  399. beginTime: undefined,
  400. endTime: undefined,
  401. name: undefined,
  402. pageNum: 1,
  403. pageSize: 10
  404. },
  405. list: [],
  406. viewPageFormObj: {
  407. formModel: {}
  408. },
  409. orgRelationChangeObj: {
  410. open: false,
  411. form: {},
  412. rules: {
  413. modifyTime: [
  414. { required: true, message: "变更时间不能为空", trigger: ['change', 'blur'] }
  415. ],
  416. memberName: [
  417. { required: true, message: "姓名不能为空", trigger: 'blur' }
  418. ],
  419. cardNo: [
  420. { required: true, message: "身份证号不能为空", trigger: 'blur' },
  421. {
  422. pattern: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/,
  423. message: "请输入正确身份证号",
  424. trigger: 'blur'
  425. }
  426. ],
  427. modifyType: [
  428. { required: true, message: "类型不能为空", trigger: ['change', 'blur'] }
  429. ]
  430. }
  431. },
  432. currentRow: {},
  433. orgRelationChangeTypeOptions: [],
  434. pdfDialogVisible: false,
  435. viewPdfFileUrlPrefix: `${window.origin}${process.env.VUE_APP_FILE_VIEW_API}`
  436. };
  437. },
  438. created() {
  439. this.initData();
  440. },
  441. methods: {
  442. /**
  443. * 初始化数据
  444. */
  445. async initData() {
  446. await this.getSubOptions();
  447. this.getList();
  448. },
  449. /**
  450. * 获取表格数据
  451. */
  452. getList() {
  453. this.loading = true;
  454. listOrgRelationship(this.queryParams).then(
  455. response => {
  456. this.list = response.rows || [];
  457. this.total = response.total ?? 0;
  458. this.loading = false;
  459. this.pageType = 'LIST';
  460. }
  461. );
  462. },
  463. /**
  464. * 获取次要选项列表
  465. */
  466. async getSubOptions() {
  467. // 组织关系变更类型列表
  468. await this.getDicts('org_relation_change_type').then(response => {
  469. this.orgRelationChangeTypeOptions = response?.data || [];
  470. });
  471. },
  472. /** 组织关系变更类型格式化 */
  473. orgRelationChangeTypeFormat(row) {
  474. return this.selectDictLabel(this.orgRelationChangeTypeOptions, row?.modifyType);
  475. },
  476. /**
  477. * 搜索按钮事件
  478. */
  479. handleQueryClick() {
  480. this.queryParams.pageNum = 1;
  481. this.initData();
  482. },
  483. /**
  484. * 重置按钮事件
  485. */
  486. resetQueryClick() {
  487. this.resetForm("queryForm");
  488. this.handleQueryClick();
  489. },
  490. /**
  491. * 完善资料按钮事件
  492. */
  493. handleEditClick(row) {
  494. if (!row?.memberId) return;
  495. this.currentRow = row;
  496. this.pageType = 'COMPLETEINFO';
  497. },
  498. /**
  499. * 详情按钮事件
  500. */
  501. handleViewClick(row) {
  502. if (!row.id) return;
  503. // 获取数据
  504. viewOrgRelationship(row.id).then(
  505. viewResp => {
  506. this.viewPageFormObj.formModel = viewResp.data || {};
  507. this.pageType = 'VIEW';
  508. }
  509. );
  510. },
  511. /**
  512. * 详情页面查看按钮事件
  513. */
  514. handleViewPageCheckClick() {
  515. this.pdfDialogVisible = true;
  516. },
  517. /**
  518. * 详情页面下载按钮事件
  519. */
  520. handleViewPageDownloadClick() {
  521. },
  522. /**
  523. * 详情页面关闭按钮事件
  524. */
  525. handleViewPageCloseClick() {
  526. this.pageType = 'LIST';
  527. },
  528. /**
  529. * 预览PDF页面关闭按钮事件
  530. */
  531. handleViewPdfPageCloseClick() {
  532. this.pageType = 'VIEW';
  533. },
  534. /**
  535. * 组织关系变更事件
  536. */
  537. async handleReactivateClick() {
  538. // 初始化数据
  539. this.orgRelationChangeObj.form = {};
  540. this.resetForm("orgRelationChangeFormRef");
  541. await this.getSubOptions();
  542. this.orgRelationChangeObj.form = {
  543. modifyType: '0'
  544. };
  545. this.orgRelationChangeObj.open = true;
  546. },
  547. /**
  548. * 组织关系变更对话框下一步按钮事件
  549. */
  550. orgRelationChangeSubmitForm() {
  551. this.$refs["orgRelationChangeFormRef"].validate(valid => {
  552. if (valid) {
  553. this.$confirm('是否确认当前【下一步】操作?', "警告", {
  554. confirmButtonText: "确定",
  555. cancelButtonText: "取消",
  556. type: "warning"
  557. }).then(() => {
  558. addOrgRelationship(this.orgRelationChangeObj.form).then(
  559. () => {
  560. this.orgRelationChangeCancelClick();
  561. this.msgSuccess("组织关系转入成功!稍后自动跳转完善资料页面!");
  562. this.handleQueryClick();
  563. this.$nextTick(() => {
  564. this.pageType = 'COMPLETEINFO';
  565. });
  566. }
  567. );
  568. }).catch(() => { });
  569. }
  570. });
  571. },
  572. /**
  573. * 组织关系变更对话框取消按钮事件
  574. */
  575. orgRelationChangeCancelClick() {
  576. this.orgRelationChangeObj.open = false;
  577. this.orgRelationChangeObj.form = {};
  578. this.resetForm("orgRelationChangeFormRef");
  579. },
  580. /**
  581. * 信息录入页面保存按钮事件
  582. */
  583. handleAddPageSubmitClick(param) {
  584. this.pageType = param;
  585. this.initData();
  586. },
  587. /**
  588. * 信息录入页面取消按钮事件
  589. */
  590. handleAddPageCloseClick(param) {
  591. this.pageType = param;
  592. this.initData();
  593. }
  594. }
  595. };
  596. </script>
  597. <style lang="scss" scoped>
  598. .orgrelationship {
  599. .orgrelationship-main {
  600. padding: 20px 20px 72px;
  601. min-height: 750px;
  602. background: url("../../../assets/images/home-head-img.png"), #ffffff;
  603. background-size: 67px 67px, cover;
  604. background-position: right 20px bottom 5px, center;
  605. background-repeat: no-repeat, no-repeat;
  606. border-radius: 10px;
  607. &-title {
  608. display: flex;
  609. align-items: center;
  610. div {
  611. &:first-child {
  612. height: 37px;
  613. line-height: 37px;
  614. }
  615. &:last-child {
  616. margin-left: 15px;
  617. height: 37px;
  618. font-size: 26px;
  619. font-weight: 400;
  620. color: #4f4f4f;
  621. line-height: 37px;
  622. letter-spacing: 1px;
  623. }
  624. img {
  625. width: 34px;
  626. height: 34px;
  627. }
  628. }
  629. }
  630. &-tabs.el-tabs {
  631. margin-top: 20px;
  632. ::v-deep {
  633. .el-tabs__item {
  634. font-size: 18px;
  635. font-weight: 500;
  636. color: #4f4f4f;
  637. opacity: 0.9;
  638. }
  639. .el-tabs__active-bar {
  640. background-color: #de0010;
  641. }
  642. .el-tabs__item.is-active {
  643. color: #de0010;
  644. background: #f9e9ea;
  645. }
  646. }
  647. }
  648. &-table {
  649. ::v-deep {
  650. .orgrelationship-table_header-row th.el-table__cell {
  651. background-color: #e5d4b4;
  652. }
  653. .el-table__row {
  654. background-color: #ffffff;
  655. }
  656. .el-table__row.el-table__row--striped {
  657. background-color: #f0f0f0;
  658. }
  659. }
  660. }
  661. }
  662. &-viewpage {
  663. width: 100%;
  664. &-title {
  665. display: flex;
  666. align-items: center;
  667. margin-bottom: 5px;
  668. div {
  669. &:first-child {
  670. height: 37px;
  671. line-height: 37px;
  672. }
  673. &:last-child {
  674. margin-left: 15px;
  675. height: 37px;
  676. font-size: 26px;
  677. font-weight: 400;
  678. color: #4f4f4f;
  679. line-height: 37px;
  680. letter-spacing: 1px;
  681. }
  682. img {
  683. width: 34px;
  684. height: 34px;
  685. }
  686. }
  687. }
  688. &-line {
  689. width: 100%;
  690. height: 1px;
  691. background: #d8dce5;
  692. margin-bottom: 15px;
  693. }
  694. &-form {
  695. padding: 0 10%;
  696. &-desc {
  697. display: flex;
  698. align-items: center;
  699. width: 100%;
  700. height: 36px;
  701. line-height: 36px;
  702. div {
  703. display: flex;
  704. align-items: center;
  705. justify-content: center;
  706. height: 36px;
  707. font-weight: 400;
  708. font-style: normal;
  709. font-size: 18px;
  710. color: rgba(24, 144, 255, 0.996);
  711. line-height: 36px;
  712. cursor: pointer;
  713. &:last-child {
  714. margin-left: 20px;
  715. }
  716. &:hover {
  717. text-decoration: underline;
  718. }
  719. }
  720. }
  721. &-processnode {
  722. ::v-deep {
  723. .el-checkbox {
  724. display: flex;
  725. align-items: center;
  726. .el-checkbox__input {
  727. display: flex;
  728. align-items: center;
  729. justify-content: center;
  730. height: 36px;
  731. line-height: 36px;
  732. }
  733. .el-checkbox__label {
  734. display: flex;
  735. align-items: center;
  736. }
  737. &.is-disabled {
  738. cursor: not-allowed;
  739. }
  740. }
  741. }
  742. .processnode-circle {
  743. display: flex;
  744. align-items: center;
  745. justify-content: center;
  746. width: 24px;
  747. height: 24px;
  748. font-size: 14px;
  749. color: #323232;
  750. background: #ffffff;
  751. border: 1px solid #323232;
  752. border-radius: 50%;
  753. line-height: 36px;
  754. opacity: 0.9;
  755. }
  756. .processnode-label {
  757. display: flex;
  758. align-items: center;
  759. margin-left: 5px;
  760. height: 36px;
  761. font-size: 16px;
  762. font-weight: 400;
  763. color: #333333;
  764. line-height: 36px;
  765. opacity: 0.9;
  766. }
  767. }
  768. }
  769. }
  770. }
  771. </style>