1
This commit is contained in:
parent
a472d67520
commit
23e4f9f409
@ -2,8 +2,8 @@
|
||||
"name" : "数智产销",
|
||||
"appid" : "__UNI__9F097F0",
|
||||
"description" : "",
|
||||
"versionName" : "1.1.0",
|
||||
"versionCode" : 20241222,
|
||||
"versionName" : "1.1.1",
|
||||
"versionCode" : 20250106,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
@ -25,7 +25,7 @@
|
||||
</view>
|
||||
<tree-select :dataSource="dataSource" v-model="type" dataValue="name" />
|
||||
</view>
|
||||
<picker mode="date" fields="day" @change="chooseStart" :value="beginTime">
|
||||
<picker mode="date" fields="day" @change="chooseStart" :value="beginTime" :end="endTime">
|
||||
<view class="f-row aic jcb box">
|
||||
<view class="title">
|
||||
开始时间:
|
||||
|
@ -32,9 +32,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="login f-col aic">
|
||||
|
||||
<text style="font-size: 10px;">Copyright (c) 2024 天然气产销厂 信息化支持中心</text>
|
||||
<text style="font-size: 10px;">版本号:1.0.3</text>
|
||||
<text style="font-size: 10px;">Copyright (c) 2024 天然气产销厂</text>
|
||||
<text style="font-size: 10px;">版本号:{{systemInfo.appWgtVersion}}</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@ -66,6 +65,8 @@
|
||||
proxy
|
||||
} = getCurrentInstance()
|
||||
|
||||
/** 系统信息 */
|
||||
const systemInfo = uni.getSystemInfoSync()
|
||||
/**是否明文显示密码*/
|
||||
const showpwd = ref(false)
|
||||
/**用于用户缓存账号和密码*/
|
||||
@ -97,20 +98,19 @@
|
||||
});
|
||||
|
||||
/*生产环境 begin */
|
||||
// loginApi({
|
||||
// username: un,
|
||||
// password: pw,
|
||||
// ip: getDeviceIp()
|
||||
loginApi({
|
||||
username: un,
|
||||
password: pw,
|
||||
ip: getDeviceIp()
|
||||
/*生产环境 end */
|
||||
|
||||
/*开发环境 begin */
|
||||
localLoginApi({
|
||||
username: username.value,
|
||||
password: password.value,
|
||||
captcha: 'app'
|
||||
// localLoginApi({
|
||||
// username: username.value,
|
||||
// password: password.value,
|
||||
// captcha: 'app'
|
||||
/*开发环境 end */
|
||||
}).then((loginres) => {
|
||||
// console.log("===============",loginres)
|
||||
if (loginres.success) {
|
||||
uni.setStorageSync('token', loginres.result.token)
|
||||
store.setToken(loginres.result.token)
|
||||
@ -174,6 +174,7 @@
|
||||
}
|
||||
|
||||
|
||||
|
||||
function getDeviceIp() {
|
||||
// #ifdef APP-PLUS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user