Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zc-qiyewx-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨勇飞
zc-qiyewx-app
Commits
87a2827c
Commit
87a2827c
authored
Feb 28, 2025
by
刘杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企业微信前端
parent
e77f4c77
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
252 additions
and
190 deletions
+252
-190
bossCard.vue
components/bossCard/bossCard.vue
+106
-50
dailyReportCreate.vue
components/dailyReportCreate/dailyReportCreate.vue
+7
-6
manifest.json
manifest.json
+122
-122
loginBehavior.js
mixins/loginBehavior.js
+1
-1
pages.json
pages.json
+1
-1
index.vue
pages/index/index.vue
+13
-8
config.js
publicConfig/config.js
+2
-2
sou.png
static/img/boss/sou.png
+0
-0
zhichu.png
static/img/boss/zhichu.png
+0
-0
No files found.
components/bossCard/bossCard.vue
View file @
87a2827c
This diff is collapsed.
Click to expand it.
components/dailyReportCreate/dailyReportCreate.vue
View file @
87a2827c
...
...
@@ -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
:
2
0px
;
margin-bottom
:
1
0px
;
text
{
font-size
:
18px
;
...
...
manifest.json
View file @
87a2827c
{
"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
mixins/loginBehavior.js
View file @
87a2827c
...
...
@@ -178,7 +178,7 @@ module.exports = {
uni
.
redirectTo
({
url
:
"/pages/index/index"
,
});
_this
.
initWeCom
();
//
_this.initWeCom();
}
})
.
catch
((
err
)
=>
{
...
...
pages.json
View file @
87a2827c
...
...
@@ -26,7 +26,7 @@
"style"
:
{
"navigationBarTitleText"
:
"主页"
,
"enablePullDownRefresh"
:
false
,
"disableScroll"
:
tru
e
"disableScroll"
:
fals
e
}
},
{
...
...
pages/index/index.vue
View file @
87a2827c
...
...
@@ -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
publicConfig/config.js
View file @
87a2827c
...
...
@@ -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代理规则
...
...
static/img/boss/sou.png
0 → 100644
View file @
87a2827c
718 Bytes
static/img/boss/zhichu.png
0 → 100644
View file @
87a2827c
590 Bytes
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment