| | |
| | | :permission="permissionList" |
| | | ref="crud" |
| | | @search-change="searchChange" |
| | | @cell-dblclick="cellDbClick" |
| | | @search-reset="searchReset" |
| | | @selection-change="selectionChange" |
| | | @current-change="currentChange" |
| | |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad"> |
| | | <template slot="menuLeft"> |
| | | <el-button type="primary" |
| | | size="small" |
| | | plain |
| | | icon="el-icon-refresh-right" |
| | | @click="handleSend">手动推送 |
| | | </el-button> |
| | | <el-button type="primary" |
| | | size="small" |
| | | plain |
| | | icon="el-icon-refresh-right" |
| | | @click="handleSend">手动推送 |
| | | </el-button> |
| | | <div style="float: right;margin-left: 10px"> |
| | | <vci-docking-search :formInline="formInline" :SearchObject="SearchObject" :page="page" :status="status" @getList="dockingGetList"></vci-docking-search> |
| | | </div> |
| | | </template> |
| | | </avue-crud> |
| | | </basic-container> |
| | |
| | | name: "task", |
| | | data(){ |
| | | return { |
| | | //model绑定 |
| | | formInline:{ |
| | | type:'', |
| | | stateTask:'', |
| | | lastDate:'', |
| | | Date:'', |
| | | text:'', |
| | | taskCut:'' |
| | | }, |
| | | //各个类型状态 |
| | | status:{ |
| | | type:'task', |
| | | stateTaskDataFlag:false, |
| | | dateFlag:false, |
| | | lastDateFlag:false, |
| | | sendTypeFlga:false |
| | | }, |
| | | //集成类型死数据 |
| | | SearchObject:{ |
| | | searchData:[ |
| | | { |
| | | label:'数据编码', |
| | | prop: "id", |
| | | value:0 |
| | | }, |
| | | { |
| | | label:'分类代号', |
| | | prop: 'classifyId', |
| | | value:1 |
| | | }, |
| | | { |
| | | label:'分类名称', |
| | | prop: 'classifyName', |
| | | value:2 |
| | | }, |
| | | { |
| | | label:'集成系统编号', |
| | | prop: 'systemCode', |
| | | value:3 |
| | | }, |
| | | { |
| | | label:'集成系统名称', |
| | | prop: 'systemName', |
| | | value:4 |
| | | }, |
| | | { |
| | | label:'推送类型', |
| | | prop: 'sendType', |
| | | value:5 |
| | | }, |
| | | { |
| | | label:'任务创建时间', |
| | | prop: 'createTime', |
| | | value:6 |
| | | }, |
| | | { |
| | | label:'最后推送时间', |
| | | prop: 'lastModifyTime', |
| | | value:7 |
| | | }, |
| | | { |
| | | label:'是否推送成功', |
| | | prop: 'sendFlag', |
| | | value:8 |
| | | } |
| | | ] |
| | | }, |
| | | value:'', |
| | | loading: false, |
| | | query: {}, |
| | | selectionList: [], |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | dockingGetList(val){ |
| | | this.data=val.records; |
| | | this.page.pageSize=val.size; |
| | | this.page.currentPage=val.current; |
| | | this.page.total=val.total; |
| | | }, |
| | | async cellDbClick(row, column, cell, event) { |
| | | for (const key in row) { |
| | | if (key === column.property) { |
| | | this.value = row[key]; |
| | | } |
| | | } |
| | | try { |
| | | await this.$copyText(this.value); |
| | | this.$message.success('复制成功'); |
| | | } catch (error) { |
| | | this.$message.warning('复制失败'); |
| | | } |
| | | }, |
| | | searchReset() { |
| | | this.query = {}; |
| | | this.onLoad(this.page); |