Commit 240d8e4b authored by 刘杰's avatar 刘杰

企业微信前端

parent e13da015
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ {
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
"version": "0.0", // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
"configurations": [{ "version" : "0.0",
"default" : "configurations" : [
{ {
"launchtype" : "local" "default" : {
}, "launchtype" : "local"
"mp-weixin" : },
{ "mp-weixin" : {
"launchtype" : "local" "launchtype" : "local"
}, },
"type" : "uniCloud" "type" : "uniCloud"
} },
{
"playground" : "custom",
"type" : "uni-app:app-android"
}
] ]
} }
...@@ -259,32 +259,32 @@ ...@@ -259,32 +259,32 @@
<view class="table-container"> <view class="table-container">
<text class="table-title">模拟老板运营情况</text> <text class="table-title">模拟老板运营情况</text>
<scroll-view scroll-x class="table-scroll"> <scroll-view scroll-x class="table-scroll">
<view class="table-scroll"> <!-- <view class="table-scroll"> -->
<uni-table :data="currentData.tableData" border :loading="loading" emptyText="暂无数据"> <uni-table :data="currentData.tableData" border :loading="loading" emptyText="暂无数据">
<uni-tr> <uni-tr>
<uni-th align="center" width="70">模拟老板</uni-th> <uni-th align="center" width="70">模拟老板</uni-th>
<uni-th align="center" width="60">应收(万)</uni-th> <uni-th align="center" width="60">应收(万)</uni-th>
<uni-th align="center" width="60">应付(万)</uni-th> <uni-th align="center" width="60">应付(万)</uni-th>
<uni-th align="center" width="60">应付现结(万)</uni-th> <uni-th align="center" width="60">应付现结(万)</uni-th>
<uni-th align="center" width="60">毛利率(%)</uni-th> <uni-th align="center" width="60">毛利率(%)</uni-th>
<uni-th align="center" width="60">单量</uni-th> <uni-th align="center" width="60">单量</uni-th>
<uni-th align="center" width="60">方(m³)</uni-th> <uni-th align="center" width="60">方(m³)</uni-th>
<uni-th align="center" width="60">吨(T)</uni-th> <uni-th align="center" width="60">吨(T)</uni-th>
<uni-th align="center" width="60">人力</uni-th> <uni-th align="center" width="60">人力</uni-th>
</uni-tr> </uni-tr>
<uni-tr v-for="(item, index) in currentData.tableData" :key="index"> <uni-tr v-for="(item, index) in currentData.tableData" :key="index">
<uni-td>{{ item.boss }}</uni-td> <uni-td>{{ item.boss }}</uni-td>
<uni-td>{{ item.receivable }}</uni-td> <uni-td>{{ item.receivable }}</uni-td>
<uni-td>{{ item.payable }}</uni-td> <uni-td>{{ item.payable }}</uni-td>
<uni-td>{{ item.cashPayable }}</uni-td> <uni-td>{{ item.cashPayable }}</uni-td>
<uni-td>{{ item.profitRate }}%</uni-td> <uni-td>{{ item.profitRate }}%</uni-td>
<uni-td>{{ item.orderCount }}</uni-td> <uni-td>{{ item.orderCount }}</uni-td>
<uni-td>{{ item.volume }}</uni-td> <uni-td>{{ item.volume }}</uni-td>
<uni-td>{{ item.weight }}</uni-td> <uni-td>{{ item.weight }}</uni-td>
<uni-td>{{ item.manpower }}</uni-td> <uni-td>{{ item.manpower }}</uni-td>
</uni-tr> </uni-tr>
</uni-table> </uni-table>
</view> <!-- </view> -->
</scroll-view> </scroll-view>
</view> </view>
</scroll-view> </scroll-view>
...@@ -668,11 +668,11 @@ ...@@ -668,11 +668,11 @@
lineStyle: { lineStyle: {
width: 2 width: 2
} }
} }
] ]
} }
this.myProjectChart.setOption(option) this.myProjectChart.setOption(option)
}, },
async switchTime(time) { async switchTime(time) {
this.activeTime = time this.activeTime = time
...@@ -1520,7 +1520,9 @@ ...@@ -1520,7 +1520,9 @@
width: 100%; width: 100%;
overflow-x: auto; overflow-x: auto;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
touch-action: pan-y;
&::-webkit-scrollbar { &::-webkit-scrollbar {
height: 6px; height: 6px;
background: #f5f5f5; background: #f5f5f5;
......
This diff is collapsed.
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
"@wecom/jssdk": "^2.1.0", "@wecom/jssdk": "^2.1.0",
"echarts": "^5.6.0", "echarts": "^5.6.0",
"jweixin-module": "^1.6.0", "jweixin-module": "^1.6.0",
"sockjs-client": "^1.6.1",
"uview-ui": "^2.0.31", "uview-ui": "^2.0.31",
"vconsole": "^3.15.0" "vconsole": "^3.15.0"
} }
......
...@@ -34,6 +34,13 @@ ...@@ -34,6 +34,13 @@
"resolved" "https://mirrors.cloud.tencent.com/npm/core-js/-/core-js-3.40.0.tgz" "resolved" "https://mirrors.cloud.tencent.com/npm/core-js/-/core-js-3.40.0.tgz"
"version" "3.40.0" "version" "3.40.0"
"debug@^3.2.7":
"integrity" "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ=="
"resolved" "https://mirrors.cloud.tencent.com/npm/debug/-/debug-3.2.7.tgz"
"version" "3.2.7"
dependencies:
"ms" "^2.1.1"
"echarts@^5.6.0": "echarts@^5.6.0":
"integrity" "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==" "integrity" "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA=="
"resolved" "https://mirrors.cloud.tencent.com/npm/echarts/-/echarts-5.6.0.tgz" "resolved" "https://mirrors.cloud.tencent.com/npm/echarts/-/echarts-5.6.0.tgz"
...@@ -42,26 +49,87 @@ ...@@ -42,26 +49,87 @@
"tslib" "2.3.0" "tslib" "2.3.0"
"zrender" "5.6.1" "zrender" "5.6.1"
"eventsource@^2.0.2":
"integrity" "sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA=="
"resolved" "https://mirrors.cloud.tencent.com/npm/eventsource/-/eventsource-2.0.2.tgz"
"version" "2.0.2"
"faye-websocket@^0.11.4":
"integrity" "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g=="
"resolved" "https://mirrors.cloud.tencent.com/npm/faye-websocket/-/faye-websocket-0.11.4.tgz"
"version" "0.11.4"
dependencies:
"websocket-driver" ">=0.5.1"
"http-parser-js@>=0.5.1":
"integrity" "sha512-n1XsPy3rXVxlqxVioEWdC+0+M+SQw0DpJynwtOPo1X+ZlvdzTLtDBIJJlDQTnwZIFJrZSzSGmIOUdP8tu+SgLw=="
"resolved" "https://mirrors.cloud.tencent.com/npm/http-parser-js/-/http-parser-js-0.5.9.tgz"
"version" "0.5.9"
"inherits@^2.0.4":
"integrity" "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
"resolved" "https://mirrors.cloud.tencent.com/npm/inherits/-/inherits-2.0.4.tgz"
"version" "2.0.4"
"jweixin-module@^1.6.0": "jweixin-module@^1.6.0":
"integrity" "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w==" "integrity" "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w=="
"resolved" "https://mirrors.cloud.tencent.com/npm/jweixin-module/-/jweixin-module-1.6.0.tgz" "resolved" "https://mirrors.cloud.tencent.com/npm/jweixin-module/-/jweixin-module-1.6.0.tgz"
"version" "1.6.0" "version" "1.6.0"
"ms@^2.1.1":
"integrity" "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
"resolved" "https://mirrors.cloud.tencent.com/npm/ms/-/ms-2.1.3.tgz"
"version" "2.1.3"
"mutation-observer@^1.0.3": "mutation-observer@^1.0.3":
"integrity" "sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA==" "integrity" "sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA=="
"resolved" "https://mirrors.cloud.tencent.com/npm/mutation-observer/-/mutation-observer-1.0.3.tgz" "resolved" "https://mirrors.cloud.tencent.com/npm/mutation-observer/-/mutation-observer-1.0.3.tgz"
"version" "1.0.3" "version" "1.0.3"
"querystringify@^2.1.1":
"integrity" "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="
"resolved" "https://mirrors.cloud.tencent.com/npm/querystringify/-/querystringify-2.2.0.tgz"
"version" "2.2.0"
"regenerator-runtime@^0.14.0": "regenerator-runtime@^0.14.0":
"integrity" "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" "integrity" "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="
"resolved" "https://mirrors.cloud.tencent.com/npm/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz" "resolved" "https://mirrors.cloud.tencent.com/npm/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz"
"version" "0.14.1" "version" "0.14.1"
"requires-port@^1.0.0":
"integrity" "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="
"resolved" "https://mirrors.cloud.tencent.com/npm/requires-port/-/requires-port-1.0.0.tgz"
"version" "1.0.0"
"safe-buffer@>=5.1.0":
"integrity" "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
"resolved" "https://mirrors.cloud.tencent.com/npm/safe-buffer/-/safe-buffer-5.2.1.tgz"
"version" "5.2.1"
"sockjs-client@^1.6.1":
"integrity" "sha512-2g0tjOR+fRs0amxENLi/q5TiJTqY+WXFOzb5UwXndlK6TO3U/mirZznpx6w34HVMoc3g7cY24yC/ZMIYnDlfkw=="
"resolved" "https://mirrors.cloud.tencent.com/npm/sockjs-client/-/sockjs-client-1.6.1.tgz"
"version" "1.6.1"
dependencies:
"debug" "^3.2.7"
"eventsource" "^2.0.2"
"faye-websocket" "^0.11.4"
"inherits" "^2.0.4"
"url-parse" "^1.5.10"
"tslib@2.3.0": "tslib@2.3.0":
"integrity" "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" "integrity" "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg=="
"resolved" "https://mirrors.cloud.tencent.com/npm/tslib/-/tslib-2.3.0.tgz" "resolved" "https://mirrors.cloud.tencent.com/npm/tslib/-/tslib-2.3.0.tgz"
"version" "2.3.0" "version" "2.3.0"
"url-parse@^1.5.10":
"integrity" "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ=="
"resolved" "https://mirrors.cloud.tencent.com/npm/url-parse/-/url-parse-1.5.10.tgz"
"version" "1.5.10"
dependencies:
"querystringify" "^2.1.1"
"requires-port" "^1.0.0"
"uview-ui@^2.0.31": "uview-ui@^2.0.31":
"integrity" "sha512-I/0fGuvtiKHH/mBb864SGYk+SJ7WaF32tsBgYgeBOsxlUp+Th+Ac2tgz2cTvsQJl6eZYWsKZ3ixiSXCAcxZ8Sw==" "integrity" "sha512-I/0fGuvtiKHH/mBb864SGYk+SJ7WaF32tsBgYgeBOsxlUp+Th+Ac2tgz2cTvsQJl6eZYWsKZ3ixiSXCAcxZ8Sw=="
"resolved" "https://registry.npmjs.org/uview-ui/-/uview-ui-2.0.31.tgz" "resolved" "https://registry.npmjs.org/uview-ui/-/uview-ui-2.0.31.tgz"
...@@ -77,6 +145,20 @@ ...@@ -77,6 +145,20 @@
"core-js" "^3.11.0" "core-js" "^3.11.0"
"mutation-observer" "^1.0.3" "mutation-observer" "^1.0.3"
"websocket-driver@>=0.5.1":
"integrity" "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg=="
"resolved" "https://mirrors.cloud.tencent.com/npm/websocket-driver/-/websocket-driver-0.7.4.tgz"
"version" "0.7.4"
dependencies:
"http-parser-js" ">=0.5.1"
"safe-buffer" ">=5.1.0"
"websocket-extensions" ">=0.1.1"
"websocket-extensions@>=0.1.1":
"integrity" "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg=="
"resolved" "https://mirrors.cloud.tencent.com/npm/websocket-extensions/-/websocket-extensions-0.1.4.tgz"
"version" "0.1.4"
"zrender@5.6.1": "zrender@5.6.1":
"integrity" "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==" "integrity" "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag=="
"resolved" "https://mirrors.cloud.tencent.com/npm/zrender/-/zrender-5.6.1.tgz" "resolved" "https://mirrors.cloud.tencent.com/npm/zrender/-/zrender-5.6.1.tgz"
......
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