index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. <template>
  2. <div style="width: 100%; height: 100%; position: relative">
  3. <!-- 工单池 -->
  4. <template-page
  5. v-if="!(!!~['detail'].indexOf(pageType) && pageCode != '') && showTableBool"
  6. ref="pageRef"
  7. :getList="getList"
  8. :operation="operation()"
  9. :exportList="exportList"
  10. :optionsEvensGroup="optionsEvensGroup"
  11. :columnParsing="columnParsing"
  12. :tableAttributes="tableAttributes"
  13. :tableEvents="tableEvents"
  14. :moreParameters="moreParameters"
  15. :screeningAnalysis="screeningAnalysis"
  16. :filterMethod="filterMethod"
  17. :replaceOrNotMap="true"
  18. :defaultSearchData="defaultSearchData"
  19. >
  20. <div slot="moreSearch">
  21. <div style="margin-bottom: 10px">
  22. <span
  23. style="
  24. font-size: 12px;
  25. font-weight: 400;
  26. text-align: left;
  27. color: #666;
  28. line-height: 28px;
  29. margin-right: 10px;
  30. "
  31. >选择年份</span
  32. >
  33. <el-date-picker
  34. style="width: 130px"
  35. v-model="value1"
  36. format="yyyy"
  37. size="mini"
  38. type="year"
  39. placeholder="选择日期"
  40. >
  41. </el-date-picker>
  42. </div>
  43. </div>
  44. <!-- 创建工单 -->
  45. <div class="cartographer_big" v-if="!(!!~['detail'].indexOf(pageType) && pageCode != '')">
  46. <el-dialog
  47. title="创建工单"
  48. width="100%"
  49. :modal="false"
  50. :visible.sync="createFormBool"
  51. :before-close="handleClose"
  52. >
  53. <workOrderInfo :workOrderType="workOrderType" v-if="createFormBool" :cloneWorkOrder="cloneWorkOrder" />
  54. </el-dialog>
  55. </div>
  56. <!-- 批量预约/改约 -->
  57. <div class="cartographer_big" v-if="!(!!~['detail'].indexOf(pageType) && pageCode != '')">
  58. <el-dialog
  59. title="批量约单"
  60. width="100%"
  61. :modal="false"
  62. :visible.sync="rescheduleBool"
  63. :before-close="rescheduleClose"
  64. >
  65. <Reschedule v-if="rescheduleBool" :recordSelected="recordSelected" @close="rescheduleClose" />
  66. </el-dialog>
  67. </div>
  68. <!-- 批量派工/改派 -->
  69. <div class="cartographer_big" v-if="!(!!~['detail'].indexOf(pageType) && pageCode != '')">
  70. <el-dialog
  71. title="批量派单"
  72. width="100%"
  73. :modal="false"
  74. :visible.sync="reassignmentBool"
  75. :before-close="reassignmentClose"
  76. >
  77. <Reassignment v-if="reassignmentBool" :recordSelected="recordSelected" @close="reassignmentClose" />
  78. </el-dialog>
  79. </div>
  80. <div class="tubiao">
  81. <span style="margin-right: 4px; font-weight: bold; font-size: 12px">工单标识说明:</span>
  82. <img :src="v4" style="width: 20px; height: 20px; margin: 0 3px" />
  83. <span style="margin-right: 4px; font-size: 12px; display: inline-block; width: 76px">【4.0工单】</span>
  84. <img :src="gc" style="width: 20px; height: 20px; margin: 0 3px" />
  85. <span style="margin-right: 4px; font-size: 12px; display: inline-block; width: 76px">【工程】</span>
  86. <img :src="jj" style="width: 20px; height: 20px; margin: 0 3px" />
  87. <span style="margin-right: 4px; font-size: 12px; display: inline-block; width: 76px">【加急】</span>
  88. <img :src="ls" style="width: 20px; height: 20px; margin: 0 3px" />
  89. <span style="margin-right: 4px; font-size: 12px; display: inline-block; width: 76px">【零售】</span>
  90. <img :src="yjs" style="width: 20px; height: 20px; margin: 0 3px" />
  91. <span style="margin-right: 4px; font-size: 12px; display: inline-block; width: 76px">【已结算】</span>
  92. </div>
  93. <div class="tubiao2">
  94. <span style="margin-right: 4px; font-weight: bold; font-size: 12px; opacity: 0">工单标识说明:</span>
  95. <img :src="ywg" style="width: 20px; height: 20px; margin: 0 3px" />
  96. <span style="margin-right: 4px; font-size: 12px; display: inline-block; width: 76px">【已完工】</span>
  97. <img :src="yc" style="width: 20px; height: 20px; margin: 0 3px" />
  98. <span style="margin-right: 4px; font-size: 12px; display: inline-block; width: 76px">【异常】</span>
  99. <img :src="zj" style="width: 20px; height: 20px; margin: 0 3px" />
  100. <span style="margin-right: 4px; font-size: 12px; display: inline-block; width: 76px">【自建工单】</span>
  101. <img :src="pjsq" style="width: 20px; height: 20px; margin: 0 3px" />
  102. <span style="margin-right: 4px; font-size: 12px; display: inline-block; width: 76px">【配件申请】</span>
  103. <img :src="pjdh" style="width: 20px; height: 20px; margin: 0 3px" />
  104. <span style="margin-right: 4px; font-size: 12px; display: inline-block; width: 76px">【配件到货】</span>
  105. <img :src="pjqx" style="width: 20px; height: 20px; margin: 0 3px" />
  106. <span style="margin-right: 4px; font-size: 12px; display: inline-block; width: 76px">【配件取消】</span>
  107. </div>
  108. </template-page>
  109. <!-- 工单详情 -->
  110. <div class="cartographer_big haidhead__" v-if="!!~['detail'].indexOf(pageType) && pageCode != ''">
  111. <el-dialog
  112. class="noinonnlinin"
  113. :title="'工单详情-' + id"
  114. width="100%"
  115. :modal="false"
  116. :visible.sync="detailFormBool"
  117. :before-close="handleClose"
  118. >
  119. <Detail v-if="detailFormBool" :id="id" :workOrderType="workOrderType" />
  120. </el-dialog>
  121. </div>
  122. </div>
  123. </template>
  124. <script>
  125. import { EventBus } from '@/utils/eventBus'
  126. import TemplatePage from '@/components/template/template-page-1.vue'
  127. import import_mixin from '@/components/template/import_mixin.js'
  128. import operation_mixin from '@/components/template/operation_mixin.js'
  129. import { listPageV2 } from '@/api/workOrder/orderType'
  130. import {
  131. orderBaseList,
  132. orderBaseListExport,
  133. orderBaseStatusCount,
  134. orderBaseImport,
  135. orderBaseImport2,
  136. orderBaseImport3,
  137. orderBaseDetail
  138. } from '@/api/workOrderPool.js'
  139. import workOrderInfo from './detailModule/workOrderInfo/index.vue'
  140. import Detail from './detail'
  141. import Reassignment from './components/reassignment/index.vue'
  142. import Reschedule from './components/reschedule/index.vue'
  143. import { commonTemplateDownload } from '@/api/common.js'
  144. import orderListColumn from '@/mixin/orderListColumn'
  145. // -----------------------
  146. import v4 from '@/assets/order/4.0@2x.png'
  147. import gc from '@/assets/order/工程@2x.png'
  148. import jj from '@/assets/order/加急@2x.png'
  149. import ls from '@/assets/order/零售@2x.png'
  150. import yjs from '@/assets/order/已结算@2x.png'
  151. import ywg from '@/assets/order/已完工待结算@2x@2x.png'
  152. import yc from '@/assets/order/异常@2x.png'
  153. import zj from '@/assets/order/自建@2x.png'
  154. import pjsq from '@/assets/order/配件申请中@2x.png'
  155. import pjdh from '@/assets/order/配件已到货@2x.png'
  156. import pjqx from '@/assets/order/配件已取消@2x.png'
  157. import { orderStatus_v_fh } from '@/views/workOrder/workOrderPool/mixins/orderStatus_FH.js'
  158. export default {
  159. components: {
  160. TemplatePage,
  161. workOrderInfo,
  162. Detail,
  163. Reassignment,
  164. Reschedule
  165. },
  166. mixins: [import_mixin, operation_mixin, orderListColumn],
  167. data() {
  168. return {
  169. v4,
  170. gc,
  171. jj,
  172. ls,
  173. yjs,
  174. ywg,
  175. yc,
  176. zj,
  177. pjsq,
  178. pjdh,
  179. pjqx,
  180. id: this.$route.query.id || '',
  181. // 创建表单
  182. createFormBool: false,
  183. // 详情
  184. detailFormBool: true,
  185. // 批量改约
  186. rescheduleBool: false,
  187. // 批量派工/改派
  188. reassignmentBool: false,
  189. // 表格属性
  190. tableAttributes: {
  191. // 启用勾选列
  192. selectColumn: true,
  193. selectable: this.selectable
  194. },
  195. // 表格事件
  196. tableEvents: {
  197. 'selection-change': this.selectionChange
  198. },
  199. recordSelected: [],
  200. orderTypeList: [],
  201. orderStatusList: [],
  202. defaultSearchData: [],
  203. workOrderType: 1,
  204. cloneWorkOrder: null,
  205. value1: new Date(),
  206. showTableBool: true,
  207. fuhezhuangtai: {
  208. DSHPG: [
  209. 'DSHPG',
  210. 'CJ',
  211. 'YPD',
  212. 'DXSPD',
  213. 'DZBPG',
  214. 'DWDSPGP',
  215. 'DXSSPGP',
  216. 'DTJXSSPGP',
  217. 'DZBSPGP',
  218. 'DFZXPD',
  219. 'DFZXSPGP',
  220. 'XSBH',
  221. 'TJXSBH',
  222. 'ZBBH',
  223. 'FZXBH',
  224. 'FL'
  225. ],
  226. DWDPG: ['DWDPG', 'DWDPD', 'WDBH'],
  227. FWZ: ['FWZ', 'GCSZT', 'BFWG', 'DSM', 'YZP'],
  228. YWG: ['YWG', 'GCSZX', 'WDWG', 'YWGO'],
  229. YJS: ['YJS', 'LRCD'],
  230. YQX: ['YQX', 'FWZT', 'YCGB', 'FWQX']
  231. }
  232. }
  233. },
  234. watch: {
  235. value1() {
  236. this.showTableBool = false
  237. this.$nextTick(() => {
  238. this.showTableBool = true
  239. })
  240. }
  241. },
  242. computed: {
  243. moreParameters() {
  244. return [
  245. {
  246. name: '工单类型',
  247. key: 'orderSmallTypeText',
  248. value: '',
  249. conditions: [
  250. {
  251. label: '全部',
  252. value: ''
  253. },
  254. ...this.orderTypeList
  255. ]
  256. },
  257. {
  258. name: '工单状态',
  259. key: 'orderStatus',
  260. value: this.pageType == 'orderStatus' && this.pageCode ? this.pageCode : '',
  261. conditions: [
  262. {
  263. label: '全部',
  264. value: ''
  265. },
  266. ...this.orderStatusList
  267. ]
  268. }
  269. ]
  270. },
  271. // 用户信息
  272. userInfo() {
  273. return JSON.parse(localStorage.getItem('greemall_user'))
  274. },
  275. // 事件组合
  276. optionsEvensGroup() {
  277. return [
  278. [
  279. [
  280. this.optionsEvensAuth(['createWorkOrder', 'createWbWorkOrder'], {
  281. name: '创建工单',
  282. click: () => {}
  283. }),
  284. this.optionsEvensAuth('createWorkOrder', {
  285. click: () => {
  286. this.workOrderType = 1
  287. this.createFormBool = true
  288. }
  289. }),
  290. this.optionsEvensAuth('createGCWorkOrder', {
  291. click: () => {
  292. this.workOrderType = 2
  293. this.createFormBool = true
  294. }
  295. }),
  296. this.optionsEvensAuth('createWbWorkOrder', {
  297. click: () => {
  298. this.workOrderType = 4
  299. this.createFormBool = true
  300. }
  301. })
  302. ],
  303. [
  304. this.optionsEvensAuth(
  305. [
  306. 'import4',
  307. 'importTemplate',
  308. 'downloadImportTemplate',
  309. 'downloadImportTemplate4',
  310. 'importTemplate2',
  311. 'downloadImportTemplate2'
  312. ],
  313. {
  314. name: '导入工单',
  315. click: () => {}
  316. }
  317. ),
  318. this.optionsEvensAuth('import4', ({ moduleName }) => {
  319. return {
  320. name: moduleName,
  321. render: () => {
  322. return this.importButton(orderBaseImport3, moduleName)
  323. }
  324. }
  325. }),
  326. this.optionsEvensAuth('downloadImportTemplate4', {
  327. click: () => {
  328. commonTemplateDownload({ name: '4.0工单导入模板.xlsx' }, `4.0工单导入模板`)
  329. .then(res => {
  330. this.$message({
  331. message: '下载成功',
  332. type: 'success'
  333. })
  334. })
  335. .catch(err => {
  336. this.$message.error('下载失败')
  337. })
  338. }
  339. }),
  340. this.optionsEvensAuth('importTemplate', ({ moduleName }) => {
  341. return {
  342. name: moduleName,
  343. render: () => {
  344. return this.importButton(orderBaseImport, moduleName)
  345. }
  346. }
  347. }),
  348. this.optionsEvensAuth('downloadImportTemplate', {
  349. click: () => {
  350. commonTemplateDownload({ name: '工单导入模板.xlsx' }, `工单导入模板`)
  351. .then(res => {
  352. this.$message({
  353. message: '下载成功',
  354. type: 'success'
  355. })
  356. })
  357. .catch(err => {
  358. this.$message.error('下载失败')
  359. })
  360. }
  361. }),
  362. this.optionsEvensAuth('importTemplate2', ({ moduleName }) => {
  363. return {
  364. name: moduleName,
  365. render: () => {
  366. return this.importButton(orderBaseImport2, moduleName)
  367. }
  368. }
  369. }),
  370. this.optionsEvensAuth('downloadImportTemplate2', {
  371. click: () => {
  372. commonTemplateDownload({ name: '工单导入模板2.xlsx' }, `${this.$route.meta.title}`)
  373. .then(res => {
  374. this.$message({
  375. message: '下载成功',
  376. type: 'success'
  377. })
  378. })
  379. .catch(err => {
  380. this.$message.error('下载失败')
  381. })
  382. }
  383. })
  384. ],
  385. [
  386. this.optionsEvensAuth(['bulkOrder', 'lotOrder'], {
  387. name: '批量操作',
  388. click: () => {}
  389. }),
  390. this.optionsEvensAuth('bulkOrder', {
  391. click: () => {
  392. if (this.recordSelected.length === 0) {
  393. this.$message.warning('请勾选工单')
  394. return
  395. }
  396. this.reassignmentBool = true
  397. }
  398. }),
  399. this.optionsEvensAuth('lotOrder', {
  400. click: () => {
  401. if (this.recordSelected.length === 0) {
  402. this.$message.warning('请勾选工单')
  403. return
  404. }
  405. this.rescheduleBool = true
  406. }
  407. })
  408. ]
  409. ]
  410. ]
  411. }
  412. },
  413. created() {
  414. this.initFun()
  415. EventBus.$on('handleOrderClone', () => {
  416. if (!(!!~['detail'].indexOf(this.pageType) && this.pageCode != '')) {
  417. this.handleClose()
  418. }
  419. })
  420. EventBus.$on('cloneWorkOrder', data => {
  421. if (!(!!~['detail'].indexOf(this.pageType) && this.pageCode != '')) {
  422. this.handleClose(() => {
  423. this.cloneWorkOrder = data
  424. this.workOrderType = data.saleType
  425. this.createFormBool = false
  426. this.$nextTick(() => {
  427. this.createFormBool = true
  428. })
  429. })
  430. }
  431. })
  432. if (!(!!~['detail'].indexOf(this.pageType) && this.pageCode != '')) {
  433. // 获取工单类型
  434. listPageV2({ pageNum: 1, pageSize: -1, params: [{ param: 'a.status', compare: '=', value: 'true' }] }).then(
  435. res => {
  436. var obj = {}
  437. res.data.records.map(item => {
  438. if (!obj[item.orderSmallTypeText]) {
  439. obj[item.orderSmallTypeText] = {
  440. value: item.orderSmallTypeText,
  441. label: item.orderSmallTypeText
  442. }
  443. }
  444. })
  445. this.orderTypeList = Object.values(obj)
  446. }
  447. )
  448. }
  449. },
  450. methods: {
  451. initFun() {
  452. if (this.pageType == 'detail') {
  453. this.id = this.pageCode
  454. orderBaseDetail({
  455. orderBaseId: this.id
  456. }).then(res => {
  457. this.workOrderType = Number(res?.data?.saleType)
  458. this.$nextTick(() => {
  459. this.detailFormBool = true
  460. })
  461. })
  462. }
  463. if (this.pageType == 'saleOrderId') {
  464. this.defaultSearchData = [{ param: 'a.sale_order_id', compare: '=', value: this.pageCode, label: '销售订单号' }]
  465. }
  466. if (this.pageType == 'pgIncreItemId') {
  467. this.defaultSearchData = [
  468. { param: 'a.pg_incre_order_id', compare: '=', value: this.pageCode, label: '增置服务订单ID' }
  469. ]
  470. }
  471. if (this.pageType == 'rpProjectRepairId') {
  472. this.defaultSearchData = [
  473. { param: 'a.rp_project_repair_id', compare: '=', value: this.pageCode, label: '维保配置ID' }
  474. ]
  475. }
  476. if (this.pageType == 'projectNo') {
  477. this.defaultSearchData = [{ param: 'a.project_no', compare: '=', value: this.pageCode, label: '工程编号' }]
  478. }
  479. },
  480. selectable(row, index) {
  481. var orderStatus = Object.entries(row.selectMapData.orderStatus).find(([key, val]) => val == row.orderStatus)?.[0]
  482. return (
  483. !row.isThreeOrder &&
  484. !['YWG', 'GCSZX', 'WDWG', 'YWGO'].includes(orderStatus) &&
  485. !['YJS', 'LRCD'].includes(orderStatus) &&
  486. !['YQX', 'FWZT', 'YCGB', 'FWQX'].includes(orderStatus) &&
  487. !row.rpProjectRepairId
  488. )
  489. },
  490. screeningAnalysis(jname, val) {
  491. if (jname == 'orderFlags') {
  492. return (val || []).map(item => item.tagName).join(',')
  493. } else {
  494. return val
  495. }
  496. },
  497. filterMethod(value, row, column) {
  498. if (column['property'] == 'orderFlags') {
  499. return (row[column['property']] || []).map(item => item.tagName).join(',') === value
  500. }
  501. return row[column['property']] === value
  502. },
  503. // 获取统计
  504. getOrderBaseStatusCount(...p) {
  505. orderBaseStatusCount(...p).then(res => {
  506. this.orderStatusList = [
  507. {
  508. label: '待预约',
  509. value: 'DYY'
  510. },
  511. {
  512. label: '待抢单',
  513. value: 'DQD'
  514. },
  515. {
  516. label: '待商户派工',
  517. value: 'DSHPG'
  518. },
  519. {
  520. label: '待网点派工',
  521. value: 'DWDPG'
  522. },
  523. {
  524. label: '待接单',
  525. value: 'DJD'
  526. },
  527. {
  528. label: '服务中',
  529. value: 'FWZ'
  530. },
  531. {
  532. label: '异常单',
  533. value: 'YCD'
  534. },
  535. {
  536. label: '已完工',
  537. value: 'YWG'
  538. },
  539. {
  540. label: '已结算',
  541. value: 'YJS'
  542. },
  543. {
  544. label: '已取消',
  545. value: 'YQX'
  546. },
  547. {
  548. label: '配件申请中',
  549. value: 'PJSQZ'
  550. },
  551. {
  552. label: '配件已到货',
  553. value: 'PJYDH'
  554. },
  555. {
  556. label: '配件已取消',
  557. value: 'PJYQX'
  558. }
  559. ].map(item => {
  560. if (this.fuhezhuangtai[item.value]) {
  561. var num = 0
  562. this.fuhezhuangtai[item.value].map(status => {
  563. num += res.data.find(val => val.orderStatus == status)?.total || 0
  564. })
  565. item.label = `${item.label}(${num || 0})`
  566. } else {
  567. var data = res.data.find(val => val.orderStatus == item.value)
  568. item.label = `${item.label}(${data?.total || 0})`
  569. }
  570. return item
  571. })
  572. })
  573. },
  574. // 列表请求函数
  575. getList(p, cb) {
  576. var pam = JSON.parse(JSON.stringify(p))
  577. try {
  578. if (pam.orderStatus) {
  579. if (this.fuhezhuangtai[pam.orderStatus]) {
  580. pam.params.push({ param: 'a.order_status', compare: '=', value: this.fuhezhuangtai[pam.orderStatus] })
  581. pam.orderStatus = ''
  582. } else {
  583. pam.params.push({ param: 'a.order_status', compare: '=', value: pam.orderStatus })
  584. }
  585. }
  586. if (pam.orderSmallTypeText) {
  587. pam.params.push({ param: 'a.order_small_type_text', compare: '=', value: pam.orderSmallTypeText })
  588. }
  589. if (this.value1) {
  590. pam.params.push(
  591. { param: 'a.create_time', compare: '>=', value: `${new Date(this.value1).getFullYear()}-1-1 00:00:00` },
  592. { param: 'a.create_time', compare: '<=', value: `${new Date(this.value1).getFullYear()}-12-31 23:59:59` }
  593. )
  594. }
  595. cb && cb(pam)
  596. return orderBaseList(pam)
  597. } catch (err) {
  598. } finally {
  599. this.$nextTick(() => {
  600. this.getOrderBaseStatusCount({
  601. orderSmallTypeText: pam.orderSmallTypeText || '',
  602. ...(() => {
  603. if (this.value1) {
  604. return {
  605. startTime: `${new Date(this.value1).getFullYear()}-1-1 00:00:00`,
  606. endTime: `${new Date(this.value1).getFullYear()}-12-31 23:59:59`
  607. }
  608. }
  609. return {}
  610. })()
  611. })
  612. })
  613. }
  614. },
  615. // 列表导出函数
  616. exportList: orderBaseListExport,
  617. // 监听勾选变化
  618. selectionChange(data) {
  619. this.recordSelected = data
  620. },
  621. operation() {
  622. return this.operationBtn({
  623. edit: {
  624. click: ({ row, index, column }) => {
  625. this.$router.push({
  626. name: 'workOrderPool',
  627. params: {
  628. pageName: row.id,
  629. pageType: 'detail',
  630. pageCode: row.id
  631. }
  632. })
  633. }
  634. }
  635. })
  636. },
  637. handleClose(cb) {
  638. this.$router.push({
  639. name: 'workOrderPool',
  640. params: {},
  641. query: {}
  642. })
  643. this.$nextTick(() => {
  644. this.cloneWorkOrder = null
  645. this.createFormBool = false
  646. this.detailFormBool = false
  647. this.recordSelected = []
  648. this.$refs?.pageRef?.refreshList()
  649. if (cb && typeof cb === 'function') {
  650. cb()
  651. }
  652. })
  653. },
  654. rescheduleClose() {
  655. this.rescheduleBool = false
  656. this.recordSelected = []
  657. this.$refs?.pageRef?.refreshList()
  658. },
  659. reassignmentClose() {
  660. this.reassignmentBool = false
  661. this.recordSelected = []
  662. this.$refs?.pageRef?.refreshList()
  663. }
  664. }
  665. }
  666. </script>
  667. <style lang="scss" scoped>
  668. .haidhead__ {
  669. ::v-deep .noinonnlinin {
  670. & > div > .el-dialog__header {
  671. display: none !important;
  672. }
  673. & > div > .el-dialog__body {
  674. width: 100%;
  675. height: 100% !important;
  676. position: relative;
  677. box-sizing: border-box;
  678. padding: 0px;
  679. overflow-y: auto;
  680. }
  681. }
  682. }
  683. .tubiao {
  684. position: absolute;
  685. bottom: 35px;
  686. left: 20px;
  687. z-index: 10;
  688. width: 60%;
  689. height: auto;
  690. display: flex;
  691. justify-content: flex-start;
  692. align-items: center;
  693. z-index: -1;
  694. }
  695. .tubiao2 {
  696. position: absolute;
  697. bottom: 5px;
  698. left: 20px;
  699. z-index: 10;
  700. width: 60%;
  701. height: auto;
  702. display: flex;
  703. justify-content: flex-start;
  704. align-items: center;
  705. z-index: -1;
  706. }
  707. </style>