赫艾前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

665 lines
21 KiB

3 years ago
​
2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
3 years ago
3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
2 years ago
​
3 years ago
​
2 years ago
3 years ago
​
​
​
2 years ago
3 years ago
​
​
​
​
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
​
​
​
3 years ago
​
3 years ago
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
3 years ago
​
​
3 years ago
​
3 years ago
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
3 years ago
​
​
3 years ago
​
3 years ago
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
3 years ago
​
​
3 years ago
​
3 years ago
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
3 years ago
​
​
3 years ago
​
3 years ago
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
3 years ago
​
​
3 years ago
​
3 years ago
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
2 years ago
​
​
​
2 years ago
2 years ago
​
​
2 years ago
2 years ago
​
​
​
​
​
​
​
3 years ago
​
​
​
​
​
​
​
​
​
​
3 years ago
3 years ago
​
​
​
​
2 years ago
3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
3 years ago
​
​
3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <template>
  2. <div class="mod-config">
  3. <el-form :model="searchData" label-position="top" label-width="100px" style="width: 1800px;">
  4. <el-row :gutter="10">
  5. <el-col :span="2">
  6. <el-form-item :label="'工厂编码'">
  7. <el-input v-model="searchData.site" clearable></el-input>
  8. </el-form-item>
  9. </el-col>
  10. <el-col :span="2">
  11. <el-form-item :label="'生产订单号'">
  12. <el-input v-model="searchData.orderNo" clearable></el-input>
  13. </el-form-item>
  14. </el-col>
  15. <el-col :span="2">
  16. <el-form-item :label="'派工单号'">
  17. <el-input v-model="searchData.seqNo" type="number"></el-input>
  18. </el-form-item>
  19. </el-col>
  20. <el-col :span="2">
  21. <el-form-item :label="'操作员姓名'">
  22. <el-input v-model="searchData.operatorDesc"></el-input>
  23. </el-form-item>
  24. </el-col>
  25. <el-col :span="2">
  26. <el-form-item >
  27. <span slot="label" style="" @click="getBaseList(5)"><a herf="#">产品编码</a></span>
  28. <el-input v-model="searchData.partNo"></el-input>
  29. </el-form-item>
  30. </el-col>
  31. <el-col :span="2">
  32. <el-form-item :label="'规格型号'">
  33. <el-input v-model="searchData.partSpec" ></el-input>
  34. </el-form-item>
  35. </el-col>
  36. <!-- </el-row>-->
  37. <!-- <el-row :gutter="10">-->
  38. <el-col :span="2">
  39. <el-form-item :label="'派工日期:'">
  40. <el-date-picker
  41. style="width: 100%"
  42. v-model="searchData.startDate"
  43. value-format="yyyy-MM-dd"
  44. placeholder="选择日期">
  45. </el-date-picker>
  46. </el-form-item>
  47. </el-col>
  48. <el-col :span="2">
  49. <el-form-item :label="'到:'">
  50. <el-date-picker
  51. style="width: 100%"
  52. v-model="searchData.endDate"
  53. value-format="yyyy-MM-dd"
  54. placeholder="选择日期">
  55. </el-date-picker>
  56. </el-form-item>
  57. </el-col>
  58. <!-- <el-col :span="4">-->
  59. <!-- <el-form-item label=" ">-->
  60. <!-- <el-checkbox v-model="searchData.firstReportDate2Flag" true-label="Y" false-label="N">仅显示首次报工日期小于今天</el-checkbox>-->
  61. <!-- </el-form-item>-->
  62. <!-- </el-col>-->
  63. <el-col :span="2">
  64. <el-form-item label=" ">
  65. <el-button @click="search()" type="primary">查询</el-button>
  66. <download-excel
  67. :fields="fields()"
  68. type="xls"
  69. :name="exportName"
  70. :fetch="createExportData"
  71. worksheet="导出信息"
  72. class="el-button el-button--primary el-button--medium">
  73. {{ '导出' }}
  74. </download-excel>
  75. </el-form-item>
  76. </el-col>
  77. </el-row>
  78. </el-form>
  79. <el-table
  80. :height="height"
  81. :data="tableData"
  82. border
  83. style="width: 100%">
  84. <el-table-column
  85. v-for="(item,index) in columnList" :key="index"
  86. :sortable="item.columnSortable"
  87. :prop="item.columnProp"
  88. header-align="center"
  89. :show-overflow-tooltip="item.showOverflowTooltip"
  90. :align="item.align"
  91. :fixed="item.fixed==''?false:item.fixed"
  92. :min-width="item.columnWidth"
  93. :label="item.columnLabel">
  94. <template slot-scope="scope">
  95. <span v-if="!item.columnHidden"> {{ scope.row[item.columnProp] }}</span>
  96. <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"
  97. style="width: 100px; height: 80px"/></span>
  98. </template>
  99. </el-table-column>
  100. </el-table>
  101. <el-pagination
  102. @size-change="sizeChangeHandle"
  103. @current-change="currentChangeHandle"
  104. :current-page="pageIndex"
  105. :page-sizes="[20, 100, 500]"
  106. :page-size="pageSize"
  107. :total="totalPage"
  108. layout="total, sizes, prev, pager, next, jumper">
  109. </el-pagination>
  110. <Chooselist ref="baseList" @getBaseData="getBaseData"></Chooselist>
  111. </div>
  112. </template>
  113. <script>
  114. import {
  115. getLiuhuaView,
  116. } from '@/api/production/generateReport.js'
  117. import Chooselist from '@/views/modules/common/Chooselist'
  118. export default {
  119. name: 'liuhuaProductView',
  120. components: {
  121. Chooselist
  122. },
  123. data () {
  124. return {
  125. pageIndex: 1,
  126. pageSize: 20,
  127. totalPage: 0,
  128. site: this.$store.state.user.site,
  129. // 导出+动态列 start
  130. exportData: [],
  131. userDev:this.$store.state.user.userDev,
  132. exportName: "半成品派工单追踪表"+this.getStrDate(),
  133. columnList: [
  134. {
  135. tableId: "liuhuaView",
  136. tableName: this.$route.meta.title,
  137. columnProp: "site",
  138. columnLabel: "工厂",
  139. columnHidden: false,
  140. columnImage: false,
  141. columnSortable: false,
  142. columnWidth: 40,
  143. format: null,
  144. functionId: this.$route.meta.menuId,
  145. sortLv: 0,
  146. status: true,
  147. fixed: '',
  148. serialNumber: null,
  149. columnType: null,
  150. align: 'left'
  151. }, {
  152. tableId: "liuhuaView",
  153. tableName: this.$route.meta.title,
  154. columnProp: "seqNo",
  155. columnLabel: "派工单号",
  156. columnHidden: false,
  157. columnImage: false,
  158. columnSortable: false,
  159. columnWidth: 70,
  160. format: null,
  161. functionId: this.$route.meta.menuId,
  162. sortLv: 0,
  163. status: true,
  164. fixed: '',
  165. serialNumber: null,
  166. columnType: null,
  167. align: 'left'
  168. }, {
  169. tableId: "liuhuaView",
  170. tableName: this.$route.meta.title,
  171. columnProp: "orderNo",
  172. columnLabel: "生产订单",
  173. columnHidden: false,
  174. columnImage: false,
  175. columnSortable: false,
  176. columnWidth: 140,
  177. format: null,
  178. functionId: this.$route.meta.menuId,
  179. sortLv: 0,
  180. status: true,
  181. fixed: '',
  182. serialNumber: null,
  183. columnType: null,
  184. align: 'left'
  185. }, {
  186. tableId: "liuhuaView",
  187. tableName: this.$route.meta.title,
  188. columnProp: "operatorDesc",
  189. columnLabel: "操作员姓名",
  190. columnHidden: false,
  191. columnImage: false,
  192. columnSortable: false,
  193. columnWidth: 80,
  194. format: null,
  195. functionId: this.$route.meta.menuId,
  196. sortLv: 0,
  197. status: true,
  198. fixed: '',
  199. serialNumber: null,
  200. columnType: null,
  201. align: 'left'
  202. }, {
  203. tableId: "liuhuaView",
  204. tableName: this.$route.meta.title,
  205. columnProp: "shiftType",
  206. columnLabel: "派工类型",
  207. columnHidden: false,
  208. columnImage: false,
  209. columnSortable: false,
  210. columnWidth: 80,
  211. format: null,
  212. functionId: this.$route.meta.menuId,
  213. sortLv: 0,
  214. status: true,
  215. fixed: '',
  216. serialNumber: null,
  217. columnType: null,
  218. align: 'left'
  219. },
  220. {
  221. tableId: "liuhuaView",
  222. tableName: this.$route.meta.title,
  223. columnProp: "partSpec",
  224. columnLabel: "规格型号",
  225. columnHidden: false,
  226. columnImage: false,
  227. columnSortable: false,
  228. columnWidth: 120,
  229. format: null,
  230. functionId: this.$route.meta.menuId,
  231. sortLv: 0,
  232. status: true,
  233. fixed: '',
  234. serialNumber: null,
  235. columnType: null,
  236. align: 'left'
  237. },
  238. {
  239. tableId: "liuhuaView",
  240. tableName: this.$route.meta.title,
  241. columnProp: "firstReportDate2",
  242. columnLabel: "首次报工日期",
  243. columnHidden: false,
  244. columnImage: false,
  245. columnSortable: false,
  246. columnWidth: 100,
  247. format: null,
  248. functionId: this.$route.meta.menuId,
  249. sortLv: 0,
  250. status: true,
  251. fixed: '',
  252. serialNumber: null,
  253. columnType: null,
  254. align: 'center'
  255. }, {
  256. tableId: "liuhuaView",
  257. tableName: this.$route.meta.title,
  258. columnProp: "qtyRequired",
  259. columnLabel: "派工数量",
  260. columnHidden: false,
  261. columnImage: false,
  262. columnSortable: false,
  263. columnWidth: 70,
  264. format: null,
  265. functionId: this.$route.meta.menuId,
  266. sortLv: 0,
  267. status: true,
  268. fixed: '',
  269. serialNumber: null,
  270. columnType: null,
  271. align: 'right'
  272. }, {
  273. tableId: "liuhuaView",
  274. tableName: this.$route.meta.title,
  275. columnProp: "qtyReported",
  276. columnLabel: "报工数量",
  277. columnHidden: false,
  278. columnImage: false,
  279. columnSortable: false,
  280. columnWidth: 70,
  281. format: null,
  282. functionId: this.$route.meta.menuId,
  283. sortLv: 0,
  284. status: true,
  285. fixed: '',
  286. serialNumber: null,
  287. columnType: null,
  288. align: 'right'
  289. }, {
  290. tableId: "liuhuaView",
  291. tableName: this.$route.meta.title,
  292. columnProp: "liuhuaWancheng",
  293. columnLabel: "硫化完成率",
  294. columnHidden: false,
  295. columnImage: false,
  296. columnSortable: false,
  297. columnWidth: 80,
  298. format: null,
  299. functionId: this.$route.meta.menuId,
  300. sortLv: 0,
  301. status: true,
  302. fixed: '',
  303. serialNumber: null,
  304. columnType: null,
  305. align: 'right'
  306. }, {
  307. tableId: "liuhuaView",
  308. tableName: this.$route.meta.title,
  309. columnProp: "liuhuaTime",
  310. columnLabel: "硫化首次报工",
  311. columnHidden: false,
  312. columnImage: false,
  313. columnSortable: false,
  314. columnWidth: 130,
  315. format: null,
  316. functionId: this.$route.meta.menuId,
  317. sortLv: 0,
  318. status: true,
  319. fixed: '',
  320. serialNumber: null,
  321. columnType: null,
  322. align: 'center'
  323. }, {
  324. tableId: "liuhuaView",
  325. tableName: this.$route.meta.title,
  326. columnProp: "xiubianWancheng",
  327. columnLabel: "修边完成率",
  328. columnHidden: false,
  329. columnImage: false,
  330. columnSortable: false,
  331. columnWidth: 80,
  332. format: null,
  333. functionId: this.$route.meta.menuId,
  334. sortLv: 0,
  335. status: true,
  336. fixed: '',
  337. serialNumber: null,
  338. columnType: null,
  339. align: 'right'
  340. }, {
  341. tableId: "liuhuaView",
  342. tableName: this.$route.meta.title,
  343. columnProp: "xiubianTime",
  344. columnLabel: "修边首次报工",
  345. columnHidden: false,
  346. columnImage: false,
  347. columnSortable: false,
  348. columnWidth: 130,
  349. format: null,
  350. functionId: this.$route.meta.menuId,
  351. sortLv: 0,
  352. status: true,
  353. fixed: '',
  354. serialNumber: null,
  355. columnType: null,
  356. align: 'center'
  357. }, {
  358. tableId: "liuhuaView",
  359. tableName: this.$route.meta.title,
  360. columnProp: "hongkaoWancheng",
  361. columnLabel: "烘烤完成率",
  362. columnHidden: false,
  363. columnImage: false,
  364. columnSortable: false,
  365. columnWidth: 80,
  366. format: null,
  367. functionId: this.$route.meta.menuId,
  368. sortLv: 0,
  369. status: true,
  370. fixed: '',
  371. serialNumber: null,
  372. columnType: null,
  373. align: 'right'
  374. }, {
  375. tableId: "liuhuaView",
  376. tableName: this.$route.meta.title,
  377. columnProp: "hongkaoTime",
  378. columnLabel: "烘烤首次报工",
  379. columnHidden: false,
  380. columnImage: false,
  381. columnSortable: false,
  382. columnWidth: 130,
  383. format: null,
  384. functionId: this.$route.meta.menuId,
  385. sortLv: 0,
  386. status: true,
  387. fixed: '',
  388. serialNumber: null,
  389. columnType: null,
  390. align: 'center'
  391. }, {
  392. tableId: "liuhuaView",
  393. tableName: this.$route.meta.title,
  394. columnProp: "jiagongWancheng",
  395. columnLabel: "加工完成率",
  396. columnHidden: false,
  397. columnImage: false,
  398. columnSortable: false,
  399. columnWidth: 80,
  400. format: null,
  401. functionId: this.$route.meta.menuId,
  402. sortLv: 0,
  403. status: true,
  404. fixed: '',
  405. serialNumber: null,
  406. columnType: null,
  407. align: 'right'
  408. }, {
  409. tableId: "liuhuaView",
  410. tableName: this.$route.meta.title,
  411. columnProp: "jiagongTime",
  412. columnLabel: "加工首次报工",
  413. columnHidden: false,
  414. columnImage: false,
  415. columnSortable: false,
  416. columnWidth: 130,
  417. format: null,
  418. functionId: this.$route.meta.menuId,
  419. sortLv: 0,
  420. status: true,
  421. fixed: '',
  422. serialNumber: null,
  423. columnType: null,
  424. align: 'center'
  425. }, {
  426. tableId: "liuhuaView",
  427. tableName: this.$route.meta.title,
  428. columnProp: "jianyanWancheng",
  429. columnLabel: "检验完成率",
  430. columnHidden: false,
  431. columnImage: false,
  432. columnSortable: false,
  433. columnWidth: 80,
  434. format: null,
  435. functionId: this.$route.meta.menuId,
  436. sortLv: 0,
  437. status: true,
  438. fixed: '',
  439. serialNumber: null,
  440. columnType: null,
  441. align: 'right'
  442. }, {
  443. tableId: "liuhuaView",
  444. tableName: this.$route.meta.title,
  445. columnProp: "jianyanTime",
  446. columnLabel: "检验首次报工",
  447. columnHidden: false,
  448. columnImage: false,
  449. columnSortable: false,
  450. columnWidth: 130,
  451. format: null,
  452. functionId: this.$route.meta.menuId,
  453. sortLv: 0,
  454. status: true,
  455. fixed: '',
  456. serialNumber: null,
  457. columnType: null,
  458. align: 'center'
  459. }, {
  460. tableId: "liuhuaView",
  461. tableName: this.$route.meta.title,
  462. columnProp: "baozhuangWancheng",
  463. columnLabel: "包装完成率",
  464. columnHidden: false,
  465. columnImage: false,
  466. columnSortable: false,
  467. columnWidth: 80,
  468. format: null,
  469. functionId: this.$route.meta.menuId,
  470. sortLv: 0,
  471. status: true,
  472. fixed: '',
  473. serialNumber: null,
  474. columnType: null,
  475. align: 'right'
  476. }, {
  477. tableId: "liuhuaView",
  478. tableName: this.$route.meta.title,
  479. columnProp: "baozhuangTime",
  480. columnLabel: "包装首次报工",
  481. columnHidden: false,
  482. columnImage: false,
  483. columnSortable: false,
  484. columnWidth: 130,
  485. format: null,
  486. functionId: this.$route.meta.menuId,
  487. sortLv: 0,
  488. status: true,
  489. fixed: '',
  490. serialNumber: null,
  491. columnType: null,
  492. align: 'center'
  493. }, {
  494. tableId: "liuhuaView",
  495. tableName: this.$route.meta.title,
  496. columnProp: "liuhuahegelv",
  497. columnLabel: "硫化合格率",
  498. columnHidden: false,
  499. columnImage: false,
  500. columnSortable: false,
  501. columnWidth: 80,
  502. format: null,
  503. functionId: this.$route.meta.menuId,
  504. sortLv: 0,
  505. status: true,
  506. fixed: '',
  507. serialNumber: null,
  508. columnType: null,
  509. align: 'right'
  510. }
  511. ],
  512. visible:false,
  513. // 导出 end
  514. height: 200,
  515. tableData: [],
  516. exportList: [],
  517. searchData: {
  518. page: 1,
  519. limit: 20,
  520. site:'',
  521. operatorDesc:'',
  522. orderNo: '',
  523. partNo: '',
  524. partSpec:'',
  525. startDate:'',
  526. endDate:'',
  527. firstReportDate2Flag:'N',
  528. seqNo:'',
  529. },
  530. }
  531. },
  532. mounted () {
  533. this.$nextTick(() => {
  534. this.height = window.innerHeight - 240
  535. })
  536. },
  537. methods: {
  538. // 获取基础数据列表S
  539. getBaseList (val, type) {
  540. this.tagNo = val
  541. this.$nextTick(() => {
  542. let strVal = ''
  543. if (val === 24) {
  544. strVal = this.searchData.workCenterNo
  545. }
  546. if (val === 5) {
  547. strVal = this.searchData.partNo
  548. }
  549. if (val === 26) {
  550. strVal = this.searchData.operatorName
  551. }
  552. if (val === 88) {
  553. strVal = this.searchData.resourceId
  554. }
  555. this.$refs.baseList.init(val, strVal)
  556. })
  557. },
  558. /* 列表方法的回调 */
  559. getBaseData (val) {
  560. if (this.tagNo === 24) {
  561. this.searchData.workCenterNo = val.WorkCenterNo
  562. } else if (this.tagNo === 5) {
  563. this.searchData.partNo = val.PartNo
  564. }
  565. if (this.tagNo === 26) {
  566. this.searchData.operatorName = val.OperatorName
  567. }
  568. if (this.tagNo === 88) {
  569. this.searchData.resourceId = val.ResourceID
  570. }
  571. },
  572. search() {
  573. if (this.searchData.site === ''&&this.searchData.orderNo === ''&&this.searchData.partNo === ''
  574. &&this.searchData.partSpec === ''&&this.searchData.startDate === ''&&this.searchData.endDate === ''
  575. &&this.searchData.seqNo === ''&&this.searchData.operatorDesc === ''){
  576. this.$alert('计算量过大,请至少填写一个筛选条件!', '错误', {
  577. confirmButtonText: '确定'
  578. })
  579. return false;
  580. }
  581. this.searchData.limit = this.pageSize
  582. this.searchData.page = this.pageIndex
  583. getLiuhuaView(this.searchData).then(({data}) => {
  584. if (data.code == 0) {
  585. this.tableData = data.page.list
  586. this.pageIndex = data.page.currPage
  587. this.pageSize = data.page.pageSize
  588. this.totalPage = data.page.totalCount
  589. }
  590. this.dataListLoading = false
  591. })
  592. },
  593. // 导出+动态列
  594. fields() {
  595. let json = "{"
  596. this.columnList.forEach((item, index) => {
  597. if (index == this.columnList.length - 1) {
  598. json += "\"" + item.columnLabel + "\"" + ":" + "\"" + item.columnProp + "\""
  599. } else {
  600. json += "\"" + item.columnLabel + "\"" + ":" + "\"" + item.columnProp + "\"" + ","
  601. }
  602. })
  603. json += "}"
  604. let s = eval("(" + json + ")")
  605. return s
  606. },
  607. async createExportData() {
  608. // 点击导出按钮之后,开始导出数据之前的执行函数,返回值为需要下载的数据
  609. this.searchData.limit = -1
  610. this.searchData.page = 1
  611. await getLiuhuaView(this.searchData).then(({data}) => {
  612. this.exportList= data.page.list;
  613. })
  614. return this.exportList;
  615. },
  616. getStrDate() {
  617. let dd = new Date();
  618. let Y = dd.getFullYear();
  619. let M = (dd.getMonth() + 1) < 10 ? "0" + (dd.getMonth() + 1) : (dd.getMonth() + 1);//获取当前月份的日期,不足10补0
  620. let D = dd.getDate() < 10 ? "0" + dd.getDate() : dd.getDate();//获取当前几号,不足10补0
  621. let H = dd.getHours() < 10 ? "0" + dd.getHours() : dd.getHours();
  622. let MM = dd.getMinutes() < 10 ? "0" + dd.getMinutes() : dd.getMinutes();
  623. let S = dd.getSeconds() < 10 ? "0" + dd.getSeconds() : dd.getSeconds();
  624. return Y + M + D + H + MM + S;
  625. },
  626. // 每页数
  627. sizeChangeHandle (val) {
  628. this.pageSize = val
  629. this.pageIndex = 1
  630. this.search()
  631. },
  632. // 当前页
  633. currentChangeHandle (val) {
  634. this.pageIndex = val
  635. this.search()
  636. },
  637. },
  638. created () {
  639. // this.getTableUserColumn()
  640. }
  641. }
  642. </script>
  643. <style scoped>
  644. .input_left{
  645. text-align: left;
  646. }
  647. .input_reight{
  648. text-align: right;
  649. }
  650. /deep/ input::-webkit-inner-spin-button {
  651. -webkit-appearance: none !important;
  652. }
  653. input[type='number'] {
  654. -moz-appearance: textfield !important;
  655. }
  656. </style>