fix(api): 修复组织架构相关接口地址错误
修改 getOrgunits 和 getIsUserProp 接口的请求路径, 将 '/tOrgunits' 前缀更改为 '/user' 前缀, 以确保接口调用的正确性。
This commit is contained in:
parent
105aedc7dc
commit
4fc5089f7b
|
|
@ -682,19 +682,3 @@ export function checkIsBatchNB(params) {
|
|||
params
|
||||
})
|
||||
}
|
||||
export function getOrgunits(orgNumber, orgLevel) {
|
||||
return request({
|
||||
url: '/tOrgunits/getOrgunits',
|
||||
method: 'post',
|
||||
params: {
|
||||
orgNumber,
|
||||
orgLevel
|
||||
}
|
||||
})
|
||||
}
|
||||
export function getIsUserProp() {
|
||||
return request({
|
||||
url: '/tOrgunits/getIsUserProp',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -249,3 +249,49 @@ export function xrBaseCodeList(data) {
|
|||
})
|
||||
})
|
||||
}
|
||||
|
||||
export function xrAttachmentDelLawFile(params) {
|
||||
return request({
|
||||
useResponseData: true,
|
||||
url: '/xrAttachment/delLawFile',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function xrAttachmentListByBizSepNo(data) {
|
||||
return request({
|
||||
useResponseData: true,
|
||||
url: '/xrAttachment/listByBizSepNo',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function xrOpinionListByBizSeqNo(params) {
|
||||
return request({
|
||||
useResponseData: true,
|
||||
url: '/xrOpinion/listByBizSeqNo',
|
||||
method: 'post',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
export function getOrgunits(orgNumber, orgLevel) {
|
||||
return request({
|
||||
useResponseData: true,
|
||||
url: '/user/getOrgunits',
|
||||
method: 'post',
|
||||
params: {
|
||||
orgNumber,
|
||||
orgLevel
|
||||
}
|
||||
})
|
||||
}
|
||||
export function getIsUserProp() {
|
||||
return request({
|
||||
useResponseData: true,
|
||||
url: '/user/getIsUserProp',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -153,19 +153,21 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { getUsersWithPermission } from '@/api/user'
|
||||
import { createGlobalLoading, parseTime } from '@/utils'
|
||||
import {
|
||||
findCurrentNode,
|
||||
findNextSequenceFlowList,
|
||||
taskInfo
|
||||
} from '@/api'
|
||||
import {
|
||||
getDecisionContent, getForceNoticeContent,
|
||||
xrForceDeregisterSpeListByBizSeqNo,
|
||||
xrForceDeregisterSpeProcessControl,
|
||||
getOrgunits,
|
||||
xrAttachmentDelLawFile,
|
||||
xrAttachmentListByBizSepNo,
|
||||
xrOpinionListByBizSeqNo
|
||||
} from '@/api/abnormal'
|
||||
import { getUsersWithPermission } from '@/api/user'
|
||||
import { createGlobalLoading, parseTime } from '@/utils'
|
||||
import { findCurrentNode, findNextSequenceFlowList, taskInfo } from '@/api'
|
||||
import {
|
||||
getDecisionContent, getForceNoticeContent,
|
||||
xrForceDeregisterSpeListByBizSeqNo,
|
||||
xrForceDeregisterSpeProcessControl
|
||||
} from '@/api/force'
|
||||
export default {
|
||||
data() {
|
||||
|
|
|
|||
|
|
@ -41,15 +41,13 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getOrgunits
|
||||
} from '@/api/abnormal'
|
||||
import Doc from './doc.vue'
|
||||
import { isTaskCreater } from '@/api'
|
||||
import {
|
||||
xrForceDeregisterGetApprovalFormByBizSeqNo,
|
||||
xrForceDeregisterSpeList, xrForceDeregisterSpeProcessControl,
|
||||
xrForceDeregisterSpeSaveIvdAcceptNew
|
||||
xrForceDeregisterSpeSaveIvdAcceptNew,
|
||||
getOrgunits
|
||||
} from '@/api/force'
|
||||
import SpeList from '../component/SpeList.vue'
|
||||
|
||||
|
|
|
|||
|
|
@ -135,19 +135,17 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getOrgunits,
|
||||
xrAttachmentDelLawFile,
|
||||
xrAttachmentListByBizSepNo,
|
||||
xrOpinionListByBizSeqNo
|
||||
} from '@/api/abnormal'
|
||||
import { getUsersWithPermission } from '@/api/user'
|
||||
import { createGlobalLoading, parseTime } from '@/utils'
|
||||
import { findCurrentNode, findNextSequenceFlowList, taskInfo } from '@/api'
|
||||
import {
|
||||
getForceDeregisterContent,
|
||||
xrForceDeregisterSpeListByBizSeqNo,
|
||||
xrForceDeregisterSpeProcessControl
|
||||
xrForceDeregisterSpeProcessControl,
|
||||
getOrgunits,
|
||||
xrAttachmentDelLawFile,
|
||||
xrAttachmentListByBizSepNo,
|
||||
xrOpinionListByBizSeqNo
|
||||
} from '@/api/force'
|
||||
export default {
|
||||
data() {
|
||||
|
|
|
|||
|
|
@ -86,15 +86,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getOrgunits
|
||||
} from '@/api/abnormal'
|
||||
import Doc from './doc.vue'
|
||||
import EntList from '../component/EntList.vue'
|
||||
import {
|
||||
xrForceDeregisterSpeSaveIvdAcceptNew,
|
||||
xrForceDeregisterSpeList,
|
||||
xrForceDeregisterSpeProcessControl, xrForceDeregisterGetApprovalFormByBizSeqNo, isTaskCreater
|
||||
xrForceDeregisterSpeProcessControl, xrForceDeregisterGetApprovalFormByBizSeqNo, isTaskCreater, getOrgunits
|
||||
} from '@/api/force'
|
||||
import FakeProgress from '@/components/FakeProgress'
|
||||
import axios from 'axios'
|
||||
|
|
|
|||
|
|
@ -101,18 +101,16 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getOrgunits,
|
||||
xrAttachmentDelLawFile,
|
||||
xrAttachmentListByBizSepNo,
|
||||
xrOpinionListByBizSeqNo
|
||||
} from '@/api/abnormal'
|
||||
import { getUsersWithPermission } from '@/api/user'
|
||||
import { createGlobalLoading, parseTime } from '@/utils'
|
||||
import { findCurrentNode, findNextSequenceFlowList, taskInfo } from '@/api'
|
||||
import {
|
||||
generateLiccanSta,
|
||||
XrLiccanRecTaskByBizSeqNo, XrLiccanRecTaskProcessControl
|
||||
XrLiccanRecTaskByBizSeqNo, XrLiccanRecTaskProcessControl,
|
||||
getOrgunits,
|
||||
xrAttachmentDelLawFile,
|
||||
xrAttachmentListByBizSepNo,
|
||||
xrOpinionListByBizSeqNo
|
||||
} from '@/api/force'
|
||||
export default {
|
||||
data() {
|
||||
|
|
|
|||
|
|
@ -43,14 +43,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getOrgunits
|
||||
} from '@/api/abnormal'
|
||||
import Doc from './doc.vue'
|
||||
import { isTaskCreater } from '@/api'
|
||||
import {
|
||||
xrLiccanRecTaskList, xrLiccanRecTaskSaveIvdAcceptNew,
|
||||
xrLiccanRecTaskGetApprovalFormByBizSeqNo, XrLiccanRecTaskProcessControl
|
||||
xrLiccanRecTaskGetApprovalFormByBizSeqNo, XrLiccanRecTaskProcessControl, getOrgunits
|
||||
} from '@/api/force'
|
||||
import SpeList from '../component/SpeList.vue'
|
||||
export default {
|
||||
|
|
|
|||
|
|
@ -101,18 +101,16 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getOrgunits,
|
||||
xrAttachmentDelLawFile,
|
||||
xrAttachmentListByBizSepNo,
|
||||
xrOpinionListByBizSeqNo
|
||||
} from '@/api/abnormal'
|
||||
import { getUsersWithPermission } from '@/api/user'
|
||||
import { createGlobalLoading, parseTime } from '@/utils'
|
||||
import { findCurrentNode, findNextSequenceFlowList, taskInfo } from '@/api'
|
||||
import {
|
||||
generateDecisionContent,
|
||||
xrForceDeregisterRemByBizSeqNo, xrForceDeregisterRemProcessControl
|
||||
xrForceDeregisterRemByBizSeqNo, xrForceDeregisterRemProcessControl,
|
||||
getOrgunits,
|
||||
xrAttachmentDelLawFile,
|
||||
xrAttachmentListByBizSepNo,
|
||||
xrOpinionListByBizSeqNo
|
||||
} from '@/api/force'
|
||||
export default {
|
||||
data() {
|
||||
|
|
|
|||
|
|
@ -41,15 +41,13 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getOrgunits
|
||||
} from '@/api/abnormal'
|
||||
import { isTaskCreater } from '@/api'
|
||||
import {
|
||||
xrForceDeregisterRemGetApprovalFormByBizSeqNo,
|
||||
xrForceDeregisterRemList,
|
||||
xrForceDeregisterRemProcessControl,
|
||||
xrForceDeregisterRemSaveIvdAcceptNew
|
||||
xrForceDeregisterRemSaveIvdAcceptNew,
|
||||
getOrgunits
|
||||
} from '@/api/force'
|
||||
import SpeList from '../component/SpeList.vue'
|
||||
import Doc from './doc.vue'
|
||||
|
|
|
|||
|
|
@ -101,17 +101,15 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getOrgunits,
|
||||
xrAttachmentDelLawFile,
|
||||
xrAttachmentListByBizSepNo,
|
||||
xrOpinionListByBizSeqNo
|
||||
} from '@/api/abnormal'
|
||||
import { getUsersWithPermission } from '@/api/user'
|
||||
import { createGlobalLoading, parseTime } from '@/utils'
|
||||
import { findCurrentNode, findNextSequenceFlowList, taskInfo } from '@/api'
|
||||
import {
|
||||
xrForceDeregisterRemByBizSeqNo, xrForceDeregisterRemProcessControl
|
||||
xrForceDeregisterRemByBizSeqNo, xrForceDeregisterRemProcessControl,
|
||||
getOrgunits,
|
||||
xrAttachmentDelLawFile,
|
||||
xrAttachmentListByBizSepNo,
|
||||
xrOpinionListByBizSeqNo
|
||||
} from '@/api/force'
|
||||
export default {
|
||||
data() {
|
||||
|
|
|
|||
|
|
@ -40,14 +40,12 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getOrgunits
|
||||
} from '@/api/abnormal'
|
||||
import { isTaskCreater } from '@/api'
|
||||
import {
|
||||
xrForceDeregisterRemList,
|
||||
xrForceDeregisterRemProcessControl,
|
||||
xrForceDeregisterRemSaveIvdAcceptNew
|
||||
xrForceDeregisterRemSaveIvdAcceptNew,
|
||||
getOrgunits
|
||||
} from '@/api/force'
|
||||
import SpeList from '../component/SpeList.vue'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue