替换带有授权的部门接口为公用接口
This commit is contained in:
parent
4a9edba44a
commit
ba976f38d1
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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)))
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user