修改api接口路径
This commit is contained in:
parent
27c163736d
commit
267ba082f0
4
App.vue
4
App.vue
@ -4,7 +4,7 @@
|
|||||||
} from '@/store/update.js';
|
} from '@/store/update.js';
|
||||||
import {
|
import {
|
||||||
cxcJurisdictionApi
|
cxcJurisdictionApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
onLaunch,
|
onLaunch,
|
||||||
onShow
|
onShow
|
||||||
@ -13,7 +13,7 @@
|
|||||||
getLocation,
|
getLocation,
|
||||||
getWeather,
|
getWeather,
|
||||||
beforeJump
|
beforeJump
|
||||||
} from './utils';
|
} from './utils/index.js';
|
||||||
import {
|
import {
|
||||||
useStore
|
useStore
|
||||||
} from '@/store';
|
} from '@/store';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
https
|
https
|
||||||
} from './http.js';
|
} from '@/utils/http.js';
|
||||||
export function loginApi(config) { // 登录
|
export function loginApi(config) { // 登录
|
||||||
return https({
|
return https({
|
||||||
url: '/sys/sinopecLogin',
|
url: '/sys/sinopecLogin',
|
BIN
certificate/book.keystore
Normal file
BIN
certificate/book.keystore
Normal file
Binary file not shown.
8
certificate/证书信息.txt
Normal file
8
certificate/证书信息.txt
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
证书指纹:
|
||||||
|
MD5: E9:4A:C7:11:D5:D7:DD:B2:E2:C1:61:85:FB:EC:45:1B
|
||||||
|
SHA1: B8:69:64:18:C9:22:43:B7:A4:52:CE:BB:A3:EB:BD:7C:24:C2:C5:93
|
||||||
|
SHA256: AF:A7:4B:54:97:18:AD:A4:C4:C7:EA:6B:3C:E3:F2:28:81:EA:4C:F5:56:F2:D9:6E:EC:D2:E6:BD:F6:FA:4F:75
|
||||||
|
|
||||||
|
别名: __uni__f0afd30
|
||||||
|
证书密码为:LBJcfP45
|
||||||
|
包名:com.tianranqi.app
|
@ -93,7 +93,7 @@
|
|||||||
qjQueryByIdApi,
|
qjQueryByIdApi,
|
||||||
extActFlowDataApi,
|
extActFlowDataApi,
|
||||||
processHistoryListApi
|
processHistoryListApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
ref,
|
ref,
|
||||||
onBeforeMount,
|
onBeforeMount,
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
dbJbxxQueryByIdApi,
|
dbJbxxQueryByIdApi,
|
||||||
extActFlowDataApi,
|
extActFlowDataApi,
|
||||||
processHistoryListApi
|
processHistoryListApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import processCom from './processCom.vue';
|
import processCom from './processCom.vue';
|
||||||
import {
|
import {
|
||||||
ref,
|
ref,
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"name" : "数智产销",
|
"name" : "数智产销",
|
||||||
"appid" : "__UNI__F0AFD30",
|
"appid" : "__UNI__F0AFD30",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.6",
|
"versionName" : "1.0.0",
|
||||||
"versionCode" : 106,
|
"versionCode" : 100,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
zhiduApi,
|
zhiduApi,
|
||||||
gonggaolistApi,
|
gonggaolistApi,
|
||||||
cjzhiduApi
|
cjzhiduApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
useStore
|
useStore
|
||||||
} from '@/store';
|
} from '@/store';
|
||||||
|
@ -167,7 +167,7 @@
|
|||||||
qjAddApi,
|
qjAddApi,
|
||||||
startMutilProcessApi,
|
startMutilProcessApi,
|
||||||
getDictItemsApi
|
getDictItemsApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
onLoad
|
onLoad
|
||||||
} from '@dcloudio/uni-app'
|
} from '@dcloudio/uni-app'
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
import {
|
import {
|
||||||
loginApi,
|
loginApi,
|
||||||
queryRoleApi
|
queryRoleApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
|
|
||||||
import Base64 from 'base-64';
|
import Base64 from 'base-64';
|
||||||
import {
|
import {
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
} from 'vue';
|
} from 'vue';
|
||||||
import {
|
import {
|
||||||
huiyiDetailApi
|
huiyiDetailApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
onLoad
|
onLoad
|
||||||
} from '@dcloudio/uni-app';
|
} from '@dcloudio/uni-app';
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
const store = useStore()
|
const store = useStore()
|
||||||
import {
|
import {
|
||||||
huiyilistApi
|
huiyilistApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import customNav from '../../component/customNav.vue';
|
import customNav from '../../component/customNav.vue';
|
||||||
import {
|
import {
|
||||||
onLoad
|
onLoad
|
||||||
|
@ -144,7 +144,7 @@
|
|||||||
zhiduApi,
|
zhiduApi,
|
||||||
getUserPermissionApi,
|
getUserPermissionApi,
|
||||||
cxcDapingApi
|
cxcDapingApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import customNav from '../../component/customNav.vue';
|
import customNav from '../../component/customNav.vue';
|
||||||
import {
|
import {
|
||||||
useStore
|
useStore
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
userProfileApi,
|
userProfileApi,
|
||||||
queryRoleApi,
|
queryRoleApi,
|
||||||
taskListApi
|
taskListApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
onLoad,
|
onLoad,
|
||||||
onShow
|
onShow
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
} from '@dcloudio/uni-app';
|
} from '@dcloudio/uni-app';
|
||||||
import {
|
import {
|
||||||
getUserPermissionApi
|
getUserPermissionApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
useStore
|
useStore
|
||||||
} from '@/store';
|
} from '@/store';
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
} from '@dcloudio/uni-app';
|
} from '@dcloudio/uni-app';
|
||||||
import {
|
import {
|
||||||
indexChartScdtDataApi
|
indexChartScdtDataApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
beforeJump
|
beforeJump
|
||||||
} from '@/utils/index.js';
|
} from '@/utils/index.js';
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
getProcessTaskTransInfoApi,
|
getProcessTaskTransInfoApi,
|
||||||
getHisProcessNodeInfoApi,
|
getHisProcessNodeInfoApi,
|
||||||
claimApi
|
claimApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
beforeJump
|
beforeJump
|
||||||
} from '@/utils/index.js';
|
} from '@/utils/index.js';
|
||||||
|
@ -21,12 +21,12 @@
|
|||||||
ref
|
ref
|
||||||
} from 'vue';
|
} from 'vue';
|
||||||
import tasklistCom from '../../component/tasklistCom.vue';
|
import tasklistCom from '../../component/tasklistCom.vue';
|
||||||
import { toast } from '../../utils';
|
import { toast } from '@/utils/index.js';
|
||||||
import {
|
import {
|
||||||
taskListApi,
|
taskListApi,
|
||||||
taskGroupListApi,
|
taskGroupListApi,
|
||||||
taskHistoryListApi
|
taskHistoryListApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
onLoad,
|
onLoad,
|
||||||
onShow,
|
onShow,
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
} from '@/store';
|
} from '@/store';
|
||||||
import {
|
import {
|
||||||
myApplyProcessListApi
|
myApplyProcessListApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import { toast } from '../../utils';
|
import { toast } from '@/utils/index.js';
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
const taskArr = ref([])
|
const taskArr = ref([])
|
||||||
let processName = ''
|
let processName = ''
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
taskListApi,
|
taskListApi,
|
||||||
myApplyProcessListApi,
|
myApplyProcessListApi,
|
||||||
taskHistoryListApi
|
taskHistoryListApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
onLoad,
|
onLoad,
|
||||||
onReachBottom
|
onReachBottom
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
import {
|
import {
|
||||||
userEditApi,
|
userEditApi,
|
||||||
userProfileApi
|
userProfileApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
beforeJump,
|
beforeJump,
|
||||||
imgUrl
|
imgUrl
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
queryUserByDepIdApi,
|
queryUserByDepIdApi,
|
||||||
taskEntrustApi,
|
taskEntrustApi,
|
||||||
processCompleteApi
|
processCompleteApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
useStore
|
useStore
|
||||||
} from '@/store';
|
} from '@/store';
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
} from '@dcloudio/uni-app';
|
} from '@dcloudio/uni-app';
|
||||||
import {
|
import {
|
||||||
zhibanQueryApi
|
zhibanQueryApi
|
||||||
} from '@/network/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
useStore
|
useStore
|
||||||
} from '@/store';
|
} from '@/store';
|
||||||
|
@ -7,11 +7,11 @@ import {
|
|||||||
} from 'pinia'
|
} from 'pinia'
|
||||||
import {
|
import {
|
||||||
upDateAppApi
|
upDateAppApi
|
||||||
} from '@/network/api.js'
|
} from '@/api/api.js'
|
||||||
import {
|
import {
|
||||||
hasNewVersion,
|
hasNewVersion,
|
||||||
onClickUpdate
|
onClickUpdate
|
||||||
} from '@/utils';
|
} from '@/utils/index.js';
|
||||||
|
|
||||||
export const useUpdateApp = defineStore('updateApp', () => {
|
export const useUpdateApp = defineStore('updateApp', () => {
|
||||||
const updateOptions = reactive({
|
const updateOptions = reactive({
|
||||||
|
@ -11,7 +11,7 @@ import {
|
|||||||
} from '@/store';
|
} from '@/store';
|
||||||
import {
|
import {
|
||||||
getUserPermissionApi
|
getUserPermissionApi
|
||||||
} from '@/network/api.js'
|
} from '@/api/api.js'
|
||||||
/**判断用户跳转前是否可以进入该页面*/
|
/**判断用户跳转前是否可以进入该页面*/
|
||||||
export const beforeJump = (url, callback) => {
|
export const beforeJump = (url, callback) => {
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
|
Loading…
Reference in New Issue
Block a user