三册修改
This commit is contained in:
parent
56427dbb19
commit
72938d6407
4
env/.env
vendored
4
env/.env
vendored
@ -1,9 +1,9 @@
|
|||||||
VITE_APP_TITLE = '数智产销'
|
VITE_APP_TITLE = '数智产销'
|
||||||
VITE_APP_PORT = 9000
|
VITE_APP_PORT = 9000
|
||||||
|
|
||||||
#VITE_UNI_APPID = '__UNI__9F097F0'
|
VITE_UNI_APPID = '__UNI__9F097F0'
|
||||||
#测试APPID
|
#测试APPID
|
||||||
VITE_UNI_APPID = '__UNI__1B02D50'
|
#VITE_UNI_APPID = '__UNI__1B02D50'
|
||||||
VITE_WX_APPID = 'wx8e287639924edb51'
|
VITE_WX_APPID = 'wx8e287639924edb51'
|
||||||
|
|
||||||
#发布版本号
|
#发布版本号
|
||||||
|
7
env/.env.development
vendored
7
env/.env.development
vendored
@ -7,8 +7,11 @@ VITE_SHOW_SOURCEMAP = true
|
|||||||
# 是否启用读取配置文件 min
|
# 是否启用读取配置文件 min
|
||||||
#VITE_WEBAPP = 'D://opt//AppUpdateTest'
|
#VITE_WEBAPP = 'D://opt//AppUpdateTest'
|
||||||
VITE_WEBAPP = ''
|
VITE_WEBAPP = ''
|
||||||
#VITE_SERVER_BASEURL = 'http://10.75.15.247:8080/jeecg-boot'
|
VITE_SERVER_BASEURL = 'http://10.75.15.249:8080/jeecg-boot'
|
||||||
#VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot'
|
#VITE_SERVER_BASEURL = 'https://36.112.48.190/jeecg-boot'
|
||||||
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'
|
@ -1,18 +1,17 @@
|
|||||||
import { http } from '@/utils/http';
|
import { http } from '@/utils/http';
|
||||||
|
|
||||||
export function getListApi(orgCode : string) {
|
export function getListApi() {
|
||||||
return http({
|
return http({
|
||||||
url: '/sjgl.scnr/cxcSjSc/queryTreeData',
|
url: '/sjgl.scnr/cxcSjSc/queryTreeData',
|
||||||
method: 'GET',
|
method: 'GET'
|
||||||
data: { orgCode }
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getJobDesIdByDepAndName(config : Object) {
|
export function getJobDesIdByDepAndName(jobname : string) {
|
||||||
return http({
|
return http({
|
||||||
url: '/sjgl.tynr/cxcSjJobdescription/queryByNameDep',
|
url: '/sjgl.tynr/cxcSjJobdescription/queryByNameDep',
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
data: config
|
data: { jobname }
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "数智产销",
|
"name": "数智产销",
|
||||||
"appid": "__UNI__1B02D50",
|
"appid": "__UNI__9F097F0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"versionName": "2.0.0",
|
"versionName": "2.0.0",
|
||||||
"versionCode": "20250616",
|
"versionCode": "20250616",
|
||||||
|
@ -83,10 +83,7 @@
|
|||||||
new base64().encode(baseUrl + url))
|
new base64().encode(baseUrl + url))
|
||||||
}
|
}
|
||||||
} else if (/^-?\d+$/.test(quote) && !insFlag) {
|
} else if (/^-?\d+$/.test(quote) && !insFlag) {
|
||||||
getJobDesIdByDepAndName({
|
getJobDesIdByDepAndName(quote).then((res) => {
|
||||||
jobname: quote,
|
|
||||||
jobdep: useUserStore().userInfo.orgCode
|
|
||||||
}).then((res) => {
|
|
||||||
fileUrl.value = getEnvBaseUrl() + '/jmreport/view/929517863011811328?id=' + res
|
fileUrl.value = getEnvBaseUrl() + '/jmreport/view/929517863011811328?id=' + res
|
||||||
.id +
|
.id +
|
||||||
"&token=" + useUserStore().userInfo.token;
|
"&token=" + useUserStore().userInfo.token;
|
||||||
@ -113,7 +110,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const getList = () => {
|
const getList = () => {
|
||||||
getListApi(useUserStore().userInfo.orgCode).then(res => {
|
getListApi().then(res => {
|
||||||
data.value = res.result
|
data.value = res.result
|
||||||
dataSource.value = [data.value.map(item => {
|
dataSource.value = [data.value.map(item => {
|
||||||
return {
|
return {
|
||||||
|
@ -105,9 +105,9 @@
|
|||||||
let pw = Base64.encode(encodeURIComponent(password.value))
|
let pw = Base64.encode(encodeURIComponent(password.value))
|
||||||
loading.value = true
|
loading.value = true
|
||||||
/*生产环境 begin */
|
/*生产环境 begin */
|
||||||
loginApi({ username: un, password: pw })
|
// loginApi({ username: un, password: pw })
|
||||||
/*开发环境 begin */
|
/*开发环境 begin */
|
||||||
// loginApi({ username: userName.value, password: password.value, captcha: 'app' })
|
loginApi({ username: userName.value, password: password.value, captcha: 'app' })
|
||||||
.then((res : any) => {
|
.then((res : any) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
const { result } = res
|
const { result } = res
|
||||||
|
Loading…
Reference in New Issue
Block a user