|
@ -259,7 +259,7 @@ const deleteNode=(row)=>{ |
|
|
|
|
|
|
|
|
const openDetail = (row: any) => { |
|
|
const openDetail = (row: any) => { |
|
|
rowData.value = row |
|
|
rowData.value = row |
|
|
console.log('rowData',rowData.value) |
|
|
//console.log('rowData',rowData.value) |
|
|
titleNameRef.value = rowData.value.processName |
|
|
titleNameRef.value = rowData.value.processName |
|
|
titleValueRef.value =rowData.value.processrouteCode |
|
|
titleValueRef.value =rowData.value.processrouteCode |
|
|
processRouteId.value = rowData.value.id |
|
|
processRouteId.value = rowData.value.id |
|
@ -498,33 +498,26 @@ const deleteAnnexSuccess = async () => { |
|
|
const handleCurrentChange=(value: number)=>{ |
|
|
const handleCurrentChange=(value: number)=>{ |
|
|
let index=(value-1)*page.value.size |
|
|
let index=(value-1)*page.value.size |
|
|
page.value.current=value |
|
|
page.value.current=value |
|
|
//console.log('index',index) |
|
|
|
|
|
showProcessNodeData.value=processData.value.slice(index,index+page.value.size) |
|
|
showProcessNodeData.value=processData.value.slice(index,index+page.value.size) |
|
|
//console.log('processData.value-472',processData.value) |
|
|
|
|
|
//console.log('showProcessNodeData.value-472',showProcessNodeData.value) |
|
|
|
|
|
} |
|
|
} |
|
|
const handlePrevClick=(value: number)=>{ |
|
|
const handlePrevClick=(value: number)=>{ |
|
|
page.value.current=value-1 |
|
|
page.value.current=value-1 |
|
|
if(page.value.current==0) { |
|
|
if(page.value.current==0) { |
|
|
page.value.current=1 |
|
|
page.value.current=1 |
|
|
} |
|
|
} |
|
|
// let index=(value-1)*page.value.size |
|
|
|
|
|
// showProcessNodeData.value=processData.value.slice(index,page.value.size) |
|
|
|
|
|
// console.log('showProcessNodeData.value-472',showProcessNodeData.value) |
|
|
|
|
|
} |
|
|
} |
|
|
const handleNextClick=(value: number)=>{ |
|
|
const handleNextClick=(value: number)=>{ |
|
|
page.value.current=value+1 |
|
|
page.value.current=value+1 |
|
|
if(page.value.current>page.value.total/page.value.size) { |
|
|
if(page.value.current>page.value.total/page.value.size) { |
|
|
page.value.current=page.value.total/page.value.size -1 |
|
|
page.value.current=page.value.total/page.value.size -1 |
|
|
} |
|
|
} |
|
|
// let index=(value+1)*page.value.size |
|
|
|
|
|
// showProcessNodeData.value=processData.value.slice(index,page.value.size) |
|
|
|
|
|
// console.log('showProcessNodeData.value-472',showProcessNodeData.value) |
|
|
|
|
|
} |
|
|
} |
|
|
const handleCurrentChangeM=(value: number)=>{ |
|
|
const handleCurrentChangeM=(value: number)=>{ |
|
|
let index=(value-1)*pageM.value.size |
|
|
let index=(value-1)*pageM.value.size |
|
|
pageM.value.current=value |
|
|
pageM.value.current=value |
|
|
//console.log('index',index) |
|
|
|
|
|
showMaterialsData.value=materialData.value.slice(index,index+pageM.value.size) |
|
|
showMaterialsData.value=materialData.value.slice(index,index+pageM.value.size) |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
@ -533,18 +526,13 @@ const handlePrevClickM=(value: number)=>{ |
|
|
if(pageM.value.current==0) { |
|
|
if(pageM.value.current==0) { |
|
|
pageM.value.current=1 |
|
|
pageM.value.current=1 |
|
|
} |
|
|
} |
|
|
// let index=(value-1)*page.value.size |
|
|
|
|
|
// showProcessNodeData.value=processData.value.slice(index,page.value.size) |
|
|
|
|
|
// console.log('showProcessNodeData.value-472',showProcessNodeData.value) |
|
|
|
|
|
} |
|
|
} |
|
|
const handleNextClickM=(value: number)=>{ |
|
|
const handleNextClickM=(value: number)=>{ |
|
|
pageM.value.current=value+1 |
|
|
pageM.value.current=value+1 |
|
|
if(pageM.value.current>pageM.value.total/page.value.size) { |
|
|
if(pageM.value.current>pageM.value.total/page.value.size) { |
|
|
pageM.value.current=page.value.total/pageM.value.size -1 |
|
|
pageM.value.current=page.value.total/pageM.value.size -1 |
|
|
} |
|
|
} |
|
|
// let index=(value+1)*page.value.size |
|
|
|
|
|
// showProcessNodeData.value=processData.value.slice(index,page.value.size) |
|
|
|
|
|
// console.log('showProcessNodeData.value-472',showProcessNodeData.value) |
|
|
|
|
|
} |
|
|
} |
|
|
// 验证图形 |
|
|
// 验证图形 |
|
|
onUnmounted?.(() => {}) |
|
|
onUnmounted?.(() => {}) |
|
|