'1'
This commit is contained in:
parent
956c03b31f
commit
e628a8209f
@ -449,6 +449,9 @@ const submitUpload = () => {
|
||||
console.log(response)
|
||||
if(response.code==200){
|
||||
ElMessage.success(response.msg)
|
||||
}else {
|
||||
ElMessage.error(response.msg)
|
||||
|
||||
}
|
||||
// 清空文件输入框
|
||||
upload.value.clearFiles();
|
||||
|
||||
@ -400,28 +400,42 @@ text-decoration: underline;
|
||||
<el-button
|
||||
type="primary"
|
||||
link
|
||||
v-show="(scope.row.drawingPlanUpdateTime!==null)&&(scope.row.firstUploadDrawing==false)"
|
||||
v-show="(scope.row.drawingPlanUpdateTime!==null)
|
||||
&&(scope.row.firstUploadDrawing==false)
|
||||
&&scope.row.drawingApprovalStatus!='待审批'
|
||||
"
|
||||
@click="editFun(scope.row,0,1)"
|
||||
>重新上传图纸
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
link
|
||||
v-show="(scope.row.budgetDrawingPlanUpdateTime!==null)&&(scope.row.budgetDrawingPlanUpdateTime==false)"
|
||||
v-show="(scope.row.budgetDrawingPlanUpdateTime!==null)
|
||||
&&(scope.row.budgetDrawingPlanUpdateTime==false)
|
||||
&&scope.row.budgetDrawingPlanUpdateTime!='待审批'
|
||||
"
|
||||
@click="editFun(scope.row,1,1)"
|
||||
>重新上传施工图预算
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
link
|
||||
v-show="(scope.row.drawingPlanUpdateTime!='')&&(scope.row.drawingPlanUpdateTime!==null)&&(scope.row.firstUploadDrawing==true)"
|
||||
v-show="(scope.row.drawingPlanUpdateTime!='')
|
||||
&&(scope.row.drawingPlanUpdateTime!==null)
|
||||
&&(scope.row.firstUploadDrawing==true)
|
||||
&&scope.row.drawingApprovalStatus!='待审批'
|
||||
"
|
||||
@click="editFun(scope.row,0,0)"
|
||||
>上传图纸
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
link
|
||||
v-show="(scope.row.budgetDrawingPlanUpdateTime!='')&&(scope.row.budgetDrawingPlanUpdateTime!==null)&&(scope.row.firstUploadBudgetDrawing==true)"
|
||||
v-show="(scope.row.budgetDrawingPlanUpdateTime!='')
|
||||
&&(scope.row.budgetDrawingPlanUpdateTime!==null)
|
||||
&&(scope.row.firstUploadBudgetDrawing==true)
|
||||
&&scope.row.budgetDrawingPlanUpdateTime!='待审批'
|
||||
"
|
||||
@click="editFun(scope.row,1,0)"
|
||||
>上传施工图预算
|
||||
</el-button>
|
||||
@ -778,7 +792,7 @@ const downmloadFile = (row, num) => {
|
||||
upreason: item.drawingApprovalUpdateReason,
|
||||
approvereason: item.drawingApprovalReason,
|
||||
|
||||
})).reverse()
|
||||
}))
|
||||
})
|
||||
} else {
|
||||
historyList(
|
||||
@ -795,7 +809,7 @@ const downmloadFile = (row, num) => {
|
||||
fileId: item.budgetDrawingFileId,
|
||||
upreason: item.budgetDrawingApprovalUpdateReason,
|
||||
approvereason: item.budgetDrawingApprovalReason,
|
||||
})).reverse()
|
||||
}))
|
||||
})
|
||||
}
|
||||
//打开弹窗
|
||||
|
||||
@ -337,7 +337,10 @@ text-decoration: underline;
|
||||
type="primary"
|
||||
link
|
||||
v-hasPermi="['engineering:ea.approval']"
|
||||
v-show="scope.row.drawingUpdateTime!=null&&scope.row.userEaDrawing==true"
|
||||
v-show="scope.row.drawingUpdateTime!=null
|
||||
&&scope.row.userEaDrawing==true
|
||||
&&scope.row.drawingApprovalStatus!='已审批'
|
||||
"
|
||||
@click="editFun(scope.row,0,'审批图纸')"
|
||||
>审批图纸
|
||||
</el-button>
|
||||
@ -345,7 +348,10 @@ text-decoration: underline;
|
||||
type="primary"
|
||||
link
|
||||
v-hasPermi="['engineering:ea:approval']"
|
||||
v-show="scope.row.budgetDrawingUpdateTime!=null&&scope.row.userEaBudgetDrawing==true"
|
||||
v-show="scope.row.budgetDrawingUpdateTime!=null
|
||||
&&scope.row.userEaBudgetDrawing==true
|
||||
&&scope.row.budgetDrawingApprovalStatus!='已审批'
|
||||
"
|
||||
@click="editFun(scope.row,1,'审批施工图预算')"
|
||||
>审批施工图预算
|
||||
</el-button>
|
||||
@ -686,7 +692,7 @@ const downmloadFile = (row, num) => {
|
||||
if (num == 0) {
|
||||
historyList(
|
||||
{
|
||||
"historyList": row.historyList,
|
||||
"drawingId": row.drawingId,
|
||||
}
|
||||
).then(res => {
|
||||
console.log(res)
|
||||
@ -712,7 +718,7 @@ const downmloadFile = (row, num) => {
|
||||
fileId: item.drawingFileId,
|
||||
upreason: item.drawingApprovalUpdateReason,
|
||||
approvereason: item.drawingApprovalReason,
|
||||
})).reverse()
|
||||
}))
|
||||
}
|
||||
|
||||
})
|
||||
@ -746,7 +752,7 @@ const downmloadFile = (row, num) => {
|
||||
fileId: item.budgetDrawingFileId,
|
||||
upreason: item.budgetDrawingApprovalUpdateReason,
|
||||
approvereason: item.budgetDrawingApprovalReason,
|
||||
})).reverse()
|
||||
}))
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
@ -64,9 +64,9 @@ export default defineConfig(({ mode, command }) => {
|
||||
// target: "http://192.168.3.210:20241",
|
||||
//测试
|
||||
// target: "http://192.168.133.127:20241",
|
||||
target: "http://192.168.133.127:20241",
|
||||
// target: "http://192.168.133.127:20241",
|
||||
// 相斌
|
||||
// target: "http://192.168.3.33:20241",
|
||||
target: "http://192.168.3.33:20241",
|
||||
changeOrigin: true,
|
||||
// target: 'http://192.168.3.114:20241',//广瑞
|
||||
rewrite: (p) => p.replace(/^\/sgtjzhzxsp-api/, '')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user