b093b4a56f5c7d2d312c2071a0a4a9ebd28ee087.svn-base 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550
  1. <template>
  2. <div class="app-container">
  3. <div class="operation">
  4. <el-button v-if="isRoleEdit" class="success" style="float: left;margin-right:10px;" @click="handleCreate">分配</el-button>
  5. <el-button v-if="isRoleEdit" class="danger" style="float: left;margin-right:10px;" @click="handleDelete">删除</el-button>
  6. <el-button v-if="isRoleEdit" class="import" style="float: right;" @click="handleImport">导入</el-button>
  7. <el-dropdown style="float: right;margin-right: 10px;">
  8. <el-button class="export">导出</el-button>
  9. <el-dropdown-menu slot="dropdown">
  10. <el-dropdown-item @click.native="handleExport(1)">导出模板</el-dropdown-item>
  11. <el-dropdown-item @click.native="handleExport(2)">导出数据</el-dropdown-item>
  12. </el-dropdown-menu>
  13. </el-dropdown>
  14. </div>
  15. <div class="search">
  16. <el-date-picker v-model="table.getdataListParm.parammaps.inputDatetime" class="inputDatetime filter-item" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" style="width: 250px;" />
  17. <el-button class="el-icon-arrow-left elIconArrowLeft" @click="handleBefore" />
  18. <el-button class="el-icon-arrow-right elIconArrowRight" @click="handleNext" />
  19. <el-select v-model="table.getdataListParm.parammaps.times" filterable placeholder="班次" class="filter-item" style="width: 120px;" clearable>
  20. <el-option v-for="item in frequencyList" :key="item.id" :label="item.name" :value="item.id" />
  21. </el-select>
  22. <el-select v-model="table.getdataListParm.parammaps.eqclass" placeholder="设备类别" class="filter-item" style="width: 120px;" clearable>
  23. <el-option v-for="item in equipmentCategoryList" :key="item.id" :label="item.name" :value="item.name" />
  24. </el-select>
  25. <el-input ref="eqcode" v-model="table.getdataListParm.parammaps.eqcode" class="filter-item" placeholder="设备编号" style="width: 120px;" />
  26. <el-input ref="driver" v-model="table.getdataListParm.parammaps.driver" class="filter-item" placeholder="驾驶员" style="width: 120px;" />
  27. <el-button class="successBorder" @click="handleSearch">查询</el-button>
  28. <el-button class="successBorder" @click="handleRefresh">重置</el-button>
  29. </div>
  30. <div class="table">
  31. <el-table
  32. :key="table.tableKey"
  33. v-loading="table.listLoading"
  34. element-loading-text="给我一点时间"
  35. :data="table.list"
  36. border
  37. fit
  38. highlight-current-row
  39. style="width: 100%;"
  40. :row-style="rowStyle"
  41. :cell-style="cellStyle"
  42. class="elTable table-fixed"
  43. @selection-change="handleSelectionChange"
  44. >
  45. <el-table-column type="selection" align="center" width="50" />
  46. <el-table-column label="序号" align="center" type="index" width="50px">
  47. <template slot-scope="scope">
  48. <span>{{ scope.$index + (table.pageNum-1) * table.pageSize + 1 }}</span>
  49. </template>
  50. </el-table-column>
  51. <el-table-column label="生效日期" min-width="150px" align="center">
  52. <template slot-scope="scope">
  53. <span>{{ scope.row.operatetime }}</span>
  54. </template>
  55. </el-table-column>
  56. <el-table-column label="班次" min-width="150px" align="center">
  57. <template slot-scope="scope">
  58. <span>{{ scope.row.times }}</span>
  59. </template>
  60. </el-table-column>
  61. <el-table-column label="设备类别" min-width="90px" align="center">
  62. <template slot-scope="scope">
  63. <span>{{ scope.row.eqclass }}</span>
  64. </template>
  65. </el-table-column>
  66. <el-table-column label="设备编号" min-width="100px" align="center">
  67. <template slot-scope="scope">
  68. <span>{{ scope.row.eqcode }}</span>
  69. </template>
  70. </el-table-column>
  71. <el-table-column label="驾驶员" min-width="90px" align="center">
  72. <template slot-scope="scope">
  73. <span>{{ scope.row.driver }}</span>
  74. </template>
  75. </el-table-column>
  76. <el-table-column label="分配人" min-width="90px" align="center">
  77. <template slot-scope="scope">
  78. <span>{{ scope.row.emp }}</span>
  79. </template>
  80. </el-table-column>
  81. <el-table-column label="操作" align="center" width="250" class-name="small-padding fixed-width" fixed="right">
  82. <template slot-scope="{row}">
  83. <el-button v-if="isRoleEdit" class="miniDanger" @click="handleRowDelete(row)">删除</el-button>
  84. </template>
  85. </el-table-column>
  86. </el-table>
  87. <pagination v-show="table.total>=0" :total="table.total" :page.sync="table.getdataListParm.offset" :limit.sync="table.getdataListParm.pagecount" @pagination="getList" />
  88. </div>
  89. <!-- 新增/编辑 -->
  90. <el-dialog :title="textMap[create.dialogStatus]" :visible.sync="create.dialogFormVisible" :close-on-click-modal="false" width="90%">
  91. <div class="app-add">
  92. <el-tabs v-model="create.activeName" @tab-click="handleClick">
  93. <el-tab-pane label="TMR设备" name="first">
  94. <div class="table">
  95. <el-table
  96. :key="create.tableKey"
  97. v-loading="create.listLoading"
  98. element-loading-text="给我一点时间"
  99. :data="create.list"
  100. border
  101. fit
  102. highlight-current-row
  103. style="width: 100%;margin-bottom: 50px;"
  104. :row-style="rowStyle"
  105. :cell-style="cellStyle"
  106. class="elTable table-fixed"
  107. >
  108. <el-table-column label="班次" min-width="150px" align="center">
  109. <template slot-scope="scope">
  110. <span>{{ scope.row.timesstr }}</span>
  111. </template>
  112. </el-table-column>
  113. <el-table-column label="设备类别" min-width="90px" align="center">
  114. <template slot-scope="scope">
  115. <span>{{ scope.row.eqclass }}</span>
  116. </template>
  117. </el-table-column>
  118. <el-table-column label="设备编号" min-width="100px" align="center">
  119. <template slot-scope="scope">
  120. <span>{{ scope.row.eqcode }}</span>
  121. </template>
  122. </el-table-column>
  123. <el-table-column label="驾驶员" min-width="90px" align="center">
  124. <template slot-scope="scope">
  125. <el-select v-model="scope.row.driverid" filterable placeholder="驾驶员" class="filter-item" style="width: 100%;padding: 0 10px;" @change="(value)=> {changeDriver(value, scope.row)}">
  126. <el-option v-for="item in driverList" :key="item.id" :label="item.drivername" :value="item.id" />
  127. </el-select>
  128. </template>
  129. </el-table-column>
  130. </el-table>
  131. </div>
  132. <div slot="footer" class="dialog-footer">
  133. <el-button class="cancelClose" @click="create.dialogFormVisible = false;getList()">关闭</el-button>
  134. <el-button v-if="create.dialogStatus==='create' || create.dialogStatus==='update'" class="success" :disabled="isokDisable" @click="createData()">确认</el-button>
  135. </div>
  136. </el-tab-pane>
  137. <el-tab-pane label="铲车" name="second">
  138. <div class="table">
  139. <el-table
  140. :key="create.tableKey2"
  141. v-loading="create.listLoading2"
  142. element-loading-text="给我一点时间"
  143. :data="create.list2"
  144. border
  145. fit
  146. highlight-current-row
  147. style="width: 100%;margin-bottom: 50px;"
  148. :row-style="rowStyle"
  149. :cell-style="cellStyle"
  150. class="elTable table-fixed"
  151. >
  152. <el-table-column label="班次" min-width="150px" align="center">
  153. <template slot-scope="scope">
  154. <span>{{ scope.row.timesstr }}</span>
  155. </template>
  156. </el-table-column>
  157. <el-table-column label="设备类别" min-width="90px" align="center">
  158. <template slot-scope="scope">
  159. <span>{{ scope.row.eqclass }}</span>
  160. </template>
  161. </el-table-column>
  162. <el-table-column label="设备编号" min-width="100px" align="center">
  163. <template slot-scope="scope">
  164. <span>{{ scope.row.eqcode }}</span>
  165. </template>
  166. </el-table-column>
  167. <el-table-column label="驾驶员" min-width="90px" align="center">
  168. <template slot-scope="scope">
  169. <el-select v-model="scope.row.driverid" filterable placeholder="驾驶员" class="filter-item" style="width: 100%;padding: 0 10px;" @change="(value)=> {changeDriver(value, scope.row)}">
  170. <el-option v-for="item in driverList" :key="item.id" :label="item.drivername" :value="item.id" />
  171. </el-select>
  172. </template>
  173. </el-table-column>
  174. </el-table>
  175. </div>
  176. <div slot="footer" class="dialog-footer">
  177. <el-button class="cancelClose" @click="create.dialogFormVisible = false;getList()">关闭</el-button>
  178. <el-button v-if="create.dialogStatus==='create' || create.dialogStatus==='update'" class="success" :disabled="isokDisable" @click="createData2()">确认</el-button>
  179. </div>
  180. </el-tab-pane>
  181. </el-tabs>
  182. </div>
  183. </el-dialog>
  184. </div>
  185. </template>
  186. <script>
  187. import { GetDataByName, PostDataByName, ExecDataByConfig, GetDataByNames, checkButtons } from '@/api/common'
  188. import Cookies from 'js-cookie'
  189. import { parseTime } from '@/utils/index.js'
  190. import Pagination from '@/components/Pagination'
  191. import { MessageBox } from 'element-ui'
  192. export default {
  193. name: 'DutyRecord',
  194. components: { Pagination },
  195. data() {
  196. return {
  197. isRoleEdit: [],
  198. requestParams: [
  199. { name: 'getSysoptEnable', offset: 0, pagecount: 0, parammaps: { 'pastureid': Cookies.get('pastureid'), 'inforname': 'times' }},
  200. { name: 'getDriverListEnable', offset: 0, pagecount: 0, parammaps: { 'pastureid': Cookies.get('pastureid') }}
  201. ],
  202. equipmentCategoryList: [{ id: '1', name: 'TMR设备' }, { id: '2', name: '铲车' }], // 设备类别
  203. frequencyList: [], // 班次
  204. driverList: [], // 驾驶员
  205. table: {
  206. getdataListParm: {
  207. name: 'getDutyrecordList',
  208. page: 1,
  209. offset: 1,
  210. pagecount: 10,
  211. returntype: 'Map',
  212. parammaps: {
  213. pastureid: Cookies.get('pastureid'),
  214. barid: '',
  215. startTime: '',
  216. stopTime: '',
  217. inputDatetime: '',
  218. times: '',
  219. eqclass: ''
  220. }
  221. },
  222. tableKey: 0,
  223. list: [],
  224. total: 0,
  225. listLoading: true,
  226. temp: {}
  227. },
  228. // 新增/编辑
  229. create: {
  230. dialogFormVisible: false,
  231. dialogStatus: '',
  232. temp: { pastureid: Cookies.get('pastureid'), operatetime: parseTime(new Date(), '{y}-{m}-{d} {h}:{m}'), emp: Cookies.get('employename'), barid: '', barname: '', remain: '', times: '' },
  233. rules: {},
  234. tableKey: 0,
  235. list: [],
  236. total: 0,
  237. listLoading: true,
  238. getdataListParm: {
  239. name: 'geEqListByDplan',
  240. page: 1,
  241. offset: 1,
  242. pagecount: 10,
  243. returntype: 'Map',
  244. parammaps: {
  245. pastureid: Cookies.get('pastureid')
  246. }
  247. },
  248. tableKey2: 0,
  249. list2: [],
  250. total2: 0,
  251. listLoading2: true,
  252. getdataListParm2: {
  253. name: 'geEqListByDplan',
  254. page: 1,
  255. offset: 1,
  256. pagecount: 10,
  257. returntype: 'Map',
  258. parammaps: {
  259. pastureid: Cookies.get('pastureid')
  260. }
  261. },
  262. activeName: 'first'
  263. },
  264. textMap: {
  265. create: '分配'
  266. },
  267. requestParam: {},
  268. isokDisable: false,
  269. selectList: [],
  270. rowStyle: { maxHeight: 50 + 'px', height: 45 + 'px' },
  271. cellStyle: { padding: 0 + 'px' }
  272. }
  273. },
  274. created() {
  275. this.getList()
  276. this.getDownList()
  277. this.getButtons()
  278. },
  279. methods: {
  280. getButtons() {
  281. const Edit = 'DutyRecord'
  282. const isRoleEdit = checkButtons(JSON.parse(sessionStorage.getItem('buttons')), Edit)
  283. this.isRoleEdit = isRoleEdit
  284. },
  285. getDownList() {
  286. GetDataByNames(this.requestParams).then(response => {
  287. if (response.data.getSysoptEnable.list !== null) {
  288. for (let i = 1; i <= response.data.getSysoptEnable.list[0].inforvalue; i++) {
  289. const obj = {}
  290. obj.id = String(i)
  291. if (i == 1) { obj.name = '第一班' } else if (i == 2) { obj.name = '第二班' } else if (i == 3) { obj.name = '第三班' } else if (i == 4) { obj.name = '第四班' }
  292. this.frequencyList.push(obj)
  293. }
  294. } else {
  295. this.frequencyList = []
  296. }
  297. this.driverList = response.data.getDriverListEnable.list
  298. })
  299. },
  300. handleBefore() {
  301. if (this.table.getdataListParm.parammaps.inputDatetime !== '' && this.table.getdataListParm.parammaps.inputDatetime !== null) {
  302. var start = new Date(this.table.getdataListParm.parammaps.inputDatetime[0].setDate(this.table.getdataListParm.parammaps.inputDatetime[0].getDate() - 1))
  303. var stop = new Date(this.table.getdataListParm.parammaps.inputDatetime[1].setDate(this.table.getdataListParm.parammaps.inputDatetime[1].getDate() - 1))
  304. this.table.getdataListParm.parammaps.inputDatetime.length = 0
  305. this.table.getdataListParm.parammaps.inputDatetime.push(start, stop)
  306. this.$forceUpdate()
  307. }
  308. },
  309. handleNext() {
  310. if (this.table.getdataListParm.parammaps.inputDatetime !== '' && this.table.getdataListParm.parammaps.inputDatetime !== null) {
  311. var start = new Date(this.table.getdataListParm.parammaps.inputDatetime[0].setDate(this.table.getdataListParm.parammaps.inputDatetime[0].getDate() + 1))
  312. var stop = new Date(this.table.getdataListParm.parammaps.inputDatetime[1].setDate(this.table.getdataListParm.parammaps.inputDatetime[1].getDate() + 1))
  313. this.table.getdataListParm.parammaps.inputDatetime.length = 0
  314. this.table.getdataListParm.parammaps.inputDatetime.push(start, stop)
  315. this.$forceUpdate()
  316. }
  317. },
  318. getList() {
  319. this.table.listLoading = true
  320. GetDataByName(this.table.getdataListParm).then(response => {
  321. console.log('table数据', response.data.list)
  322. if (response.data.list !== null) {
  323. this.table.list = response.data.list
  324. this.table.pageNum = response.data.pageNum
  325. this.table.pageSize = response.data.pageSize
  326. this.table.total = response.data.total
  327. } else {
  328. this.table.list = []
  329. }
  330. setTimeout(() => {
  331. this.table.listLoading = false
  332. }, 100)
  333. })
  334. },
  335. handleSearch() {
  336. console.log('点击了查询')
  337. if (this.table.getdataListParm.parammaps.inputDatetime !== '' && this.table.getdataListParm.parammaps.inputDatetime !== null) {
  338. this.table.getdataListParm.parammaps.startTime = parseTime(this.table.getdataListParm.parammaps.inputDatetime[0], '{y}-{m}-{d}')
  339. this.table.getdataListParm.parammaps.stopTime = parseTime(this.table.getdataListParm.parammaps.inputDatetime[1], '{y}-{m}-{d}')
  340. } else {
  341. this.table.getdataListParm.parammaps.inputDatetime = ''
  342. this.table.getdataListParm.parammaps.startTime = ''
  343. this.table.getdataListParm.parammaps.stopTime = ''
  344. }
  345. this.table.getdataListParm.offset = 1
  346. this.getList()
  347. },
  348. handleRefresh() {
  349. console.log('点击了重置')
  350. this.table.getdataListParm.parammaps.times = ''
  351. this.table.getdataListParm.parammaps.eqclass = ''
  352. this.table.getdataListParm.parammaps.eqcode = ''
  353. this.table.getdataListParm.parammaps.driver = ''
  354. this.table.getdataListParm.parammaps.startTime = ''
  355. this.table.getdataListParm.parammaps.stopTime = ''
  356. this.table.getdataListParm.parammaps.inputDatetime = ''
  357. this.table.getdataListParm.offset = 1
  358. this.getList()
  359. },
  360. // 新增
  361. handleCreate() {
  362. console.log('点击了分配')
  363. this.create.dialogStatus = 'create'
  364. this.create.dialogFormVisible = true
  365. this.getDialogList()
  366. },
  367. handleClick() {
  368. if (this.create.activeName == 'first') {
  369. this.getDialogList()
  370. } else if (this.create.activeName == 'second') {
  371. this.getDialogList2()
  372. }
  373. },
  374. getDialogList() {
  375. GetDataByName(this.create.getdataListParm).then(response => {
  376. console.log('table数据', response.data.list)
  377. if (response.data.list !== null) {
  378. for (let i = 0; i < response.data.list.length; i++) {
  379. if (response.data.list[i].driver == undefined || response.data.list[i].driverid == undefined) {
  380. this.$set(response.data.list[i], 'driver', '')
  381. this.$set(response.data.list[i], 'driverid', '')
  382. }
  383. }
  384. this.create.list = response.data.list
  385. } else {
  386. this.create.list = []
  387. }
  388. setTimeout(() => {
  389. this.create.listLoading = false
  390. }, 100)
  391. })
  392. },
  393. getDialogList2() {
  394. GetDataByName(this.create.getdataListParm2).then(response => {
  395. console.log('table2数据', response.data.list)
  396. if (response.data.list !== null) {
  397. for (let i = 0; i < response.data.list.length; i++) {
  398. if (response.data.list[i].driver == undefined || response.data.list[i].driverid == undefined) {
  399. this.$set(response.data.list[i], 'driver', '')
  400. this.$set(response.data.list[i], 'driverid', '')
  401. }
  402. }
  403. this.create.list2 = response.data.list
  404. } else {
  405. this.create.list2 = []
  406. }
  407. setTimeout(() => {
  408. this.create.listLoading2 = false
  409. }, 100)
  410. })
  411. },
  412. changeDriver(item, row) {
  413. row.driver = this.driverList.find(obj => obj.id == item).drivername
  414. },
  415. createData() {
  416. console.log('点击了新增保存', this.create.list)
  417. this.isokDisable = true
  418. setTimeout(() => {
  419. this.isokDisable = false
  420. }, 1000)
  421. for (var i = 0; i < this.create.list.length; i++) {
  422. if (this.create.list[i].driverid == '') {
  423. this.create.list.splice(i, 1)
  424. i = 0
  425. }
  426. }
  427. console.log('点击了新增保存', this.create.list)
  428. this.requestParam.common = { 'returnmap': '0' }
  429. this.requestParam.data = []
  430. this.requestParam.data[0] = { 'name': 'insertSpotList', 'resultmaps': { 'list': this.create.list }}
  431. this.requestParam.data[0].children = []
  432. this.requestParam.data[0].children[0] = { 'name': 'insertDutyrecord', 'type': 'e', 'parammaps': {
  433. pastureid: '@insertSpotList.pastureid',
  434. eqid: '@insertSpotList.eqid',
  435. eqclass: '@insertSpotList.eqclass',
  436. eqcode: '@insertSpotList.eqcode',
  437. driver: '@insertSpotList.driver',
  438. driverid: '@insertSpotList.driverid',
  439. times: '@insertSpotList.times',
  440. operatedate: parseTime(new Date(), '{y}-{m}-{d}'),
  441. emp: Cookies.get('employename')
  442. }}
  443. ExecDataByConfig(this.requestParam).then(response => {
  444. console.log('分配TMR设备保存发送参数', this.requestParam)
  445. if (response.msg === 'fail') {
  446. this.$notify({ title: '保存失败', message: response.data, type: 'warning', duration: 2000 })
  447. } else {
  448. this.$notify({ title: '', message: '保存成功', type: 'success', duration: 2000 })
  449. this.create.dialogFormVisible = false
  450. this.getList()
  451. }
  452. })
  453. },
  454. createData2() {
  455. console.log('分配铲车保存发送参数')
  456. },
  457. // 删除
  458. handleRowDelete(row) {
  459. console.log('点击了行内删除')
  460. this.selectList = []
  461. MessageBox.confirm('是否确认删除此信息?', {
  462. confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning'
  463. }).then(() => {
  464. this.selectList = []
  465. this.requestParam.name = 'deleteDutyrecord'
  466. this.requestParam.parammaps = {}
  467. this.requestParam.parammaps.pastureid = row.pastureid
  468. this.requestParam.parammaps.id = row.id
  469. PostDataByName(this.requestParam).then(response => {
  470. if (response.msg === 'fail') {
  471. this.$notify({ title: '删除失败', message: response.data, type: 'warning', duration: 2000 })
  472. } else {
  473. this.$notify({ title: '成功', message: '删除成功', type: 'success', duration: 2000 })
  474. this.getList()
  475. }
  476. })
  477. }).catch(() => {
  478. this.$message({ type: 'info', message: '已取消删除' })
  479. })
  480. },
  481. handleSelectionChange(val) {
  482. console.log('勾选数据', val)
  483. this.selectList = val
  484. },
  485. handleDelete() {
  486. console.log('点击了删除')
  487. if (this.selectList.length == 0) {
  488. this.$message({ type: 'error', message: '请选择值班记录', duration: 2000 })
  489. } else {
  490. MessageBox.confirm('当前选中' + this.selectList.length + '条信息,是否删除?', {
  491. confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning'
  492. }).then(() => {
  493. console.log(this.selectList)
  494. this.requestParam.common = { 'returnmap': '0' }
  495. this.requestParam.data = []
  496. this.requestParam.data[0] = { 'name': 'insertSpotList', 'resultmaps': { 'list': this.selectList }}
  497. this.requestParam.data[0].children = []
  498. this.requestParam.data[0].children[0] = { 'name': 'deleteDutyrecord', 'type': 'e', 'parammaps': {
  499. id: '@insertSpotList.id',
  500. pastureid: '@insertSpotList.pastureid'
  501. }}
  502. ExecDataByConfig(this.requestParam).then(response => {
  503. console.log('删除保存发送参数', this.requestParam)
  504. if (response.msg === 'fail') {
  505. this.$notify({ title: '删除失败', message: response.data, type: 'warning', duration: 2000 })
  506. } else {
  507. this.$notify({ title: '', message: '删除成功', type: 'success', duration: 2000 })
  508. this.getList()
  509. }
  510. })
  511. })
  512. }
  513. },
  514. // 导出
  515. handleExport(item) {
  516. if (item == 1) {
  517. console.log('点击了导出模板')
  518. } else {
  519. console.log('点击了导出数据')
  520. }
  521. },
  522. // 导入
  523. handleImport() {
  524. console.log('点击了导入')
  525. }
  526. }
  527. }
  528. </script>
  529. <style lang="scss" scoped>
  530. .search{padding-top:10px;clear: both;}
  531. .table{margin-top:10px;}
  532. </style>