| | |
| | | <el-table-column align="center" prop="finishTime" label="计划完成时间" width="160px"/> |
| | | <!-- <el-table-column align="center" prop="statusName" label="状态" width="100px"/>--> |
| | | <el-table-column align="center" prop="idleDays" label="停留时间(天)" width="150px"/> |
| | | <zt-table-column-handle fixed="right" :table="table" :has-edit="false" :has-delete="false" :has-view="false" width="120px"> |
| | | <zt-table-column-handle fixed="right" :table="table" :has-edit="false" :has-delete="false" :has-view="false" |
| | | width="120px"> |
| | | <template v-slot="{ row }"> |
| | | <zt-table-button v-if="row.stepMarker!='hxsy_czsp'&&row.stepMarker!='hxsy_bzsp'&&row.stepMarker!='xbsy_czsp'&&row.stepMarker!='xbsy_bzsp'" @click="createTask(row)">办理</zt-table-button> |
| | | <zt-table-button v-if="row.stepMarker=='hxsy_czsp'||row.stepMarker=='hxsy_bzsp'||row.stepMarker=='xbsy_czsp'||row.stepMarker=='xbsy_bzsp'" @click="createTask(row)">查阅</zt-table-button> |
| | | <zt-table-button |
| | | v-if="row.stepMarker!='hxsy_czsp'&&row.stepMarker!='hxsy_bzsp'&&row.stepMarker!='xbsy_czsp'&&row.stepMarker!='xbsy_bzsp'" |
| | | @click="createTask(row)">办理 |
| | | </zt-table-button> |
| | | <zt-table-button |
| | | v-if="row.stepMarker=='hxsy_czsp'||row.stepMarker=='hxsy_bzsp'||row.stepMarker=='xbsy_czsp'||row.stepMarker=='xbsy_bzsp'" |
| | | @click="createTask(row)">查阅 |
| | | </zt-table-button> |
| | | <zt-table-button @click="flowChart(row)">流程图</zt-table-button> |
| | | <zt-table-button v-if="row.flowCode === 'yearPlan2'" @click="getFlowTrack (row)">流程轨迹</zt-table-button> |
| | | </template> |
| | |
| | | @infinite="infiniteHandler" |
| | | ref="infiniteLoading" |
| | | force-use-infinite-wrapper=".alreadyTaskPushTable .el-table__body-wrapper"> |
| | | <div slot="no-more" style="margin-top: 10px;margin-bottom: 10px;"><span v-if="dataListAll.length > pageSize">没有更多了</span></div> |
| | | <div slot="no-more" style="margin-top: 10px;margin-bottom: 10px;"><span v-if="dataListAll.length > pageSize">没有更多了</span> |
| | | </div> |
| | | </infinite-loading> |
| | | </el-table> |
| | | <!-- 待办任务弹窗弹窗, 新增 / 修改 --> |
| | |
| | | console.log(this.tableBottomOffset,'tableBottomOffset') |
| | | } |
| | | }, |
| | | computed:{ |
| | | |
| | | }, |
| | | computed: {}, |
| | | components: { |
| | | InfiniteLoading, |
| | | ItemCirculatOrder |
| | |
| | | async createTask(row) { |
| | | console.log(row, "task row"); |
| | | if (row.flowCode === 'wplz') { |
| | | this.$refs.itemCirculatOrder.$refs.dialog.init(row) |
| | | this.$refs.itemCirculatOrder.$refs.dialog.init(row.bizId, row) |
| | | } else if (row.flowCode === 'aaa') { |
| | | //this.$refs.itemCirculatOrder.$refs.dialog.init(row) |
| | | } |
| | | else { |
| | | } else { |
| | | if (row.stepRouterId === null) { |
| | | this.$tip.alert("没有配置菜单id") |
| | | return; |