替换带有授权的部门接口为公用接口

This commit is contained in:
wangchengming 2025-07-24 20:30:11 +08:00
parent 4a9edba44a
commit ba976f38d1
23 changed files with 46 additions and 46 deletions

View File

@ -109,7 +109,7 @@ import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import Breadcrumb from '@/components/Breadcrumb'
import importIcon from '@/assets/images/ImportIcon.png'
import { deptTreeSelect, listUser } from "@/api/system/user"
import { customerDeptTreeSelect, listUser } from "@/api/system/user"
import { getUserLabelPageList } from "@/api/labelManage/labelManage"
const { proxy } = getCurrentInstance()
@ -158,7 +158,7 @@ const getAllUser = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -102,7 +102,7 @@
import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import Breadcrumb from '@/components/Breadcrumb'
import { deptTreeSelect, listUser } from "@/api/system/user"
import { customerDeptTreeSelect, listUser } from "@/api/system/user"
import { getUserLabelPageList } from "@/api/labelManage/labelManage"
const { proxy } = getCurrentInstance()
@ -151,7 +151,7 @@ const getAllUser = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -88,7 +88,7 @@ import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import Breadcrumb from '@/components/Breadcrumb'
import addIcon from '@/assets/images/addIcon.png'
import { deptTreeSelect } from "@/api/system/user"
import { customerDeptTreeSelect } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { busPpeToolsPageList, deleteBusPpeTools } from "@/api/ppeTool"
import moment from 'moment'
@ -131,7 +131,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -94,7 +94,7 @@ import { onMounted, ref } from 'vue'
import { reactive } from 'vue'
import { useRouter } from 'vue-router'
import { getBusDependencyPage } from "@/api/system/dependency"
import { deptTreeSelect } from "@/api/system/user"
import { customerDeptTreeSelect } from "@/api/system/user"
import { addBusPpeTools, updateBusPpeTools, getBusPpeTools } from "@/api/ppeTool"
import { uploadFile } from "@/api/qualification/myQualifications"
import { UploadFilled } from '@element-plus/icons-vue'
@ -164,7 +164,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -91,7 +91,7 @@ import { getBusUserrLabelStatistics } from "@/api/labelManage/labelManage"
import { getQualificationStatistics } from "@/api/qualification/myQualifications"
import { vehicleModelTrainStatistics } from "@/api/qualification/vehicleTrain"
import { getBusDependencyPage } from "@/api/system/dependency"
import { deptTreeSelect } from "@/api/system/user"
import { customerDeptTreeSelect } from "@/api/system/user"
import Breadcrumb from '@/components/Breadcrumb'
import * as echarts from 'echarts'
const router = useRouter()
@ -232,7 +232,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -101,7 +101,7 @@ import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import Breadcrumb from '@/components/Breadcrumb'
import exprotIcon from '@/assets/images/exprotIcon.png'
import { deptTreeSelect, listUser } from "@/api/system/user"
import { customerDeptTreeSelect, listUser } from "@/api/system/user"
import { getBusUserQualification, exportBusUserQualification } from "@/api/qualification/myQualifications"
const { proxy } = getCurrentInstance()
@ -147,7 +147,7 @@ const getAllUser = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -82,7 +82,7 @@ import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import applyIcon from '@/assets/images/applyIcon.png'
import { getUserLabelPageList, deleteBusUserLabel } from "@/api/labelManage/labelManage"
import { deptTreeSelect, listUser } from "@/api/system/user"
import { customerDeptTreeSelect, listUser } from "@/api/system/user"
const router = useRouter()
const { proxy } = getCurrentInstance()
@ -124,7 +124,7 @@ const getAllUser = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -145,7 +145,7 @@
</template>
<script setup>
import { onMounted, reactive, ref } from 'vue'
import { deptTreeSelect, listUser } from "@/api/system/user"
import { customerDeptTreeSelect, listUser } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { getSysSectionPage } from "@/api/system/section"
import { submitBusUserLabel } from "@/api/labelManage/labelManage"
@ -235,7 +235,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -145,7 +145,7 @@
</template>
<script setup>
import { onMounted, reactive, ref } from 'vue'
import { deptTreeSelect, listUser } from "@/api/system/user"
import { customerDeptTreeSelect, listUser } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { getSysSectionPage } from "@/api/system/section"
import { getBusUserLabelDetail, reApplyBusUserLabel } from "@/api/labelManage/labelManage"
@ -252,7 +252,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -86,7 +86,7 @@ import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import applyIcon from '@/assets/images/applyIcon.png'
import { getBusUserQualification, deleteBusUserQualification } from "@/api/qualification/myQualifications"
import { deptTreeSelect, listUser } from "@/api/system/user"
import { customerDeptTreeSelect, listUser } from "@/api/system/user"
const router = useRouter()
const { proxy } = getCurrentInstance()
@ -127,7 +127,7 @@ const getAllUser = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -285,7 +285,7 @@
</template>
<script setup>
import { onMounted, reactive, ref } from 'vue'
import { deptTreeSelect, listUser } from "@/api/system/user"
import { customerDeptTreeSelect, listUser } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { getSysSectionPage } from "@/api/system/section"
import { submitBusUserQualification } from "@/api/qualification/myQualifications"
@ -508,7 +508,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -284,7 +284,7 @@
</template>
<script setup>
import { onMounted, reactive, ref } from 'vue'
import { deptTreeSelect, listUser } from "@/api/system/user"
import { customerDeptTreeSelect, listUser } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { getSysSectionPage } from "@/api/system/section"
import { reApplyBusUserQualification, getBusUserQualificationDetail } from "@/api/qualification/myQualifications"
@ -546,7 +546,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -120,7 +120,7 @@
</template>
<script setup>
import { onMounted, reactive, defineEmits, ref } from 'vue'
import { deptTreeSelect, getUserInfo } from "@/api/system/user"
import { customerDeptTreeSelect, getUserInfo } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { getSysSectionPage } from "@/api/system/section"
import { submitBusUserLabel } from "@/api/labelManage/labelManage"
@ -197,7 +197,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -120,7 +120,7 @@
</template>
<script setup>
import { onMounted, reactive, defineEmits, defineExpose, ref } from 'vue'
import { deptTreeSelect } from "@/api/system/user"
import { customerDeptTreeSelect } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { getSysSectionPage } from "@/api/system/section"
import { getBusUserLabelDetail, reApplyBusUserLabel } from "@/api/labelManage/labelManage"
@ -191,7 +191,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -254,7 +254,7 @@
</template>
<script setup>
import { onMounted, reactive, defineEmits, ref } from 'vue'
import { deptTreeSelect, getUserInfo } from "@/api/system/user"
import { customerDeptTreeSelect, getUserInfo } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { getSysSectionPage } from "@/api/system/section"
import { submitBusUserQualification } from "@/api/qualification/myQualifications"
@ -452,7 +452,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -254,7 +254,7 @@
</template>
<script setup>
import { onMounted, reactive, defineEmits, defineExpose, ref, nextTick } from 'vue'
import { deptTreeSelect } from "@/api/system/user"
import { customerDeptTreeSelect } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { getSysSectionPage } from "@/api/system/section"
import { reApplyBusUserQualification, getBusUserQualificationDetail } from "@/api/qualification/myQualifications"
@ -470,7 +470,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -97,7 +97,7 @@ import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import Breadcrumb from '@/components/Breadcrumb'
import exprotIcon from '@/assets/images/exprotIcon.png'
import { deptTreeSelect, listUser } from "@/api/system/user"
import { customerDeptTreeSelect, listUser } from "@/api/system/user"
import { getBusUserQualification, exportBusUserQualification } from "@/api/qualification/myQualifications"
const { proxy } = getCurrentInstance()
@ -143,7 +143,7 @@ const getAllUser = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -89,7 +89,7 @@ import { onMounted, ref } from 'vue'
import { reactive } from 'vue'
import { useRouter } from 'vue-router'
import { getBusDependencyPage } from "@/api/system/dependency"
import { deptTreeSelect, listUser } from "@/api/system/user"
import { customerDeptTreeSelect, listUser } from "@/api/system/user"
import { getSysSectionPage } from "@/api/system/section"
import { addVehicleModelTraining, getVehicleModelTraining, updateVehicleModelTraining } from "@/api/qualification/vehicleTrain"
@ -156,7 +156,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -81,7 +81,7 @@
import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import Breadcrumb from '@/components/Breadcrumb'
import { deptTreeSelect } from "@/api/system/user"
import { customerDeptTreeSelect } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { busReviewProblemPage } from "@/api/safetyReview"
@ -121,7 +121,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -80,7 +80,7 @@
import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import Breadcrumb from '@/components/Breadcrumb'
import { deptTreeSelect } from "@/api/system/user"
import { customerDeptTreeSelect } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { escReviewProblemPageList } from "@/api/safetyReview"
@ -122,7 +122,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -85,7 +85,7 @@ import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import Breadcrumb from '@/components/Breadcrumb'
import addIcon from '@/assets/images/addIcon.png'
import { deptTreeSelect } from "@/api/system/user"
import { customerDeptTreeSelect } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { busSafetyReviewPagePageList, deleteBusSafetyReview } from "@/api/safetyReview"
import moment from 'moment'
@ -126,7 +126,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -174,7 +174,7 @@
import { onMounted, reactive } from 'vue'
import { useRouter } from 'vue-router'
import grayAddIcon from '@/assets/images/grayAddIcon.png'
import { deptTreeSelect } from "@/api/system/user"
import { customerDeptTreeSelect } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
import { addBusSafetyReview, updateBusSafetyReview, getBusSafetyReview } from "@/api/safetyReview"
import moment from 'moment'
@ -308,7 +308,7 @@ const getBusDependencyData = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}

View File

@ -92,7 +92,7 @@
import { ref } from 'vue'
import { useRouter } from 'vue-router'
import Breadcrumb from '@/components/Breadcrumb'
import { deptTreeSelect, listUser, checkRegisterUserList } from "@/api/system/user"
import { customerDeptTreeSelect, listUser, checkRegisterUserList } from "@/api/system/user"
import { getBusDependencyPage } from "@/api/system/dependency"
const { proxy } = getCurrentInstance()
const router = useRouter()
@ -148,7 +148,7 @@ const getAllUser = () => {
const enabledDeptOptions = ref(undefined)
//
const getDeptTree = () => {
deptTreeSelect().then(res => {
customerDeptTreeSelect().then(res => {
enabledDeptOptions.value = filterDisabledDept(JSON.parse(JSON.stringify(res.data)))
})
}