eqDetaileDialog.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. <template>
  2. <!-- 详情页面 -->
  3. <div class='gdqd-dialog'>
  4. <div class='top'></div>
  5. <div class='gdqd-top'>
  6. <div class='gdqd-dialog-top'>
  7. <el-input
  8. placeholder='搜索设备简称编号'
  9. style='width:192px;margin-right:12px'
  10. size='small'
  11. prefix-icon='el-icon-search'
  12. v-model='sbjc'
  13. clearable
  14. @keyup.enter.native='queryTableList'
  15. @blur='queryTableList'
  16. ></el-input>
  17. <Select v-model='sbglgs' width='180' tipPlace='top' caption='管理归属:' size='small' :selectdata='sbglgsOption' @change='queryTableList'></Select>
  18. <Select
  19. width='160'
  20. style='margin: 0 12px;'
  21. v-model='status'
  22. tipPlace='top'
  23. caption='设备状态:'
  24. size='small'
  25. :selectdata='statusOption'
  26. @change='queryTableList'
  27. ></Select>
  28. <el-input
  29. placeholder='搜索品牌、型号'
  30. style='width:180px;margin-right:12px'
  31. size='small'
  32. clearable
  33. prefix-icon='el-icon-search'
  34. v-model='brand'
  35. @keyup.enter.native='queryTableList'
  36. @blur='queryTableList'
  37. ></el-input>
  38. <Select
  39. width='150'
  40. style='margin-right:12px;'
  41. v-model='floor'
  42. tipPlace='top'
  43. caption='楼层:'
  44. size='small'
  45. :selectdata='floorAllSelect'
  46. @change='queryTableList'
  47. ></Select>
  48. <el-input
  49. placeholder='搜索安装位置'
  50. @keyup.enter.native='queryTableList'
  51. @blur='queryTableList'
  52. clearable
  53. style='width:180px;margin-right:12px'
  54. size='small'
  55. prefix-icon='el-icon-search'
  56. v-model='wzjc'
  57. ></el-input>
  58. <!-- 多余的筛选 -->
  59. <input-dialog :type='1' @confirm='confirm'></input-dialog>
  60. </div>
  61. <div class='gdqd-dialog-bottom' ref='table-container-1'>
  62. <el-table @row-click='innerTable' :data='tableData' :key='key' :border='true' style='width: 100%' :highlight-current-row='true'>
  63. <el-table-column type='index' label='序号' width='60'>
  64. <template slot-scope='{row,$index}'>
  65. <div v-if='!row.assetuid'>{{$index + 1}}</div>
  66. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  67. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  68. <div slot='reference'>{{$index + 1}}</div>
  69. </el-popover>
  70. </template>
  71. </el-table-column>
  72. <el-table-column prop='sbjc' label='设备名称' show-overflow-tooltip resizable min-width='338'>
  73. <!-- <template slot-scope='{row}'>{{row.sbjc || '--'}}</template> -->
  74. <template slot-scope='{row}'>
  75. <div v-if='!row.assetuid'>{{row.sbjc || '--'}}</div>
  76. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  77. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  78. <div slot='reference'>{{row.sbjc || '--'}}</div>
  79. </el-popover>
  80. </template>
  81. </el-table-column>
  82. <el-table-column prop='assetnum' label='设备内码' show-overflow-tooltip resizable width='80'>
  83. <!-- <template slot-scope='{row}'>{{row.assetnum || '--'}}</template> -->
  84. <template slot-scope='{row}'>
  85. <div v-if='!row.assetuid'>{{row.assetnum || '--'}}</div>
  86. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  87. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  88. <div slot='reference'>{{row.assetnum || '--'}}</div>
  89. </el-popover>
  90. </template>
  91. </el-table-column>
  92. <el-table-column prop='sbglgs' label='管理归属' show-overflow-tooltip resizable>
  93. <!-- <template slot-scope='{row}'>{{row.sbglgs || '--'}}</template> -->
  94. <template slot-scope='{row}'>
  95. <div v-if='!row.assetuid'>{{row.sbglgs || '--'}}</div>
  96. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  97. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  98. <div slot='reference'>{{row.sbglgs || '--'}}</div>
  99. </el-popover>
  100. </template>
  101. </el-table-column>
  102. <el-table-column prop='sb_status' label='设备状态' width='80' show-overflow-tooltip resizable>
  103. <!-- <template slot-scope='{row}'>{{row.sb_status || '--'}}</template> -->
  104. <template slot-scope='{row}'>
  105. <div v-if='!row.assetuid'>{{row.sb_status || '--'}}</div>
  106. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  107. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  108. <div slot='reference'>{{row.sb_status || '--'}}</div>
  109. </el-popover>
  110. </template>
  111. </el-table-column>
  112. <el-table-column prop='brand' label='品牌' show-overflow-tooltip resizable width='80'>
  113. <!-- <template slot-scope='{row}'>{{row.brand || '--'}}</template> -->
  114. <template slot-scope='{row}'>
  115. <div v-if='!row.assetuid'>{{row.brand || '--'}}</div>
  116. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  117. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  118. <div slot='reference'>{{row.brand || '--'}}</div>
  119. </el-popover>
  120. </template>
  121. </el-table-column>
  122. <el-table-column prop='sbxh' label='型号' show-overflow-tooltip resizable width='100'>
  123. <!-- <template slot-scope='{row}'>{{row.sbxh || '--'}}</template> -->
  124. <template slot-scope='{row}'>
  125. <div v-if='!row.assetuid'>{{row.sbxh || '--'}}</div>
  126. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  127. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  128. <div slot='reference'>{{row.sbxh || '--'}}</div>
  129. </el-popover>
  130. </template>
  131. </el-table-column>
  132. <el-table-column prop='floor' sortable label='楼层' width='70' show-overflow-tooltip resizable>
  133. <!-- <template slot-scope='{row}'>{{row.floorcode || '--'}}</template> -->
  134. <template slot-scope='{row}'>
  135. <div v-if='!row.assetuid'>{{row.floorcode || '--'}}</div>
  136. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  137. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  138. <div slot='reference'>{{row.floorcode || '--'}}</div>
  139. </el-popover>
  140. </template>
  141. </el-table-column>
  142. <el-table-column prop='wzjc' label='安装位置' show-overflow-tooltip resizable min-width='250'>
  143. <!-- <template slot-scope='{row}'>{{row.wzjc || '--'}}</template> -->
  144. <template slot-scope='{row}'>
  145. <div v-if='!row.assetuid'>{{row.wzjc || '--'}}</div>
  146. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  147. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  148. <div slot='reference'>{{row.wzjc || '--'}}</div>
  149. </el-popover>
  150. </template>
  151. </el-table-column>
  152. <el-table-column prop='manufacturer' label='生产厂商' show-overflow-tooltip resizable min-width='300'>
  153. <!-- <template slot-scope='{row}'>{{row.manufacturer || '--'}}</template> -->
  154. <template slot-scope='{row}'>
  155. <div v-if='!row.assetuid'>{{row.manufacturer || '--'}}</div>
  156. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  157. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  158. <div slot='reference'>{{row.manufacturer || '--'}}</div>
  159. </el-popover>
  160. </template>
  161. </el-table-column>
  162. <el-table-column prop='fws' label='服务商' show-overflow-tooltip resizable min-width='300'>
  163. <!-- <template slot-scope='{row}'>{{row.fws || '--'}}</template> -->
  164. <template slot-scope='{row}'>
  165. <div v-if='!row.assetuid'>{{row.fws || '--'}}</div>
  166. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  167. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  168. <div slot='reference'>{{row.fws || '--'}}</div>
  169. </el-popover>
  170. </template>
  171. </el-table-column>
  172. <el-table-column prop label='相关资料' show-overflow-tooltip resizable min-width='150'>
  173. <!-- <template slot-scope='{row}'>{{'--'}}</template> -->
  174. <template slot-scope='{row}'>
  175. <div v-if='!row.assetuid'>--</div>
  176. <el-popover v-else placement='top' width='100' trigger='click' popper-class='m-popover'>
  177. <el-button type='text' @click='goToGC(row.assetuid)'>跳转工程信息化</el-button>
  178. <div slot='reference'>--</div>
  179. </el-popover>
  180. </template>
  181. </el-table-column>
  182. </el-table>
  183. </div>
  184. </div>
  185. <!-- 底部表格 -->
  186. <div class='table-bottom'>
  187. <!-- 页签切换 -->
  188. <div class='title'>
  189. <div class='text'>维保:</div>
  190. <div class='d-tab d-tab-left' :class='{active:currentTab === 0}' @click='changeTab(0)'>重要维保</div>
  191. <div class='d-tab d-tab-right' :class='{active:currentTab === 1}' @click='changeTab(1)'>日常维保</div>
  192. <div class='text text-r'>维修:</div>
  193. <div class='d-tab d-tab-left' :class='{active:currentTab === 2}' @click='changeTab(2)'>重要维修</div>
  194. <div class='d-tab d-tab-right' :class='{active:currentTab === 3}' @click='changeTab(3)'>日常维修</div>
  195. </div>
  196. <!-- 动态显示各个表格组件 : 'wbTable', 'rcwbTable', 'wxTable', 'rcwxTable' -->
  197. <div class='table2-container'>
  198. <component
  199. v-if='Object.keys(this.row).length>0'
  200. :is='currentComponent'
  201. :ref='currentComponent'
  202. :smsxt='smsxt'
  203. :tabLabel='tabLabel[currentComponent]'
  204. :diff='diff'
  205. :assetnum='assetnum'
  206. :size='size'
  207. ></component>
  208. </div>
  209. </div>
  210. </div>
  211. </template>
  212. <script>
  213. /**
  214. * @author yunxing
  215. * @date 2020年08月18日18:01
  216. * @description 上部表格添加popover,点击后,如果有assetuid,显示popover,可以进行跳转工程信息化
  217. */
  218. import { Select } from 'meri-design'
  219. import { mapGetters } from 'vuex'
  220. import { queryAsset } from '@/api/equipmentList.js'
  221. import { querySelect } from '@/api/public.js'
  222. import inputDialog from './inputDIalog'
  223. import rcwbTable from './rcwbTable'
  224. import wbTable from './wbTable'
  225. import rcwxTable from './rcwxTable'
  226. import wxTable from './wxTable'
  227. export default {
  228. data() {
  229. return {
  230. tableData: [],
  231. sbjc: '',
  232. brand: '',
  233. wzjc: '',
  234. floor: '1',
  235. status: '1',
  236. manufacturer: '',
  237. fws: '',
  238. sbglgs: '1',
  239. sbglgsOption: [],
  240. statusOption: [],
  241. floorAllSelect: [],
  242. activeId: '1',
  243. activeName1: 'wb1',
  244. activeName2: '',
  245. visible: false,
  246. key: 0,
  247. assetnum: '', //区分设备的维修和维保关键
  248. currentTab: 0, //选中页签,默认重要维保
  249. currentComponent: 'wbTable', //选中的组件,默认 重要维保
  250. componentArr: ['wbTable', 'rcwbTable', 'wxTable', 'rcwxTable'], //下部表格组件列表
  251. tabLabel: {
  252. //下部表格组件列表使用label
  253. wbTable: '重要维保',
  254. rcwbTable: '日常维保',
  255. wxTable: '重要维修',
  256. rcwxTable: '日常维保',
  257. },
  258. size: 5, //分页条数
  259. }
  260. },
  261. components: {
  262. Select,
  263. inputDialog,
  264. rcwbTable,
  265. wbTable,
  266. rcwxTable,
  267. wxTable,
  268. },
  269. computed: {
  270. ...mapGetters(['floorSelect']),
  271. },
  272. mounted() {
  273. this.queryTableList()
  274. this.getFloorAllSelect()
  275. this.tabFind()
  276. if (document.body.clientWidth >= 1920) {
  277. this.size = 9
  278. }
  279. // 滚动时,隐藏上部表格的popover
  280. window.addEventListener('scroll', this.handleScroll, true)
  281. this.$once('hook:beforeDestroy', () => {
  282. window.removeEventListener('scroll', this.handleScroll)
  283. })
  284. },
  285. props: ['row', 'major', 'sign', 'smsxt', 'diff'],
  286. methods: {
  287. // 页面
  288. handleScroll(e) {
  289. // let popoverArr = Array.from(document.querySelectorAll('body>.m-popover'))
  290. // if (popoverArr.length) {
  291. // popoverArr.map((item) => (item.style.display = 'none'))
  292. // }
  293. // 滚动时,如果是上部表格,隐藏上部表格的popover
  294. this.$nextTick(() => {
  295. if (this.$refs['table-container-1'].contains(e.target)) {
  296. document.body.click()
  297. document.dispatchEvent(new CustomEvent('mousedown'))
  298. document.dispatchEvent(new CustomEvent('mouseup'))
  299. }
  300. })
  301. },
  302. innerTable(row) {
  303. this.assetnum = row.assetnum
  304. this.changeTab(0)
  305. // this.$refs.wbTable.startMethods()
  306. // if (row.assetuid) {
  307. // window.open(`http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=assetdevic&uniqueid=${row.assetuid}`)
  308. // }
  309. },
  310. // 跳转工程信息化
  311. goToGC(assetuid) {
  312. window.open(`http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=assetdevic&uniqueid=${assetuid}`)
  313. },
  314. //多余输入框监听
  315. confirm(fws, manufacturer) {
  316. this.fws = fws
  317. this.manufacturer = manufacturer
  318. this.queryTableList()
  319. },
  320. //下拉框查询
  321. tabFind() {
  322. let postParams = [
  323. {
  324. columnName: { sbglgs: 'sbglgs', sb_status: 'sb_status' },
  325. params: {
  326. type_code: this.row.type_code,
  327. },
  328. tableName: 'sms_asset', //视图名称
  329. },
  330. ]
  331. let major
  332. if (this.major.slice(0, 2) == 'GD') {
  333. major = '供电'
  334. } else if (this.major.slice(0, 2) == 'XF') {
  335. major = '消防'
  336. } else if (this.major.slice(0, 2) == 'GPS') {
  337. major = '给排水'
  338. } else if (this.major.slice(0, 2) == 'DT') {
  339. major = '电梯'
  340. } else if (this.major.slice(0, 2) == 'RQ') {
  341. major = '燃气'
  342. } else {
  343. major = this.major
  344. }
  345. let data = {
  346. major: major,
  347. plazaId: this.$store.state.plazaId,
  348. }
  349. if (major != '土建') {
  350. data.onlyMainAsset = true
  351. }
  352. querySelect({ data, postParams }).then((res) => {
  353. let sb_status = res.data.data.sms_asset.sb_status
  354. let sbglgs = res.data.data.sms_asset.sbglgs
  355. this.sbglgsOption = []
  356. this.sbglgsOption.push({
  357. name: '全部',
  358. id: '1',
  359. })
  360. this.statusOption = []
  361. this.statusOption.push({
  362. name: '全部',
  363. id: '1',
  364. })
  365. sb_status.forEach((el) => {
  366. this.statusOption.push({
  367. name: el.value,
  368. id: el.key,
  369. })
  370. })
  371. sbglgs.forEach((el) => {
  372. this.sbglgsOption.push({
  373. name: el.value,
  374. id: el.key,
  375. })
  376. })
  377. })
  378. },
  379. queryTableList() {
  380. console.log('queryTableList')
  381. let major
  382. if (this.major.slice(0, 2) == 'GD') {
  383. major = '供电'
  384. } else if (this.major.slice(0, 2) == 'XF') {
  385. major = '消防'
  386. } else if (this.major.slice(0, 2) == 'GPS') {
  387. major = '给排水'
  388. } else if (this.major.slice(0, 2) == 'DT') {
  389. major = '电梯'
  390. } else if (this.major.slice(0, 2) == 'RQ') {
  391. major = '燃气'
  392. } else {
  393. major = this.major
  394. }
  395. let data = {
  396. major: major,
  397. plazaId: this.$store.state.plazaId,
  398. }
  399. //区分主要设备
  400. if (this.major != '土建') {
  401. data.onlyMainAsset = true
  402. }
  403. //输入框搜索
  404. data.keyword = ''
  405. if (this.sbjc) {
  406. data.keyword += `${this.sbjc}:sbjc,assetnum;`
  407. }
  408. if (this.brand) {
  409. data.keyword += `${this.brand}:brand,sbxh;`
  410. }
  411. if (this.wzjc) {
  412. data.keyword += `${this.wzjc}:wzjc;`
  413. }
  414. if (this.manufacturer) {
  415. data.keyword += `${this.manufacturer}:manufacturer;`
  416. }
  417. if (this.fws) {
  418. data.keyword += `${this.fws}:fws;`
  419. }
  420. if (data.keyword == '') {
  421. delete data.keyword
  422. }
  423. let postParams = {
  424. classstructureid: this.row.classstructureid,
  425. type_code: this.row.type_code,
  426. manufacturer: this.row.manufacturer || '--',
  427. sbxh: this.row.sbxh || '--',
  428. brand: this.row.brand || '--',
  429. }
  430. //下拉筛选
  431. if (this.floor && this.floor != 1) {
  432. postParams.gname = this.floor
  433. }
  434. if (this.sbglgs && this.sbglgs != 1) {
  435. postParams.sbglgs = this.sbglgs
  436. }
  437. if (this.status && this.status != 1) {
  438. postParams.status = this.status
  439. }
  440. queryAsset({ data, postParams }).then((res) => {
  441. this.tableData = res.data.data
  442. this.total = res.data.count
  443. this.key++
  444. if (this.tableData.length > 0) {
  445. this.assetnum = this.tableData[0].assetnum
  446. this.changeTab(0)
  447. }
  448. })
  449. },
  450. getFloorAllSelect() {
  451. this.floorAllSelect = []
  452. this.floorAllSelect.push({
  453. id: '1',
  454. name: '全部',
  455. })
  456. this.floorSelect.forEach((el) => {
  457. this.floorAllSelect.push(el)
  458. })
  459. },
  460. // 更改tab页签,切换组件
  461. changeTab(index) {
  462. this.currentTab = index
  463. this.currentComponent = this.componentArr[index]
  464. // --- 不需要执行,动态组件会自动执行
  465. //如果有组件,执行表格组件的内部方法
  466. // this.$nextTick(() => {
  467. // this.$refs[this.currentComponent] && this.$refs[this.currentComponent].startMethods()
  468. // })
  469. },
  470. },
  471. watch: {
  472. row: {
  473. handler(newV, oldV) {
  474. // console.log('handler', newV, oldV)
  475. // 数据改变,重置表格,tab数据
  476. if (JSON.stringify(newV) !== JSON.stringify(oldV)) {
  477. this.tableData = []
  478. this.currentTab = 0
  479. this.currentComponent = 'wbTable'
  480. }
  481. this.queryTableList()
  482. this.getFloorAllSelect()
  483. this.tabFind()
  484. },
  485. deep: true,
  486. },
  487. sbglgs() {
  488. this.queryTableList()
  489. },
  490. status() {
  491. this.queryTableList()
  492. },
  493. floor() {
  494. this.queryTableList()
  495. },
  496. },
  497. }
  498. </script>
  499. <style lang="less" scoped>
  500. .gdqd-dialog {
  501. display: flex;
  502. flex-direction: column;
  503. height: 90vh;
  504. .gdqd-top {
  505. .gdqd-dialog-bottom {
  506. margin-top: 20px;
  507. // 表格主体(数据列,不含表头),高度
  508. /deep/.el-table__body-wrapper {
  509. overflow: auto;
  510. max-height: 13.6vh;
  511. }
  512. }
  513. }
  514. // 底部表格
  515. .table-bottom {
  516. width: 100%;
  517. flex: 1;
  518. display: flex;
  519. flex-direction: column;
  520. // tab 样式
  521. .title {
  522. display: flex;
  523. height: 70px;
  524. line-height: 30px;
  525. align-items: center;
  526. padding: 15px 0;
  527. // 维修维保文本
  528. .text {
  529. width: 50px;
  530. }
  531. .text-r {
  532. margin-left: 100px;
  533. }
  534. // tab页签
  535. .d-tab {
  536. padding: 5px 16px;
  537. height: 30px;
  538. line-height: 22px;
  539. font-size: 14px;
  540. font-family: MicrosoftYaHei;
  541. font-weight: 500;
  542. color: #1f2429;
  543. text-align: center;
  544. border: 1px solid #c3c7cb;
  545. cursor: pointer;
  546. }
  547. .d-tab-left {
  548. border-radius: 4px 0 0 4px;
  549. }
  550. .d-tab-right {
  551. border-radius: 0 4px 4px 0;
  552. }
  553. // 当前选中页签
  554. .active {
  555. color: #025baa !important;
  556. border-color: #025baa !important;
  557. }
  558. }
  559. //筛选+表格
  560. .table2-container {
  561. width: 100%;
  562. flex: 1;
  563. position: relative;
  564. }
  565. }
  566. }
  567. @media screen and (max-width: 1600px) {
  568. .gdqd-dialog td {
  569. padding: 4px 0;
  570. }
  571. }
  572. @media screen and (max-width: 1366px) {
  573. .gdqd-dialog {
  574. padding: 12px 24px 24px;
  575. /deep/ .el-table td {
  576. padding: 1px 0 !important;
  577. }
  578. .gdqd-dialog-bottom {
  579. margin-top: 10px !important;
  580. }
  581. .table-bottom {
  582. .title {
  583. height: 60px !important;
  584. }
  585. }
  586. // 底部表格的分页位置修改
  587. /deep/ .rcwb-list .foot {
  588. margin-top: 10px !important;
  589. }
  590. }
  591. }
  592. </style>
  593. <style lang="less">
  594. .gdqd-dialog {
  595. /deep/.el-table__body-wrapper td {
  596. cursor: pointer;
  597. }
  598. .el-dialog__header {
  599. padding: 16px 24px;
  600. color: #fff;
  601. background: linear-gradient(180deg, rgba(54, 156, 247, 1) 0%, rgba(2, 91, 170, 1) 100%);
  602. }
  603. .el-dialog__headerbtn .el-dialog__close {
  604. color: #fff;
  605. }
  606. .el-dialog__title {
  607. font-size: 16px;
  608. font-family: PingFangSC-Medium, PingFang SC;
  609. font-weight: 500;
  610. color: #fff;
  611. line-height: 24px;
  612. }
  613. }
  614. // 弹出弹窗样式修改
  615. .m-popover {
  616. padding: 0 !important;
  617. text-align: center !important;
  618. }
  619. </style>