This commit is contained in:
2026-06-16 19:26:48 +08:00
parent 77e3a85134
commit d7461853cf
20 changed files with 1229 additions and 223 deletions
+5 -5
View File
@@ -74,7 +74,7 @@
import { useUserStore } from '@/store'
import { storeToRefs } from 'pinia'
import { reqProjectWorkArea } from '@/api/base.js'
import nbdSelect from '@/components/nbd-select'
import { reqTestPackageNoList } from '@/api/hj.js'
const userStore = useUserStore()
const { currentProject } = storeToRefs(userStore)
@@ -132,15 +132,15 @@
value: item
}
uni.navigateTo({
url: `/pages/weldTwo/pressure/detail/main?params=${JSON.stringify(params)}`
url: `/pipe/pressure/pressure_before/detail?params=${JSON.stringify(params)}`
})
}
// 获取单位工程列表
const getUnitList = async () => {
try {
const projectId = uni.getStorageSync('projectId') || ''
const res = await uni.$weld.getAllUnit(projectId)
const projectId = currentProject.value.ProjectId || ''
const res = await reqProjectWorkArea(projectId)
if (res.code === 1) {
unitList.value = res.data
}
@@ -155,7 +155,7 @@
loading.value = true
try {
const res = await uni.$weld.getTestPackageNo(addInfo.unitWorkId, addInfo.isFinish, addInfo.testPackageNo)
const res = await reqTestPackageNoList(addInfo.unitWorkId, addInfo.isFinish, addInfo.testPackageNo)
if (res.code === 1) {
itemList.value = res.data
}