2.3.1
This commit is contained in:
parent
c705efe142
commit
2dacbe6c08
4
env/.env.production
vendored
4
env/.env.production
vendored
@ -8,7 +8,7 @@ VITE_SHOW_SOURCEMAP = false
|
|||||||
#VITE_WEBAPP = 'D://opt//AppUpdateTest'
|
#VITE_WEBAPP = 'D://opt//AppUpdateTest'
|
||||||
VITE_WEBAPP = ''
|
VITE_WEBAPP = ''
|
||||||
|
|
||||||
VITE_SERVER_BASEURL = 'https://10.75.166.6/test'
|
#VITE_SERVER_BASEURL = 'https://10.75.166.6/test'
|
||||||
#VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/jeecg-boot'
|
VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/jeecg-boot'
|
||||||
#VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/wwapi'
|
#VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/wwapi'
|
||||||
#VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/yjapi'
|
#VITE_SERVER_BASEURL = 'https://szcx.zyyt.sinopec.com/yjapi'
|
||||||
|
|||||||
@ -17,8 +17,8 @@ export default defineManifestConfig({
|
|||||||
name: VITE_APP_TITLE,
|
name: VITE_APP_TITLE,
|
||||||
appid: VITE_UNI_APPID,
|
appid: VITE_UNI_APPID,
|
||||||
description: '',
|
description: '',
|
||||||
versionName: '2.3.0',
|
versionName: '2.3.1',
|
||||||
versionCode: '202509011',
|
versionCode: '20251010',
|
||||||
transformPx: false,
|
transformPx: false,
|
||||||
locale: VITE_FALLBACK_LOCALE, // 'zh-Hans'
|
locale: VITE_FALLBACK_LOCALE, // 'zh-Hans'
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
|
|||||||
@ -2,8 +2,8 @@
|
|||||||
"name": "数智产销",
|
"name": "数智产销",
|
||||||
"appid": "__UNI__9F097F0",
|
"appid": "__UNI__9F097F0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"versionName": "2.3.0",
|
"versionName": "2.3.1",
|
||||||
"versionCode": "202509011",
|
"versionCode": "20251010",
|
||||||
"transformPx": false,
|
"transformPx": false,
|
||||||
"app-plus": {
|
"app-plus": {
|
||||||
"usingComponents": true,
|
"usingComponents": true,
|
||||||
|
|||||||
@ -9,9 +9,7 @@
|
|||||||
</route>
|
</route>
|
||||||
<template>
|
<template>
|
||||||
<PageLayout :navbarShow="false">
|
<PageLayout :navbarShow="false">
|
||||||
<view>
|
<wd-text text="功能正在开发..." bold style="margin: 20px;"></wd-text>
|
||||||
财务管理
|
|
||||||
</view>
|
|
||||||
</PageLayout>
|
</PageLayout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@ -3,15 +3,13 @@
|
|||||||
layout: 'default',
|
layout: 'default',
|
||||||
style: {
|
style: {
|
||||||
navigationStyle: 'custom',
|
navigationStyle: 'custom',
|
||||||
navigationBarTitleText: '经营考核 ',
|
navigationBarTitleText: '外部市场',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</route>
|
</route>
|
||||||
<template>
|
<template>
|
||||||
<PageLayout :navbarShow="false">
|
<PageLayout :navbarShow="false">
|
||||||
<view>
|
<wd-text text="功能正在开发..." bold style="margin: 20px;"></wd-text>
|
||||||
经营管理
|
|
||||||
</view>
|
|
||||||
</PageLayout>
|
</PageLayout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
20
src/pages-operate/wbsc/index.vue
Normal file
20
src/pages-operate/wbsc/index.vue
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<route lang="json5" type="page">
|
||||||
|
{
|
||||||
|
layout: 'default',
|
||||||
|
style: {
|
||||||
|
navigationStyle: 'custom',
|
||||||
|
navigationBarTitleText: '外部市场 ',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
<template>
|
||||||
|
<PageLayout :navbarShow="false">
|
||||||
|
<wd-text text="功能正在开发..." bold style="margin: 20px;"></wd-text>
|
||||||
|
</PageLayout>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
||||||
20
src/pages-production/anquanguanli/index.vue
Normal file
20
src/pages-production/anquanguanli/index.vue
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<route lang="json5" type="page">
|
||||||
|
{
|
||||||
|
layout: 'default',
|
||||||
|
style: {
|
||||||
|
navigationStyle: 'custom',
|
||||||
|
navigationBarTitleText: '安全管理',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
<template>
|
||||||
|
<PageLayout :navbarShow="false">
|
||||||
|
<wd-text text="功能正在开发..." bold style="margin: 20px;"></wd-text>
|
||||||
|
</PageLayout>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
||||||
@ -376,7 +376,7 @@
|
|||||||
"layout": "default",
|
"layout": "default",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"navigationBarTitleText": "经营考核 "
|
"navigationBarTitleText": "外部市场"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -387,6 +387,15 @@
|
|||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"navigationBarTitleText": "三册"
|
"navigationBarTitleText": "三册"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "wbsc/index",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom",
|
||||||
|
"navigationBarTitleText": "外部市场 "
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -611,6 +620,15 @@
|
|||||||
{
|
{
|
||||||
"root": "pages-production",
|
"root": "pages-production",
|
||||||
"pages": [
|
"pages": [
|
||||||
|
{
|
||||||
|
"path": "anquanguanli/index",
|
||||||
|
"type": "page",
|
||||||
|
"layout": "default",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom",
|
||||||
|
"navigationBarTitleText": "安全管理"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "ribaoshuju/index",
|
"path": "ribaoshuju/index",
|
||||||
"type": "page",
|
"type": "page",
|
||||||
|
|||||||
@ -137,12 +137,12 @@
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
/*开发环境 */
|
/*开发环境 */
|
||||||
params.captcha = 'app';
|
// params.captcha = 'app';
|
||||||
/*生产环境 */
|
/*生产环境 */
|
||||||
// params = {
|
params = {
|
||||||
// username: Base64.encode(encodeURIComponent(userName.value)),
|
username: Base64.encode(encodeURIComponent(userName.value)),
|
||||||
// password: Base64.encode(encodeURIComponent(password.value)),
|
password: Base64.encode(encodeURIComponent(password.value)),
|
||||||
// };
|
};
|
||||||
}
|
}
|
||||||
login(params)
|
login(params)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -29,6 +29,11 @@
|
|||||||
<jingying-guanli></jingying-guanli>
|
<jingying-guanli></jingying-guanli>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
|
<view v-if="current === 2">
|
||||||
|
<scroll-view scroll-y :style="{ height: scrollViewHeight + 'px' }">
|
||||||
|
<waibu-guanli></waibu-guanli>
|
||||||
|
</scroll-view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</PageLayout>
|
</PageLayout>
|
||||||
</template>
|
</template>
|
||||||
@ -44,6 +49,7 @@
|
|||||||
} from 'vue';
|
} from 'vue';
|
||||||
import caiwuGuanli from '@/pages-operate/caiwu/index'
|
import caiwuGuanli from '@/pages-operate/caiwu/index'
|
||||||
import jingyingGuanli from '@/pages-operate/jingying/index'
|
import jingyingGuanli from '@/pages-operate/jingying/index'
|
||||||
|
import waibuGuanli from '@/pages-operate/wbsc/index'
|
||||||
const items = ref(['计划财务', '经营考核', '外部市场'])
|
const items = ref(['计划财务', '经营考核', '外部市场'])
|
||||||
const current = ref(0)
|
const current = ref(0)
|
||||||
const res = wx.getSystemInfoSync();
|
const res = wx.getSystemInfoSync();
|
||||||
|
|||||||
@ -29,10 +29,23 @@
|
|||||||
<rb-data></rb-data>
|
<rb-data></rb-data>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
|
<view v-if="current === 2">
|
||||||
|
<scroll-view scroll-y :style="{ height: scrollViewHeight + 'px' }">
|
||||||
|
<anquan-data></anquan-data>
|
||||||
|
</scroll-view>
|
||||||
|
</view>
|
||||||
|
<view v-if="current === 3">
|
||||||
|
<scroll-view scroll-y :style="{ height: scrollViewHeight + 'px' }">
|
||||||
|
<anquan-data></anquan-data>
|
||||||
|
</scroll-view>
|
||||||
|
</view>
|
||||||
|
<view v-if="current === 4">
|
||||||
|
<scroll-view scroll-y :style="{ height: scrollViewHeight + 'px' }">
|
||||||
|
<anquan-data></anquan-data>
|
||||||
|
</scroll-view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</PageLayout>
|
</PageLayout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -49,6 +62,7 @@
|
|||||||
|
|
||||||
import rbData from '@/pages-production/ribaoshuju/index';
|
import rbData from '@/pages-production/ribaoshuju/index';
|
||||||
import sssjData from '@/pages-production/shishishuju/index';
|
import sssjData from '@/pages-production/shishishuju/index';
|
||||||
|
import anquanData from '@/pages-production/anquanguanli/index';
|
||||||
const items = ref(['实时数据', '日报数据', '安全管理', '工程技术', '仪控设备'])
|
const items = ref(['实时数据', '日报数据', '安全管理', '工程技术', '仪控设备'])
|
||||||
const current = ref(0)
|
const current = ref(0)
|
||||||
const res = wx.getSystemInfoSync();
|
const res = wx.getSystemInfoSync();
|
||||||
|
|||||||
2
src/types/uni-pages.d.ts
vendored
2
src/types/uni-pages.d.ts
vendored
@ -40,6 +40,7 @@ interface NavigateToOptions {
|
|||||||
"/pages-operate/file/index" |
|
"/pages-operate/file/index" |
|
||||||
"/pages-operate/jingying/index" |
|
"/pages-operate/jingying/index" |
|
||||||
"/pages-operate/sc/index" |
|
"/pages-operate/sc/index" |
|
||||||
|
"/pages-operate/wbsc/index" |
|
||||||
"/pages-humanResource/absence/add" |
|
"/pages-humanResource/absence/add" |
|
||||||
"/pages-humanResource/absence/detail" |
|
"/pages-humanResource/absence/detail" |
|
||||||
"/pages-humanResource/absence/index" |
|
"/pages-humanResource/absence/index" |
|
||||||
@ -72,6 +73,7 @@ interface NavigateToOptions {
|
|||||||
"/pages-bpm/unconventional/index" |
|
"/pages-bpm/unconventional/index" |
|
||||||
"/pages-bpm/unconventional/stamp" |
|
"/pages-bpm/unconventional/stamp" |
|
||||||
"/pages-bpm/zbkh/index" |
|
"/pages-bpm/zbkh/index" |
|
||||||
|
"/pages-production/anquanguanli/index" |
|
||||||
"/pages-production/ribaoshuju/index" |
|
"/pages-production/ribaoshuju/index" |
|
||||||
"/pages-production/ribaoshuju/rbsjLsxq" |
|
"/pages-production/ribaoshuju/rbsjLsxq" |
|
||||||
"/pages-production/ribaoshuju/trqRbsj" |
|
"/pages-production/ribaoshuju/trqRbsj" |
|
||||||
|
|||||||
@ -51,7 +51,7 @@ export const http = <T>(options: CustomRequestOptions) => {
|
|||||||
!options.hideErrorToast &&
|
!options.hideErrorToast &&
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
title: (res.data as IResData<T>).msg || '请求错误',
|
title: (res.data as IResData<T>).msg,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 使用z-paging,在底层的网络请求抛出异常时uni.$emit('z-paging-error-emit'),业务中可不写
|
// 使用z-paging,在底层的网络请求抛出异常时uni.$emit('z-paging-error-emit'),业务中可不写
|
||||||
|
|||||||
@ -30,7 +30,7 @@ const http = <T>(options: CustomRequestOptions) => {
|
|||||||
!options.hideErrorToast &&
|
!options.hideErrorToast &&
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
title: (res.data as T & { msg?: string })?.msg || '请求错误',
|
title: (res.data as T & { msg?: string })?.msg,
|
||||||
})
|
})
|
||||||
reject(res)
|
reject(res)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user