|
@@ -53,6 +53,7 @@
|
|
|
<!-- 操作按钮区域 -->
|
|
|
<div class='table-operator'>
|
|
|
<a-button @click='handleAdd' type='primary' icon='plus'>新增</a-button>
|
|
|
+ <a-button @click='exportJX' type='primary' icon='download'>绩效导出</a-button>
|
|
|
<!-- <a-button type='primary' icon='download' @click="handleExportXls('运行流程表')">导出</a-button>
|
|
|
<a-upload name='file' :showUploadList='false' :multiple='false' :headers='tokenHeader' :action='importExcelUrl'
|
|
|
@change='handleImportExcel'>
|
|
@@ -157,6 +158,8 @@
|
|
|
|
|
|
<!-- 选择下一步责任人 -->
|
|
|
<itdm-next-modal ref='nextChoose' @ok='modalFormOk' :fatherMethod="loadData"></itdm-next-modal>
|
|
|
+ <!-- 导出绩效 -->
|
|
|
+ <itdm-export-modal ref='exportJx' @ok='modalFormOk' :fatherMethod="loadData"></itdm-export-modal>
|
|
|
|
|
|
|
|
|
|
|
@@ -176,13 +179,15 @@ import ItdmRunFlowPathShenhel from './modules/ItdmRunFlowPathShenhel.vue'
|
|
|
import ItdmRunFlowPathShenhel1 from './modules/ItdmRunFlowPathShenhel1.vue'
|
|
|
import { deleteAction, getAction,downFile,getFileAccessHttpUrl } from '@/api/manage'
|
|
|
import ItdmNextModal from './modules/ItdmNextModal.vue'
|
|
|
+import ItdmExportModal from './modules/ItdmExportModal.vue'
|
|
|
|
|
|
export default {
|
|
|
name: 'ItdmRunFlowPathList',
|
|
|
mixins: [JeecgListMixin, mixinDevice],
|
|
|
components: {
|
|
|
ItdmRunFlowPathModal,ItdmRunFlowPathShenhel,ItdmRunFlowPathShenhel1,
|
|
|
- ItdmNextModal
|
|
|
+ ItdmNextModal,
|
|
|
+ ItdmExportModal
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -354,6 +359,7 @@ export default {
|
|
|
// },
|
|
|
// 17写的
|
|
|
tongguo: function(record) {
|
|
|
+ console.log(666,record)
|
|
|
this.$refs.nextChoose.next(record);
|
|
|
// let that = this
|
|
|
// var data = { 'runFlowPath': record.id }
|
|
@@ -391,7 +397,11 @@ export default {
|
|
|
fieldList.push({ type: 'string', value: 'dqSetp', text: '当前步骤id', dictCode: 'xxx,xxx,xxx' })
|
|
|
fieldList.push({ type: 'string', value: 'status', text: '状态', dictCode: '' })
|
|
|
this.superFieldList = fieldList
|
|
|
- }
|
|
|
+ },
|
|
|
+ // 绩效导出
|
|
|
+ exportJX() {
|
|
|
+ this.$refs.exportJx.next();
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|