index.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627
  1. var template = ''
  2. $.ajax('../../../component/statistics/GxbManage/index.html', {
  3. data: {},
  4. dataType: 'html',
  5. cache: false,
  6. timeout: 60000,
  7. async: false,
  8. error: function (res) {},
  9. success: function (res) {
  10. template = res
  11. }
  12. })
  13. Vue.component('gxb-manage', {
  14. template: template,
  15. props: [],
  16. data: function () {
  17. return {
  18. years: [],
  19. yearType: '1',
  20. chooseYear: null,
  21. chooseTime: null,
  22. dialogExportLoading: false,
  23. rangeOptions: [
  24. { label: '区', value: 'town' },
  25. { label: '社区', value: 'hospital' },
  26. { label: '团队', value: 'team' }
  27. ],
  28. areaOptions: [
  29. { label: '思明区', value: '350203' },
  30. { label: '海沧区', value: '350205' },
  31. { label: '湖里区', value: '350206' },
  32. { label: '集美区', value: '350211' },
  33. { label: '同安区', value: '350212' },
  34. { label: '翔安区', value: '350213' }
  35. ],
  36. hospitalOptions: [],
  37. teamOptions: [],
  38. form: {
  39. range: 'town'
  40. },
  41. loading: false,
  42. exportLoading: false,
  43. tableData: [],
  44. constantHeader: [
  45. { label: '已评估人数', prop: 'totalNum', width: '90' },
  46. { label: '已上转人数', prop: 'turnUpNum', width: '90' },
  47. { label: '上转转门诊', prop: 'mzNum', width: '110' },
  48. { label: '门诊转住院', prop: 'zyNum', width: '110' },
  49. { label: '下转管理人数', prop: 'turnDownNum', width: '110' },
  50. { label: '评估已登记随访', prop: 'followUpNum', width: '110' }
  51. // { label: '随访已达标', prop: 'standardNum', width: '110' }
  52. ],
  53. tableHeader: [],
  54. loadingTwo: false,
  55. mzTableHeader: [
  56. { label: '姓名', prop: 'name', width: '90' },
  57. { label: '性别', prop: 'sex', width: '90' },
  58. { label: '年龄', prop: 'age', width: '90' },
  59. { label: '手机号', prop: 'mobile', width: '90' },
  60. { label: '证件号码', prop: 'idcard', width: '90' },
  61. { label: '社区医院', prop: 'signHospitalName', width: '90' },
  62. { label: '签约医生', prop: 'signDoctorName', width: '90' },
  63. { label: '最近一次上传时间', prop: 'czrq', width: '90' },
  64. { label: '最近一次上转科室', prop: 'deptName', width: '90' },
  65. { label: '最近一次门诊下转时间', prop: 'createTime', width: '90' },
  66. { label: '最近一次门诊下转诊断', prop: 'diagnosisName', width: '90' }
  67. ],
  68. mzToInHopistalTableHeader: [
  69. { label: '姓名', prop: 'name', width: '90' },
  70. { label: '性别', prop: 'sex', width: '90' },
  71. { label: '年龄', prop: 'age', width: '90' },
  72. { label: '手机号', prop: 'mobile', width: '90' },
  73. { label: '证件号码', prop: 'idcard', width: '90' },
  74. { label: '社区医院', prop: 'signHospitalName', width: '90' },
  75. { label: '签约医生', prop: 'signDoctorName', width: '90' },
  76. { label: '最近一次门诊下转时间', prop: 'czrq', width: '90' },
  77. { label: '最近一次上转科室', prop: 'deptName', width: '90' },
  78. { label: '最近一次出院下转时间', prop: 'createTime', width: '90' },
  79. { label: '最近一次出院下转诊断', prop: 'diagnosisName', width: '90' }
  80. ],
  81. turnDownTableHeader: [
  82. { label: '姓名', prop: 'name', width: '90' },
  83. { label: '性别', prop: 'sex', width: '90' },
  84. { label: '年龄', prop: 'age', width: '90' },
  85. { label: '手机号', prop: 'mobile', width: '90' },
  86. { label: '最近一次下转医院', prop: 'hospitalName', width: '90' },
  87. { label: '最近一次下转医生', prop: 'hospitalDoctor', width: '90' },
  88. { label: '最近一次下转时间', prop: 'zyCreateTime', width: '90' },
  89. { label: '出院下转次数', prop: 'turnDownTimes', width: '90' },
  90. { label: '康复计划数量', prop: 'rehabilitationTimes', width: '90' }
  91. ],
  92. totalNumTableHeader: [
  93. { label: '姓名', prop: 'name' },
  94. { label: '性别', prop: 'sex' },
  95. { label: '年龄', prop: 'age' },
  96. { label: '评估结果', prop: 'screenResult' },
  97. { label: '评估医生', prop: 'doctorName' },
  98. { label: '评估时间', prop: 'czrq' },
  99. { label: '手机号', prop: 'mobile' },
  100. { label: '证件号码', prop: 'idcard' },
  101. { label: '签约社区', prop: 'signHospitalName' },
  102. { label: '签约医生', prop: 'signDoctorName' }
  103. ],
  104. turnUpNumTableHeader: [
  105. { label: '姓名', prop: 'name' },
  106. { label: '性别', prop: 'sex' },
  107. { label: '年龄', prop: 'age' },
  108. { label: '社区医院', prop: 'signHospitalName' },
  109. { label: '签约医生', prop: 'signDoctorName' },
  110. { label: '手机号', prop: 'mobile' },
  111. { label: '证件号码', prop: 'idcard' },
  112. { label: '预约医院', prop: 'orgName' },
  113. { label: '预约医生', prop: 'dName' },
  114. { label: '预约科室', prop: 'deptName' },
  115. { label: '预约时间', prop: 'orderTime' },
  116. { label: '数据来源', prop: 'sourceType' }
  117. ],
  118. dialogTableHeader: [],
  119. page: 1,
  120. size: 10,
  121. total: 0,
  122. level: 0,
  123. mzDialogVisible: false,
  124. query: {
  125. sex: ''
  126. },
  127. dataInfo: [],
  128. title: '',
  129. dataRangeOption: []
  130. }
  131. },
  132. methods: {
  133. gotoDetail(row, column) {
  134. var vm = this
  135. this.query = { sex: '' }
  136. switch (column) {
  137. case 'mzNum':
  138. vm.dialogTableHeader = vm.mzTableHeader
  139. this.title = '上转转门诊明细'
  140. break
  141. case 'zyNum':
  142. vm.dialogTableHeader = vm.mzToInHopistalTableHeader
  143. this.title = '门诊转住院明细'
  144. break
  145. case 'turnDownNum':
  146. vm.dialogTableHeader = vm.turnDownTableHeader
  147. this.title = '下转管理明细'
  148. break
  149. case 'totalNum':
  150. this.query = { sex: '', screenResultCode: '' }
  151. vm.dialogTableHeader = vm.totalNumTableHeader
  152. this.title = '个案数据列表'
  153. break
  154. case 'turnUpNum':
  155. vm.dialogTableHeader = vm.turnUpNumTableHeader
  156. this.title = '上转预约明细列表'
  157. break
  158. }
  159. var len = row.code.length
  160. if (len == 6) {
  161. this.query.range = 'town'
  162. this.query.area = row.code
  163. } else if (len == 10) {
  164. this.query.range = 'hospital'
  165. this.query.hospital = row.code
  166. } else {
  167. this.query.range = 'team'
  168. this.query.team = row.code
  169. }
  170. this.dataRangeOption = [{ label: row.name, value: row.code }]
  171. if (column == 'mzNum' || column == 'zyNum') {
  172. this.mzDialogVisible = true
  173. this.turnUpToMzDetailPage()
  174. } else if (column == 'turnDownNum') {
  175. this.mzDialogVisible = true
  176. this.turnDownManageDetailPage()
  177. } else if (column == 'totalNum') {
  178. this.mzDialogVisible = true
  179. this.gxbCaseDataPage()
  180. } else if (column == 'turnUpNum') {
  181. this.mzDialogVisible = true
  182. this.gxbTurnUpInfoPage()
  183. }
  184. },
  185. gxbTurnUpInfoPage() {
  186. var vm = this
  187. this.loadingTwo = true
  188. var params = JSON.parse(JSON.stringify(this.query))
  189. params.page = this.page
  190. params.pageSize = this.size
  191. if (this.yearType == '1') {
  192. params.startDate = this.chooseYear + '-01-01'
  193. params.endDate = this.chooseYear + '-12-31'
  194. } else {
  195. if (this.chooseTime) {
  196. params.startDate = this.chooseTime[0]
  197. params.endDate = this.chooseTime[1]
  198. }
  199. }
  200. httpRequest.get('statistics/collaborate/gxbTurnUpInfoPage', { data: params }).then(function (res) {
  201. if (res.status == 200) {
  202. vm.dataInfo = res.detailModelList
  203. vm.total = res.totalCount
  204. }
  205. vm.loadingTwo = false
  206. })
  207. },
  208. gxbCaseDataPage() {
  209. var vm = this
  210. this.loadingTwo = true
  211. var params = JSON.parse(JSON.stringify(this.query))
  212. params.page = this.page
  213. params.pageSize = this.size
  214. if (this.yearType == '1') {
  215. params.startDate = this.chooseYear + '-01-01'
  216. params.endDate = this.chooseYear + '-12-31'
  217. } else {
  218. if (this.chooseTime) {
  219. params.startDate = this.chooseTime[0]
  220. params.endDate = this.chooseTime[1]
  221. }
  222. }
  223. httpRequest.get('statistics/collaborate/gxbCaseDataPage', { data: params }).then(function (res) {
  224. if (res.status == 200) {
  225. vm.dataInfo = res.detailModelList
  226. vm.total = res.totalCount
  227. }
  228. vm.loadingTwo = false
  229. })
  230. },
  231. turnDownManageDetailPage() {
  232. var vm = this
  233. this.loadingTwo = true
  234. var url = ''
  235. var params = JSON.parse(JSON.stringify(this.query))
  236. params.page = this.page
  237. params.pageSize = this.size
  238. if (this.yearType == '1') {
  239. params.startDate = this.chooseYear + '-01-01'
  240. params.endDate = this.chooseYear + '-12-31'
  241. } else {
  242. if (this.chooseTime) {
  243. params.startDate = this.chooseTime[0]
  244. params.endDate = this.chooseTime[1]
  245. }
  246. }
  247. if ((this.title = '上转转门诊明细')) {
  248. url = 'statistics/collaborate/turnDownManageDetailPage'
  249. } else if ((this.title = '门诊转住院明细')) {
  250. url = 'statistics/collaborate/mzToInHopistalDetailPage'
  251. }
  252. httpRequest.get(url, { data: params }).then(function (res) {
  253. if (res.status == 200) {
  254. vm.dataInfo = res.detailModelList
  255. vm.total = res.totalCount
  256. }
  257. vm.loadingTwo = false
  258. })
  259. },
  260. turnUpToMzDetailPage() {
  261. var vm = this
  262. this.loadingTwo = true
  263. var params = JSON.parse(JSON.stringify(this.query))
  264. params.page = this.page
  265. params.pageSize = this.size
  266. if (this.yearType == '1') {
  267. params.startDate = this.chooseYear + '-01-01'
  268. params.endDate = this.chooseYear + '-12-31'
  269. } else {
  270. if (this.chooseTime) {
  271. params.startDate = this.chooseTime[0]
  272. params.endDate = this.chooseTime[1]
  273. }
  274. }
  275. httpRequest.get('statistics/collaborate/turnUpToMzDetailPage', { data: params }).then(function (res) {
  276. if (res.status == 200) {
  277. vm.dataInfo = res.detailModelList
  278. vm.total = res.totalCount
  279. }
  280. vm.loadingTwo = false
  281. })
  282. },
  283. closeDialog() {
  284. this.mzDialogVisible = false
  285. },
  286. dialogSearchFn() {
  287. this.page = 1
  288. if (this.title == '上转转门诊明细' || this.title == '门诊转住院明细') {
  289. this.turnUpToMzDetailPage()
  290. }
  291. },
  292. dialogExportFn() {
  293. this.dialogExportLoading = true
  294. var vm = this
  295. var params = {
  296. ...this.query
  297. }
  298. if (this.yearType == '1') {
  299. params.startDate = this.chooseYear + '-01-01'
  300. params.endDate = this.chooseYear + '-12-31'
  301. } else {
  302. if (this.chooseTime) {
  303. params.startDate = this.chooseTime[0]
  304. params.endDate = this.chooseTime[1]
  305. }
  306. }
  307. if (this.title == '上转转门诊明细') {
  308. var fileName = `上转转门诊明细${new Date().getTime()}.xls`
  309. httpRequest.downLoadFileForAjax('statistics/collaborate/exportTurnUpToMzDetailPage', fileName, params).then(function () {
  310. vm.dialogExportLoading = false
  311. })
  312. } else if (this.title == '门诊转住院明细') {
  313. var fileName = `门诊转住院明细${new Date().getTime()}.xls`
  314. httpRequest.downLoadFileForAjax('statistics/collaborate/exportMzToInHopistalDetailPage', fileName, params).then(function () {
  315. vm.dialogExportLoading = false
  316. })
  317. } else if (this.title == '个案数据列表') {
  318. var fileName = `个案数据列表${new Date().getTime()}.xls`
  319. httpRequest.downLoadFileForAjax('statistics/collaborate/exportGxbCaseDataPage', fileName, params).then(function () {
  320. vm.dialogExportLoading = false
  321. })
  322. } else if (this.title == '上转预约明细列表') {
  323. var fileName = `上转预约明细列表${new Date().getTime()}.xls`
  324. httpRequest.downLoadFileForAjax('statistics/collaborate/exportGxbTurnUpInfoPage', fileName, params).then(function () {
  325. vm.dialogExportLoading = false
  326. })
  327. }
  328. },
  329. dialogReset() {
  330. var params = {
  331. ...this.query
  332. }
  333. if (this.title == '个案数据列表') {
  334. this.query = {
  335. sex: '',
  336. screenResultCode: '',
  337. range: params.range,
  338. area: params.area,
  339. hospital: params.hospital,
  340. team: params.team
  341. }
  342. } else {
  343. this.query = {
  344. sex: '',
  345. range: params.range,
  346. area: params.area,
  347. hospital: params.hospital,
  348. team: params.team
  349. }
  350. }
  351. },
  352. init() {
  353. var selectedRole = JSON.parse(sessionStorage.getItem('selectedRole'))
  354. if (selectedRole.code.indexOf('350200') > -1) {
  355. this.level = 1 // 市卫健委
  356. this.areaOptions = [
  357. { label: '思明区', value: '350203' },
  358. { label: '海沧区', value: '350205' },
  359. { label: '湖里区', value: '350206' },
  360. { label: '集美区', value: '350211' },
  361. { label: '同安区', value: '350212' },
  362. { label: '翔安区', value: '350213' }
  363. ]
  364. } else if (selectedRole.code.length == 6) {
  365. this.level = 2 // 区管理
  366. this.areaOptions = [{ label: selectedRole.name.substring(0, 3), value: selectedRole.code }]
  367. this.form = {
  368. range: 'town',
  369. area: selectedRole.code
  370. }
  371. this.getHospital(selectedRole.code)
  372. } else {
  373. this.level = 3 // 社区管理
  374. this.rangeOptions = [
  375. { label: '社区', value: 'hospital' },
  376. { label: '团队', value: 'team' }
  377. ]
  378. this.areaOptions = [{ label: selectedRole.name.substring(0, 3), value: selectedRole.code.substring(0, 6) }]
  379. this.hospitalOptions = [{ name: selectedRole.name, code: selectedRole.code }]
  380. this.form = {
  381. range: 'hospital',
  382. area: selectedRole.code.substring(0, 6),
  383. hospital: selectedRole.code
  384. }
  385. this.getTeam(selectedRole.code)
  386. }
  387. this.initTime()
  388. this.getList()
  389. },
  390. initTime() {
  391. var vm = this
  392. var now = new Date()
  393. vm.nowyear = vm.chooseYear = now.getFullYear()
  394. vm.years = []
  395. for (i = vm.nowyear; i >= 2013; i--) {
  396. vm.years.push(i)
  397. }
  398. },
  399. resetArea() {
  400. if (this.level == 1) {
  401. delete this.form.area
  402. delete this.form.hospital
  403. delete this.form.team
  404. } else if (this.level == 2) {
  405. delete this.form.hospital
  406. delete this.form.team
  407. } else {
  408. delete this.form.team
  409. }
  410. },
  411. load(row, treeNode, resolve) {
  412. var params = {}
  413. var len = row.code.length
  414. if (len == 6) {
  415. params.range = 'hospital'
  416. params.area = row.code
  417. } else if (len == 10) {
  418. params.range = 'team'
  419. params.hospital = row.code
  420. }
  421. if (this.yearType == '1') {
  422. params.startDate = this.chooseYear + '-01-01'
  423. params.endDate = this.chooseYear + '-12-31'
  424. } else {
  425. if (this.chooseTime) {
  426. params.startDate = this.chooseTime[0]
  427. params.endDate = this.chooseTime[1]
  428. }
  429. }
  430. httpRequest.get('statistics/collaborate/gxbScreenClosedLoop', { data: params }).then(function (res) {
  431. if (res.status == 200) {
  432. var children = res.detailModelList.map(function (item) {
  433. var data = JSON.parse(JSON.stringify(item))
  434. if (len == 6) {
  435. data.areaCode = row.code
  436. data.hospital = item.name
  437. data.hasChildren = true
  438. } else if (len == 10) {
  439. data.hospitalCode = row.code
  440. data.team = item.name
  441. }
  442. return data
  443. })
  444. resolve(children)
  445. }
  446. })
  447. },
  448. getList() {
  449. var vm = this
  450. this.loading = true
  451. var params = {
  452. ...this.form
  453. }
  454. if (this.yearType == '1') {
  455. params.startDate = this.chooseYear + '-01-01'
  456. params.endDate = this.chooseYear + '-12-31'
  457. } else {
  458. if (this.chooseTime) {
  459. params.startDate = this.chooseTime[0]
  460. params.endDate = this.chooseTime[1]
  461. }
  462. }
  463. if (this.form.range == 'town') {
  464. this.tableHeader = getTownHeader().concat(this.constantHeader)
  465. } else if (this.form.range == 'hospital') {
  466. this.tableHeader = getHospitalHeader().concat(this.constantHeader)
  467. } else {
  468. this.tableHeader = getTeamHeader().concat(this.constantHeader)
  469. }
  470. httpRequest.get('statistics/collaborate/gxbScreenClosedLoop', { data: params }).then(function (res) {
  471. vm.tableData = res.detailModelList.map(function (item) {
  472. var data = JSON.parse(JSON.stringify(item))
  473. if (vm.form.range == 'town') {
  474. data.town = item.name
  475. data.hasChildren = true
  476. } else if (vm.form.range == 'hospital') {
  477. data.hospital = item.name
  478. data.hasChildren = true
  479. } else if (vm.form.range == 'team') {
  480. data.team = item.name
  481. }
  482. return data
  483. })
  484. console.log('1111111111111111', vm.tableData)
  485. vm.loading = false
  486. })
  487. },
  488. queryDate() {
  489. this.page = 1
  490. this.getList()
  491. },
  492. exportTable() {
  493. var vm = this
  494. var params = {
  495. ...this.form
  496. }
  497. if (this.yearType == '1') {
  498. params.startDate = this.chooseYear + '-01-01'
  499. params.endDate = this.chooseYear + '-12-31'
  500. } else {
  501. if (this.chooseTime) {
  502. params.startDate = this.chooseTime[0]
  503. params.endDate = this.chooseTime[1]
  504. }
  505. }
  506. this.exportLoading = true
  507. var fileName = `冠心病管理全流程闭环情况${new Date().getTime()}.xls`
  508. httpRequest.downLoadFileForAjax('statistics/collaborate/exportGxbScreenClosedLoop', fileName, params).then(function () {
  509. vm.exportLoading = false
  510. })
  511. },
  512. eliminateClick() {
  513. this.resetArea()
  514. this.yearType = '1'
  515. this.chooseYear = new Date().getFullYear()
  516. this.chooseTime = null
  517. this.$forceUpdate()
  518. },
  519. getHospital(code) {
  520. var vm = this
  521. delete this.form.hospital
  522. delete this.form.team
  523. var params = {
  524. type: 5,
  525. code: code
  526. }
  527. httpRequest.post('common/district', { data: params }).then(function (res) {
  528. vm.hospitalOptions = [{ code: '', name: '全部' }]
  529. vm.hospitalOptions = vm.hospitalOptions.concat(res.list)
  530. })
  531. },
  532. getTeam(code) {
  533. var vm = this
  534. delete this.form.team
  535. var params = {
  536. hospital: code,
  537. area: this.form.area
  538. }
  539. httpRequest.get('statisticsExport/teamList', { data: params }).then(function (res) {
  540. vm.teamOptions = [{ id: '', name: '全部' }]
  541. vm.teamOptions = vm.teamOptions.concat(res.data)
  542. })
  543. },
  544. handleCurrentChange(val) {
  545. this.page = val
  546. if (this.title == '上转预约明细列表') {
  547. this.gxbTurnUpInfoPage()
  548. } else if (this.title == '上转转门诊明细' || this.title == '门诊转住院明细') {
  549. this.turnUpToMzDetailPage()
  550. } else if (this.title == '下转管理明细') {
  551. this.turnDownManageDetailPage()
  552. } else if (this.title == '个案数据列表') {
  553. this.gxbCaseDataPage()
  554. } else if (this.title == '上转预约明细列表') {
  555. this.gxbTurnUpInfoPage()
  556. }
  557. },
  558. handleSizeChange(val) {
  559. this.size = val
  560. if (this.title == '上转预约明细列表') {
  561. this.gxbTurnUpInfoPage()
  562. } else if (this.title == '上转转门诊明细' || this.title == '门诊转住院明细') {
  563. this.turnUpToMzDetailPage()
  564. } else if (this.title == '下转管理明细') {
  565. this.turnDownManageDetailPage()
  566. } else if (this.title == '个案数据列表') {
  567. this.gxbCaseDataPage()
  568. } else if (this.title == '上转预约明细列表') {
  569. this.gxbTurnUpInfoPage()
  570. }
  571. },
  572. renderHeader: function (h, item) {
  573. var index = item.$index
  574. var column = item.column
  575. var content = {
  576. 3: '已上转人数',
  577. 4: '上转转门诊',
  578. 5: '门诊转住院',
  579. 6: '下转管理人数',
  580. 7: '评估已门诊下转',
  581. 8: '评估已出院下转'
  582. }
  583. var tooltip = {
  584. 3: '统计查询时间内,已筛查的患者中,预约了专科医院的患者人数',
  585. 4: '统计查询时间内,已上转的患者中,到院就诊的患者人数',
  586. 5: '统计查询时间内,已上转的患者中,到院就诊的患者人数',
  587. 6: '统计查询时间内,筛查时间在下转时间前的患者人数',
  588. 7: '统计查询时间内,筛查时间在门诊下转时间前的患者人数',
  589. 8: '统计查询时间内,筛查时间在出院下转时间前的患者人数'
  590. }
  591. if ([3, 4, 5, 6, 7, 8].indexOf(index) > -1) {
  592. return [
  593. content[index],
  594. h(
  595. 'el-tooltip',
  596. {
  597. props: {
  598. content: (function () {
  599. return tooltip[index]
  600. })(),
  601. placement: 'top'
  602. }
  603. },
  604. [
  605. h('span', {
  606. class: {
  607. 'el-icon-question': true
  608. }
  609. })
  610. ]
  611. )
  612. ]
  613. } else {
  614. return [column.label]
  615. }
  616. }
  617. },
  618. mounted() {
  619. this.init()
  620. }
  621. })