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