Commit 87a2827c authored by 刘杰's avatar 刘杰

企业微信前端

parent e77f4c77
This diff is collapsed.
......@@ -78,7 +78,7 @@
return {
formData: {
reporterTo:'',
reporterTo: '',
reporter: '',
date: formattedDate, // 使用带时间的日期格式
todayWork: '',
......@@ -106,9 +106,9 @@
methods: {
initReporter() {
this.staffKind = uni.getStorageSync('uc_staff_kind');
const data={
"aux":{
staffKind:this.staffKind
const data = {
"aux": {
staffKind: this.staffKind
}
}
selectReporter(data).then(res => {
......@@ -209,14 +209,15 @@
<style lang="scss">
.daily-report-create {
padding: 20px;
// padding: 20px;
background-color: #f5f5f5;
min-height: 100vh;
padding-top: 45px;
.page-title {
text-align: center;
padding: 15px 0;
margin-bottom: 20px;
margin-bottom: 10px;
text {
font-size: 18px;
......
{
"name" : "兆驰运输管理系统",
"appid" : "__UNI__EFB25AB",
"description" : "TMS-承运商",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
/* 模块配置 */
"modules" : {},
/* 应用发布信息 */
"distribute" : {
/* android打包配置 */
"android" : {
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
/* ios打包配置 */
"ios" : {},
/* SDK配置 */
"sdkConfigs" : {}
}
},
/* 快应用特有相关 */
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "ww5b68e5106ed852c5",
"setting" : {
"urlCheck" : false,
"es6" : true,
"postcss" : false,
"minified" : true
},
"usingComponents" : true,
"lazyCodeLoading" : "requiredComponents",
"requiredPrivateInfos" : [ "getLocation" ],
"permission" : {}
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
},
"vueVersion" : "2",
"h5" : {
"devServer" : {
"https" : false,
"disableHostCheck" : true,
"port" : 8083,
"proxy" : {
"/api" : {
// "target" : "http://122.112.220.204:8089",
// "target" : "http://localhost:8083",
"target" : "https://stms.bjzc-scs.com",
"changeOrigin" : true,
"secure" : false
},
"/handler" : {
// "target" : "http://122.112.220.204:8089",
// "target" : "http://localhost:8083",
"target" : "https://stms.bjzc-scs.com",
"changeOrigin" : true,
"secure" : false
},
"/sandtable" : {
// "target" : "http://122.112.220.204:8089",
// "target" : "http://localhost:8083",
"target" : "https://stms.bjzc-scs.com",
"changeOrigin" : true,
"secure" : false
},
"/tmsca" : {
// "target" : "http://122.112.220.204:8089",
// "target" : "http://localhost:8083",
"target" : "https://stms.bjzc-scs.com",
"changeOrigin" : true,
"secure" : false
}
}
},
"router" : {
"mode" : "hash",
"base" : "./"
},
"template" : "template.h5.html",
"sdkConfigs" : {
"maps" : {}
}
}
}
"name": "兆驰运输管理系统",
"appid": "__UNI__EFB25AB",
"description": "TMS-承运商",
"versionName": "1.0.0",
"versionCode": "100",
"transformPx": false,
/* 5+App特有相关 */
"app-plus": {
"usingComponents": true,
"nvueStyleCompiler": "uni-app",
"compilerVersion": 3,
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
},
/* 模块配置 */
"modules": {},
/* 应用发布信息 */
"distribute": {
/* android打包配置 */
"android": {
"permissions": [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
/* ios打包配置 */
"ios": {},
/* SDK配置 */
"sdkConfigs": {}
}
},
/* 快应用特有相关 */
"quickapp": {},
/* 小程序特有相关 */
"mp-weixin": {
"appid": "ww5b68e5106ed852c5",
"setting": {
"urlCheck": false,
"es6": true,
"postcss": false,
"minified": true
},
"usingComponents": true,
"lazyCodeLoading": "requiredComponents",
"requiredPrivateInfos": ["getLocation"],
"permission": {}
},
"mp-alipay": {
"usingComponents": true
},
"mp-baidu": {
"usingComponents": true
},
"mp-toutiao": {
"usingComponents": true
},
"uniStatistics": {
"enable": false
},
"vueVersion": "2",
"h5": {
"devServer": {
"https": false,
"disableHostCheck": true,
"port": 8083,
"proxy": {
"/api": {
// "target" : "http://122.112.220.204:8089",
"target": "http://localhost:8083",
// "target" : "https://stms.bjzc-scs.com",
"changeOrigin": true,
"secure": false
},
"/handler": {
// "target" : "http://122.112.220.204:8089",
"target": "http://localhost:8083",
// "target" : "https://stms.bjzc-scs.com",
"changeOrigin": true,
"secure": false
},
"/sandtable": {
// "target" : "http://122.112.220.204:8089",
"target": "http://localhost:8083",
// "target" : "https://stms.bjzc-scs.com",
"changeOrigin": true,
"secure": false
},
"/tmsca": {
// "target" : "http://122.112.220.204:8089",
"target": "http://localhost:8083",
// "target" : "https://stms.bjzc-scs.com",
"changeOrigin": true,
"secure": false
}
}
},
"router": {
"mode": "hash",
"base": "./"
},
"template": "template.h5.html",
"sdkConfigs": {
"maps": {}
}
}
}
\ No newline at end of file
......@@ -178,7 +178,7 @@ module.exports = {
uni.redirectTo({
url: "/pages/index/index",
});
_this.initWeCom();
// _this.initWeCom();
}
})
.catch((err) => {
......
......@@ -26,7 +26,7 @@
"style": {
"navigationBarTitleText": "主页",
"enablePullDownRefresh": false,
"disableScroll": true
"disableScroll": false
}
},
{
......
......@@ -9,10 +9,8 @@
</view>
</view>
<view class="content">
<view v-if="currentShow === 'orderQuery'">
<orderQueryContent></orderQueryContent>
</view>
<!-- <view v-if="currentShow === 'dailyReport'">
<!-- <view v-if="currentShow === 'dailyReport'">
<dailyReport></dailyReport>
</view> -->
<view v-if="currentShow === 'bossCard' && uc_staff_kind!==''">
......@@ -74,7 +72,7 @@
if (this.uc_staff_kind === 'boss') {
this.topUserList = [{
name: '老板看板',
name: '运营监控',
key: 'bossCard',
url: '/pages/index/index'
},
......@@ -86,7 +84,7 @@
];
} else if (this.uc_staff_kind === 'simulatedBoss') {
this.topUserList = [{
name: '老板看板',
name: '运营监控',
key: 'bossCard',
url: '/pages/index/index'
},
......@@ -244,7 +242,8 @@
.transport-content {
background-color: #FAFAFA;
height: 100vh;
......@@ -255,6 +254,9 @@
align-items: center;
flex-direction: row;
justify-content: space-evenly;
position: fixed;
z-index: 999;
width: 100%;
.top-item {
height: 22px;
......@@ -273,6 +275,9 @@
.content {
padding: 0px 12px 12px 12px;
// margin-top: 45px;
// height: calc(100vh- 50px);
}
}
</style>s
\ No newline at end of file
</style>
\ No newline at end of file
......@@ -9,9 +9,9 @@ let BASEURL = {
// url: 'http://192.168.1.199:7080' //唐浩然
// url: 'http://192.168.0.230:8080' // xiaohan
// url: "https://botms-demo.logwirecloud.com",
// url: "http://localhost:8083", //开发
url: "http://localhost:8083", //开发
// url: "http://122.112.220.204:8089", //开发
url: "https://stms.bjzc-scs.com", //生产
// url: "https://stms.bjzc-scs.com", //生产
};
//当使用多域名代理服务时生效,用于统一添加API前缀以区分服务代理地址。本地开发H5注意修改manifest.json中Proxy代理规则
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment