| | |
| | | type="card" |
| | | class="demo-tabs" |
| | | > |
| | | <el-tab-pane label="待办" name="todo"> |
| | | <el-tab-pane label="进行中" name="todo"> |
| | | <processQuery1 v-if="activeName==='todo'"></processQuery1> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="已办" name="done"> |
| | | <el-tab-pane label="已结束" name="done"> |
| | | <processQuery2 v-if="activeName==='done'"> </processQuery2> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | |
| | | dialogClickModal: false, |
| | | column: [ |
| | | { |
| | | label: '流程类型', |
| | | prop: 'processDefinitionKey', |
| | | label: '流程名称', |
| | | prop: 'myProcessName', |
| | | search: true, |
| | | searchType: 'select', |
| | | hide: true, |
| | | dicUrl: `/blade-mdm/system/dict/dictionary?code=flow`, |
| | | dicUrl: `/blade-system/dict-biz/dictionary?code=process_name`, |
| | | props: { |
| | | label: 'dictValue', |
| | | value: 'remark', |
| | | value: 'dictValue', |
| | | }, |
| | | }, |
| | | { |
| | |
| | | labelWidth: 100, |
| | | span: 8, |
| | | column: [ |
| | | { |
| | | label: '流程类型', |
| | | prop: 'processDefinitionKey', |
| | | { |
| | | label: '流程名称', |
| | | prop: '', |
| | | render: ({ row }) => { |
| | | return h('p',{'class': 'margin0'}, row?.processDefinitionKey) |
| | | }, |
| | | return h('p',{'class': 'margin0'}, row?.variables.myProcessName) |
| | | } |
| | | }, |
| | | { |
| | | label: '创建时间', |
| | |
| | | return h('p',{'class': 'margin0'}, row?.variables?.title) |
| | | } |
| | | }, |
| | | { |
| | | label: '流程名称', |
| | | prop: '', |
| | | render: ({ row }) => { |
| | | return h('p',{'class': 'margin0'}, row?.variables.myProcessName) |
| | | } |
| | | }, |
| | | |
| | | { |
| | | label: '工艺版次', |
| | | prop: 'variables.craftEdition', |
| | |
| | | createTimeBegin: params.createTimeBegin || undefined, |
| | | createTimeEnd: params.createTimeEnd || undefined, |
| | | keyword: params.keyword || undefined, |
| | | processDefinitionKey: params.processDefinitionKey || undefined |
| | | myProcessName: params.myProcessName || undefined |
| | | } |
| | | this.query = data |
| | | this.onLoad(this.page, data); |
| | |
| | | createTimeBegin: params.createTimeBegin, |
| | | createTimeEnd: params.createTimeEnd, |
| | | keyword: params.keyword || '', |
| | | processDefinitionKey: params.processDefinitionKey || '' |
| | | myProcessName: params.myProcessName || '' |
| | | } |
| | | this.onLoad(this.page, data); |
| | | done(); |
| | |
| | | createTimeBegin: params.createTimeBegin, |
| | | createTimeEnd: params.createTimeEnd, |
| | | keyword: params.keyword || '', |
| | | processDefinitionKey: params.processDefinitionKey || '' |
| | | myProcessName: params.myProcessName || '' |
| | | }; |
| | | this.loading = true; |
| | | getList(page.currentPage, page.pageSize, Object.assign(data, params)).then(res => { |
| | |
| | | dialogClickModal: false, |
| | | column: [ |
| | | { |
| | | label: '流程类型', |
| | | prop: 'processDefinitionKey', |
| | | label: '流程名称', |
| | | prop: 'myProcessName', |
| | | search: true, |
| | | searchType: 'select', |
| | | hide: true, |
| | | dicUrl: `/blade-mdm/system/dict/dictionary?code=flow`, |
| | | dicUrl: `/blade-system/dict-biz/dictionary?code=process_name`, |
| | | props: { |
| | | label: 'dictValue', |
| | | value: 'remark', |
| | |
| | | span: 8, |
| | | column: [ |
| | | { |
| | | label: '流程类型', |
| | | prop: 'processDefinitionKey', |
| | | label: '流程名称', |
| | | prop: '', |
| | | render: ({ row }) => { |
| | | return h('p',{'class': 'margin0'}, row?.processDefinitionKey) |
| | | }, |
| | | return h('p',{'class': 'margin0'}, row?.variables.myProcessName) |
| | | } |
| | | }, |
| | | { |
| | | label: '创建时间', |
| | |
| | | return h('p',{'class': 'margin0'}, row?.variables?.title) |
| | | } |
| | | }, |
| | | { |
| | | label: '流程名称', |
| | | prop: '', |
| | | render: ({ row }) => { |
| | | return h('p',{'class': 'margin0'}, row?.variables.myProcessName) |
| | | } |
| | | }, |
| | | |
| | | { |
| | | label: '工艺版次', |
| | | prop: 'variables.craftEdition', |
| | |
| | | createTimeBegin: params.createTimeBegin || undefined, |
| | | createTimeEnd: params.createTimeEnd || undefined, |
| | | keyword: params.keyword || undefined, |
| | | processDefinitionKey: params.processDefinitionKey || undefined |
| | | myProcessName: params.myProcessName || undefined |
| | | } |
| | | this.query = data |
| | | this.onLoad(this.page, data); |
| | |
| | | createTimeBegin: params.createTimeBegin, |
| | | createTimeEnd: params.createTimeEnd, |
| | | keyword: params.keyword || '', |
| | | processDefinitionKey: params.processDefinitionKey || '' |
| | | myProcessName: params.myProcessName || '' |
| | | } |
| | | this.onLoad(this.page, data); |
| | | done(); |
| | |
| | | createTimeBegin: params.createTimeBegin, |
| | | createTimeEnd: params.createTimeEnd, |
| | | keyword: params.keyword || '', |
| | | processDefinitionKey: params.processDefinitionKey || '' |
| | | myProcessName: params.myProcessName || '' |
| | | }; |
| | | this.loading = true; |
| | | getList2(page.currentPage, page.pageSize, Object.assign(data, params)).then(res => { |
| | |
| | | label: '工序号', |
| | | prop: 'processNo', |
| | | }, |
| | | |
| | | { |
| | | label: '图号版次', |
| | | prop: 'drawingNoEdition', |
| | | label: '工序版次', |
| | | prop: 'processEdition', |
| | | }, |
| | | { |
| | | label: '工序名称', |
| | | prop: 'processName', |
| | | }, |
| | | { |
| | | label: '图号版次', |
| | | prop: 'drawingNoEdition', |
| | | }, |
| | | |
| | | { |
| | | label: '程序名称', |
| | | prop: 'name', |
| | |
| | | prop: 'processNo', |
| | | }, |
| | | { |
| | | label: '图号版次', |
| | | prop: 'drawingNoEdition', |
| | | label: '工序版次', |
| | | prop: 'processEdition', |
| | | }, |
| | | { |
| | | label: '工序名称', |
| | | prop: 'processName', |
| | | }, |
| | | { |
| | | label: '图号版次', |
| | | prop: 'drawingNoEdition', |
| | | }, |
| | | |
| | | { |
| | | label: '程序名称', |
| | | prop: 'name', |
| | | search: true, |