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

企业微信前端

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