| | |
| | | class="j-table-force-nowrap" |
| | | @change="handleTableChange"> |
| | | |
| | | <template slot="htmlSlot" slot-scope="text"> |
| | | <div v-html="text"></div> |
| | | </template> |
| | | <template slot="imgSlot" slot-scope="text"> |
| | | <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span> |
| | | <img v-else :src="getImgView(text)" height="25px" alt="" |
| | | style="max-width:80px;font-size: 12px;font-style: italic;"/> |
| | | </template> |
| | | <template slot="fileSlot" slot-scope="text"> |
| | | <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span> |
| | | <a-button |
| | | v-else |
| | | :ghost="true" |
| | | type="primary" |
| | | icon="download" |
| | | size="small" |
| | | @click="downloadFile(text)"> |
| | | 下载 |
| | | </a-button> |
| | | </template> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <a @click="handelDetial(record,text)">详情</a> |
| | | </span> |
| | | |
| | | </a-table> |
| | | </div> |
| | | |
| | | <AssignFileStreamXq ref="modalFormApproval" :selectShenpiData="selectShenpiData"></AssignFileStreamXq> |
| | | |
| | | <DispatchFileXq ref="modalFormDispatchFileXq" :selectShenpiData="selectDispatchFileXqData"></DispatchFileXq> |
| | | |
| | | <inspection-order-handle ref="modalFormInspectionOrderXq" :selectShenpiData="selectInspectionOrderXqData"/> |
| | | |
| | |
| | | import { mixinDevice } from '@/utils/mixin' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import JDictSelectTag from '@/components/dict/JDictSelectTag.vue' |
| | | import AssignFileStreamXq from '@views/flowable/workflow/assignFileStream/AssignFileStreamXq.vue' |
| | | import DispatchFileXq from '@views/flowable/workflow/dispatchFile/DispatchFileXq.vue' |
| | | import InspectionOrderHandle from './InspectionOrder/InspectionOrderHandle' |
| | | import WeekMaintenanceApprovalModal from './weekMaintenance/WeekMaintenanceApprovalModal' |
| | | import RepairOrderApprovalModal from './repairOrder/RepairOrderApprovalModal' |
| | |
| | | name: 'NcDeviceCharactersList', |
| | | mixins: [JeecgListMixin, mixinDevice], |
| | | components: { |
| | | DispatchFileXq, |
| | | AssignFileStreamXq: AssignFileStreamXq, |
| | | RepairOrderApprovalModal, |
| | | WeekMaintenanceApprovalModal, |
| | | InspectionOrderHandle, |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | description: '设备特殊字符管理页面', |
| | | description: '工作流-已办', |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | |
| | | list: '/assign/flow/finishedList' |
| | | }, |
| | | dictOptions: {}, |
| | | selectShenpiData: {}, |
| | | selectDispatchFileXqData:{}, |
| | | selectWeekMaintenanceData: {}, |
| | | selectInspectionOrderXqData: {}, |
| | | selectRepairOrderData: {} |
| | |
| | | let approcesstype = this.splitAprocessType(item.category) |
| | | console.log('approcesstype--->', approcesstype) |
| | | switch (approcesstype) { |
| | | case 'drApproval': |
| | | this.handDrDetial(item) |
| | | break |
| | | case 'ggApproval': |
| | | this.handDispatchFileDetial(item) |
| | | break |
| | | case 'sbdjApproval': |
| | | this.handInspectionOrder(item) |
| | | break |
| | |
| | | let result = parts[0] |
| | | return result |
| | | }, |
| | | |
| | | handDrDetial(item) { |
| | | this.selectShenpiData = item |
| | | this.selectShenpiData.assignee_dictText=item.todoUsers_dictText |
| | | this.selectShenpiData.procInstId=item.procInsId |
| | | this.selectShenpiData.title=item.description |
| | | this.$refs.modalFormApproval.clearTableSource() |
| | | this.$refs.modalFormApproval.getAllApproveData(item) |
| | | }, |
| | | handDispatchFileDetial(item){ |
| | | console.log('item----->', item) |
| | | this.selectDispatchFileXqData = item |
| | | this.selectDispatchFileXqData.assignee_dictText=item.todoUsers_dictText |
| | | this.selectDispatchFileXqData.procInstId=item.procInsId |
| | | this.selectDispatchFileXqData.processInstanceId=item.procInsId |
| | | this.selectDispatchFileXqData.title=item.description |
| | | this.$refs.modalFormDispatchFileXq.clearTableSource() |
| | | this.$refs.modalFormDispatchFileXq.getAllApproveData(item) |
| | | }, |
| | | handleWeekMaintenance(record) { |
| | | this.selectWeekMaintenanceData = Object.assign({}, record) |
| | | this.$refs.weekMaintenanceApprovalModal.handleDetail(record) |
| | |
| | | :loading="loading" |
| | | class="j-table-force-nowrap" |
| | | @change="handleTableChange"> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <a @click="handelDetail(record,text)">详情</a> |
| | | </span> |
| | | </a-table> |
| | | </div> |
| | | |
| | | <AssignFileStreamXq ref="modalFormApproval" :selectShenpiData="selectShenpiData"></AssignFileStreamXq> |
| | | |
| | | <DispatchFileXq ref="modalFormDispatchFileXq" :selectShenpiData="selectDispatchFileXqData"></DispatchFileXq> |
| | | |
| | | <inspection-order-handle ref="modalFormInspectionOrderXq" :selectShenpiData="selectInspectionOrderXqData"/> |
| | | </a-card> |
| | |
| | | |
| | | <script> |
| | | |
| | | import '@/assets/less/TableExpand.less' |
| | | import { mixinDevice } from '@/utils/mixin' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import JDictSelectTag from '@/components/dict/JDictSelectTag.vue' |
| | | import InspectionOrderHandle from './InspectionOrder/InspectionOrderHandle' |
| | | import '@/assets/less/TableExpand.less' |
| | | import { mixinDevice } from '@/utils/mixin' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import JDictSelectTag from '@/components/dict/JDictSelectTag.vue' |
| | | import AssignFileStreamXq from '@views/flowable/workflow/assignFileStream/AssignFileStreamXq.vue' |
| | | import DispatchFileXq from '@views/flowable/workflow/dispatchFile/DispatchFileXq.vue' |
| | | import InspectionOrderXq from '@views/flowable/workflow/InspectionOrder/InspectionOrderXq.vue' |
| | | |
| | | export default { |
| | | name: 'FlowLedger', |
| | | mixins: [JeecgListMixin, mixinDevice], |
| | | components: { |
| | | DispatchFileXq, |
| | | AssignFileStreamXq: AssignFileStreamXq, |
| | | InspectionOrderHandle, |
| | | JDictSelectTag |
| | | }, |
| | |
| | | { |
| | | title: '流程业务简要描述', |
| | | align: 'center', |
| | | dataIndex: 'title' |
| | | dataIndex: 'description', |
| | | }, |
| | | { |
| | | title: '申请人', |
| | |
| | | let approcesstype = this.splitAprocessType(item.category) |
| | | console.log('approcesstype--->', approcesstype) |
| | | switch (approcesstype) { |
| | | case 'drApproval': |
| | | item.description=item.title |
| | | this.handDrDetial(item) |
| | | break |
| | | case 'ggApproval': |
| | | item.description=item.title |
| | | this.handDispatchFileDetial(item) |
| | | break |
| | | case 'sbdjApproval': |
| | | item.description = item.title |
| | | this.handInspectionOrderDetail(item) |
| | |
| | | let result = parts[0] |
| | | return result |
| | | }, |
| | | |
| | | handDrDetial(item) { |
| | | this.selectShenpiData = item |
| | | this.selectShenpiData.assignee_dictText=item.todoUsers_dictText |
| | | this.selectShenpiData.createTime=item.startTime |
| | | this.selectShenpiData.procInstId=item.processInstanceId |
| | | this.$refs.modalFormApproval.clearTableSource() |
| | | this.$refs.modalFormApproval.getAllApproveData(item) |
| | | }, |
| | | handDispatchFileDetial(item){ |
| | | this.selectDispatchFileXqData = item |
| | | this.selectDispatchFileXqData.assignee_dictText=item.todoUsers_dictText |
| | | this.selectDispatchFileXqData.createTime=item.startTime |
| | | this.selectDispatchFileXqData.procInstId=item.processInstanceId |
| | | this.$refs.modalFormDispatchFileXq.clearTableSource() |
| | | this.$refs.modalFormDispatchFileXq.getAllApproveData(item) |
| | | }, |
| | | handInspectionOrderDetail(item) { |
| | | this.selectInspectionOrderXqData = item |
| | | this.selectInspectionOrderXqData.assignee_dictText = item.todoUsers_dictText |
| | |
| | | |
| | | </a-table> |
| | | </div> |
| | | |
| | | <AssignFileStreamHandle ref="modalFormApproval" :selectShenpiData="selectShenpiData" @searchReset="searchReset"></AssignFileStreamHandle> |
| | | <DispatchFileHandle ref="modalFormDispatchFileXq" :selectShenpiData="selectDispatchFileXqData" @searchReset="searchReset"></DispatchFileHandle> |
| | | <DispatchFileBachHandleStyle ref="modalFormDispatchFileBatch" @searchReset="searchReset" @ok="modalFormOk"></DispatchFileBachHandleStyle> |
| | | <!--单个流程处理--> |
| | | <InspectionOrderHandle ref="modalFormInspectionOrder" :selectShenpiData="selectInspectionOrderData" |
| | | @searchReset="searchReset"></InspectionOrderHandle> |
| | |
| | | import { getAction } from '@api/manage' |
| | | import InspectionOrderBatchHandle from './InspectionOrder/InspectionOrderBatchHandle' |
| | | import WeekMaintenanceBatchApprovalModal from './weekMaintenance/WeekMaintenanceBatchApprovalModal' |
| | | import AssignFileStreamHandle from '@views/flowable/workflow/assignFileStream/AssignFileStreamHandle.vue' |
| | | import DispatchFileHandle from '@views/flowable/workflow/dispatchFile/DispatchFileHandle.vue' |
| | | import DispatchFileBachHandleStyle from '@views/flowable/workflow/dispatchFile/DispatchFileBachHandleStyle#Drawer.vue' |
| | | |
| | | export default { |
| | | name: 'NcDeviceCharactersList', |
| | | mixins: [JeecgListMixin, mixinDevice], |
| | | components: { |
| | | AssignFileStreamHandle, |
| | | DispatchFileHandle, |
| | | DispatchFileBachHandleStyle, |
| | | WeekMaintenanceBatchApprovalModal, |
| | | InspectionOrderBatchHandle, |
| | | JDictSelectTag, |
| | |
| | | { |
| | | title: '流程业务简要描述', |
| | | align: 'center', |
| | | dataIndex: 'title', |
| | | dataIndex: 'description', |
| | | width: 350, |
| | | ellipsis: true |
| | | |
| | |
| | | isSameNode: '/assign/flow/isSameNode' |
| | | }, |
| | | dictOptions: {}, |
| | | selectShenpiData: {}, |
| | | selectDispatchFileXqData:{}, |
| | | selectInspectionOrderData: {}, |
| | | selectWeekMaintenanceData: {}, |
| | | selectBachData: {}, |
| | |
| | | let processType = this.splitAprocessType(item.category) |
| | | console.log('processType--->', processType) |
| | | switch (processType) { |
| | | case 'drApproval': |
| | | this.handDrDetial(item) |
| | | break |
| | | case 'ggApproval': |
| | | this.handDispatchFileDetial(item) |
| | | break |
| | | case 'sbdjApproval': |
| | | this.handInspectionOrder(item) |
| | | break |
| | |
| | | return result |
| | | }, |
| | | |
| | | handDrDetial(item) { |
| | | this.selectShenpiData = item |
| | | this.$refs.modalFormApproval.clearTableSource() |
| | | this.$refs.modalFormApproval.getAllApproveData(item) |
| | | }, |
| | | |
| | | handDispatchFileDetial(item){ |
| | | console.log('item----->', item) |
| | | this.selectDispatchFileXqData = item |
| | | this.$refs.modalFormDispatchFileXq.clearTableSource() |
| | | this.$refs.modalFormDispatchFileXq.getAllApproveData(item) |
| | | }, |
| | | |
| | | handInspectionOrder(record) { |
| | | console.log('record----->', record) |
| | | this.selectInspectionOrderData = Object.assign({}, record) |