update
This commit is contained in:
parent
86fba076cc
commit
f3a17650cd
209
App.vue
209
App.vue
@ -1,92 +1,87 @@
|
|||||||
<script>
|
<script>
|
||||||
import Vue from 'vue'
|
import Vue from "vue";
|
||||||
import util from '@/common/utils'
|
import util from "@/common/utils";
|
||||||
import {
|
import { mapGetters, mapActions, mapMutations } from "vuex";
|
||||||
mapGetters,
|
export default {
|
||||||
mapActions,
|
computed: {
|
||||||
mapMutations
|
...mapGetters({ user: "getUser" }),
|
||||||
} from 'vuex'
|
|
||||||
export default {
|
|
||||||
|
|
||||||
computed:{
|
|
||||||
...mapGetters({'user':'getUser'})
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
...mapActions(["memberLogin", "getLoginCode"]),
|
||||||
...mapActions(['memberLogin','getLoginCode']),
|
...mapMutations(["setVisitChannels"]),
|
||||||
...mapMutations(['setVisitChannels']),
|
handleGetUserInfo() {
|
||||||
handleGetUserInfo(){
|
|
||||||
wx.request({
|
wx.request({
|
||||||
url: 'https://qifu-api.baidubce.com/ip/local/geo/v1/district',
|
url: "https://qifu-api.baidubce.com/ip/local/geo/v1/district",
|
||||||
success(response) {
|
success(response) {
|
||||||
const data = response.data;
|
const data = response.data;
|
||||||
// 处理数据
|
// 处理数据
|
||||||
let obj = {
|
let obj = {
|
||||||
...data.data,
|
...data.data,
|
||||||
ip: data.ip
|
ip: data.ip,
|
||||||
}
|
};
|
||||||
console.log('obj',obj)
|
console.log("obj", obj);
|
||||||
uni.setStorageSync('userInfo',obj)
|
uni.setStorageSync("userInfo", obj);
|
||||||
},
|
},
|
||||||
fail(error) {
|
fail(error) {
|
||||||
// 处理错误
|
// 处理错误
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
onLaunch: function(options) {
|
});
|
||||||
|
},
|
||||||
|
},
|
||||||
|
onLaunch: function (options) {
|
||||||
uni.getSystemInfo({
|
uni.getSystemInfo({
|
||||||
success: function(e) {
|
success: function (e) {
|
||||||
// #ifndef MP
|
// #ifndef MP
|
||||||
Vue.prototype.StatusBar = e.statusBarHeight;
|
Vue.prototype.StatusBar = e.statusBarHeight;
|
||||||
if (e.platform == 'android') {
|
if (e.platform == "android") {
|
||||||
Vue.prototype.CustomBar = e.statusBarHeight + 50;
|
Vue.prototype.CustomBar = e.statusBarHeight + 50;
|
||||||
} else {
|
} else {
|
||||||
Vue.prototype.CustomBar = e.statusBarHeight + 45;
|
Vue.prototype.CustomBar = e.statusBarHeight + 45;
|
||||||
};
|
}
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
Vue.prototype.StatusBar = e.statusBarHeight;
|
Vue.prototype.StatusBar = e.statusBarHeight;
|
||||||
let custom = wx.getMenuButtonBoundingClientRect();
|
let custom = wx.getMenuButtonBoundingClientRect();
|
||||||
Vue.prototype.Custom = custom;
|
Vue.prototype.Custom = custom;
|
||||||
Vue.prototype.CustomBar = custom.bottom + custom.top - e.statusBarHeight;
|
Vue.prototype.CustomBar =
|
||||||
Vue.prototype.pageWindowHeight = e.screenHeight-custom.bottom - custom.top + e.statusBarHeight;;
|
custom.bottom + custom.top - e.statusBarHeight;
|
||||||
|
Vue.prototype.pageWindowHeight =
|
||||||
|
e.screenHeight - custom.bottom - custom.top + e.statusBarHeight;
|
||||||
// #endif
|
// #endif
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
let _this = this;
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
let _this = this
|
|
||||||
if (this.user.WeChat_MiniProToken) {
|
if (this.user.WeChat_MiniProToken) {
|
||||||
this.memberLogin()
|
this.memberLogin();
|
||||||
} else {
|
} else {
|
||||||
this.getLoginCode()
|
this.getLoginCode();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.setVisitChannels(options.scene)
|
this.setVisitChannels(options.scene);
|
||||||
const updateManager = uni.getUpdateManager()
|
const updateManager = uni.getUpdateManager();
|
||||||
updateManager.onUpdateReady(function(res) {
|
updateManager.onUpdateReady(function (res) {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '更新提示',
|
title: "更新提示",
|
||||||
content: '新版本已经准备好,是否重启应用?',
|
content: "新版本已经准备好,是否重启应用?",
|
||||||
success(res) {
|
success(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
// 新的版本已经下载好,调用 applyUpdate 应用新版本并重启
|
// 新的版本已经下载好,调用 applyUpdate 应用新版本并重启
|
||||||
updateManager.applyUpdate();
|
updateManager.applyUpdate();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
this.handleGetUserInfo()
|
|
||||||
|
|
||||||
this.$util.addUserBehavior( {intoRoute: '/'+options.path, outtoRoute: ''}) // 记录用户行为
|
|
||||||
},
|
},
|
||||||
onShow: function() {
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
this.handleGetUserInfo();
|
||||||
|
|
||||||
|
this.$util.addUserBehavior({
|
||||||
|
intoRoute: "/" + options.path,
|
||||||
|
outtoRoute: "",
|
||||||
|
}); // 记录用户行为
|
||||||
|
},
|
||||||
|
onShow: function () {
|
||||||
// var pages = getCurrentPages() // 获取加载的页面
|
// var pages = getCurrentPages() // 获取加载的页面
|
||||||
// let len = pages.length
|
// let len = pages.length
|
||||||
// if (len > 0) {
|
// if (len > 0) {
|
||||||
@ -96,57 +91,55 @@
|
|||||||
// }
|
// }
|
||||||
// uni.hideTabBar()
|
// uni.hideTabBar()
|
||||||
},
|
},
|
||||||
onHide: function(options) {
|
onHide: function (options) {
|
||||||
let pages = getCurrentPages() // 获取加载的页面
|
let pages = getCurrentPages(); // 获取加载的页面
|
||||||
|
|
||||||
let len = pages.length
|
let len = pages.length;
|
||||||
if (len > 0) {
|
if (len > 0) {
|
||||||
let currentPage = pages[len - 1] // 获取当前页面的对象
|
let currentPage = pages[len - 1]; // 获取当前页面的对象
|
||||||
let nowRoute = '/' + currentPage.route // 当前页面url
|
let nowRoute = "/" + currentPage.route; // 当前页面url
|
||||||
this.$util.addUserBehavior( {intoRoute: '', outtoRoute:nowRoute}) // 记录用户行为
|
this.$util.addUserBehavior({ intoRoute: "", outtoRoute: nowRoute }); // 记录用户行为
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@import url("./common/uni.css");
|
@import url("./common/uni.css");
|
||||||
/*每个页面公共css */
|
/*每个页面公共css */
|
||||||
page {
|
page {
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #333;
|
color: #333;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #f8f9fb;
|
background-color: #f8f9fb;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
/* 加载更多 */
|
||||||
|
.load-more {
|
||||||
/* 加载更多 */
|
|
||||||
.load-more {
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 80rpx;
|
height: 80rpx;
|
||||||
color: #9999;
|
color: #9999;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 审核环节最后一个加底部边距 */
|
/* 审核环节最后一个加底部边距 */
|
||||||
.process-box.uni-active {
|
.process-box.uni-active {
|
||||||
padding-bottom: 30rpx;
|
padding-bottom: 30rpx;
|
||||||
}
|
}
|
||||||
.process-box process-unit:nth-last-child(1) .prosess-unit::before{
|
.process-box process-unit:nth-last-child(1) .prosess-unit::before {
|
||||||
content: '';
|
content: "";
|
||||||
width: 0rpx;
|
width: 0rpx;
|
||||||
}
|
}
|
||||||
.ico,
|
.ico,
|
||||||
.ico-s {
|
.ico-s {
|
||||||
display: block;
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
.ico-s:before,
|
||||||
|
.ico:before {
|
||||||
.ico-s:before,
|
content: "";
|
||||||
.ico:before {
|
|
||||||
content: '';
|
|
||||||
width: 36rpx;
|
width: 36rpx;
|
||||||
height: 34rpx;
|
height: 34rpx;
|
||||||
display: block;
|
display: block;
|
||||||
@ -155,27 +148,27 @@
|
|||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ico-s:before {
|
.ico-s:before {
|
||||||
width: 18rpx;
|
width: 18rpx;
|
||||||
height: 18rpx;
|
height: 18rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ico-fj:before {
|
.ico-fj:before {
|
||||||
background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/fjwj.png');
|
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/fjwj.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
.ico-tp:before {
|
.ico-tp:before {
|
||||||
background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/fjtp.png');
|
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/fjtp.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
.ico-bz:before {
|
.ico-bz:before {
|
||||||
background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/tender/yj.png');
|
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/tender/yj.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* #ifdef MP-WEIXIN */
|
/* #ifdef MP-WEIXIN */
|
||||||
/*
|
/*
|
||||||
checkbox .wx-checkbox-input {
|
checkbox .wx-checkbox-input {
|
||||||
border-radius: 20%;
|
border-radius: 20%;
|
||||||
border: 1rpx solid #91A6D7;
|
border: 1rpx solid #91A6D7;
|
||||||
@ -193,25 +186,25 @@
|
|||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
} */
|
} */
|
||||||
|
|
||||||
checkbox .wx-checkbox-input {
|
checkbox .wx-checkbox-input {
|
||||||
border-radius: 50% ;
|
border-radius: 50%;
|
||||||
background-color: #D8DFEE ;
|
background-color: #d8dfee;
|
||||||
width: 38rpx ;
|
width: 38rpx;
|
||||||
height: 38rpx ;
|
height: 38rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
checkbox .wx-checkbox-input.wx-checkbox-input-checked {
|
||||||
background-color: #2E6CF6;
|
background-color: #2e6cf6;
|
||||||
border-color: #2E6CF6 ;
|
border-color: #2e6cf6;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
|
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
}
|
}
|
||||||
/* #endif */
|
/* #endif */
|
||||||
button::after{
|
button::after {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -229,7 +229,7 @@ h4 {
|
|||||||
background-image: url('/static/images/expense/rzlx.png');
|
background-image: url('/static/images/expense/rzlx.png');
|
||||||
}
|
}
|
||||||
.ico-khyh:before{
|
.ico-khyh:before{
|
||||||
background-image: url('/static/images/expense/khyh.png');
|
background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/expense/khyh.png');
|
||||||
}
|
}
|
||||||
.ico-dw:before{
|
.ico-dw:before{
|
||||||
background-image: url('/static/images/expense/dw.png');
|
background-image: url('/static/images/expense/dw.png');
|
||||||
@ -274,7 +274,7 @@ h4 {
|
|||||||
background-image: url('/static/images/tender/lxr.png');
|
background-image: url('/static/images/tender/lxr.png');
|
||||||
}
|
}
|
||||||
.ico-zcyz:before{
|
.ico-zcyz:before{
|
||||||
background-image: url('/static/images/expense/zcyz.png');
|
background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/expense/zcyz.png');
|
||||||
}
|
}
|
||||||
.ico-zcmc:before{
|
.ico-zcmc:before{
|
||||||
background-image: url('/static/images/expense/zcmc.png');
|
background-image: url('/static/images/expense/zcmc.png');
|
||||||
|
|||||||
@ -187,10 +187,10 @@
|
|||||||
background-image: url('/static/images/tender/bgw.png');
|
background-image: url('/static/images/tender/bgw.png');
|
||||||
}
|
}
|
||||||
.ico-zbr:before{
|
.ico-zbr:before{
|
||||||
background-image: url('/static/images/tender/zbr.png');
|
background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/tender/zbr.png');
|
||||||
}
|
}
|
||||||
.ico-jdr:before{
|
.ico-jdr:before{
|
||||||
background-image: url('/static/images/tender/jdr.png');
|
background-image: url('https://eshangtech.com/ShopICO/ahyd-BID/tender/jdr.png');
|
||||||
}
|
}
|
||||||
.ico-fdhfqk:before{
|
.ico-fdhfqk:before{
|
||||||
background-image: url('/static/images/tender/fdhfqk.png');
|
background-image: url('/static/images/tender/fdhfqk.png');
|
||||||
|
|||||||
269
pages.json
269
pages.json
@ -2,8 +2,7 @@
|
|||||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "驿达数智化看板",
|
"navigationBarTitleText": "驿达数智化看板",
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"enablePullDownRefresh": true
|
"enablePullDownRefresh": true
|
||||||
@ -11,23 +10,20 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/userCenter/userCenter",
|
"path": "pages/userCenter/userCenter",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "个人中心",
|
"navigationBarTitleText": "个人中心",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/register/register",
|
"path": "pages/register/register",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "授权"
|
"navigationBarTitleText": "授权"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/webview/webview",
|
"path": "pages/webview/webview",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "驿达数智化看板"
|
"navigationBarTitleText": "驿达数智化看板"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -35,21 +31,18 @@
|
|||||||
"subPackages": [ //分包加载配置
|
"subPackages": [ //分包加载配置
|
||||||
{
|
{
|
||||||
"root": "pages/index/old",
|
"root": "pages/index/old",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style":{
|
"style": {
|
||||||
"navigationBarTitleText": "驿达数智化看板",
|
"navigationBarTitleText": "驿达数智化看板",
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"enablePullDownRefresh": true
|
"enablePullDownRefresh": true
|
||||||
}
|
}
|
||||||
}
|
}]
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/authorityApproval",
|
"root": "pages/authorityApproval",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "权限审批",
|
"navigationBarTitleText": "权限审批",
|
||||||
@ -58,8 +51,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detail",
|
"path": "detail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "权限审批",
|
"navigationBarTitleText": "权限审批",
|
||||||
"enablePullDownRefresh": true
|
"enablePullDownRefresh": true
|
||||||
}
|
}
|
||||||
@ -68,8 +60,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/merchantAccount",
|
"root": "pages/merchantAccount",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
@ -87,26 +78,22 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/settlementApproval",
|
"root": "pages/settlementApproval",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "结算审批"
|
"navigationBarTitleText": "结算审批"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detail",
|
"path": "detail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "结算审批"
|
"navigationBarTitleText": "结算审批"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "yearSettlement",
|
"path": "yearSettlement",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "年度结算"
|
"navigationBarTitleText": "年度结算"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -114,32 +101,27 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/auditingPop",
|
"root": "pages/auditingPop",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "jointlySign",
|
"path": "jointlySign",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "会签"
|
"navigationBarTitleText": "会签"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "transfer",
|
"path": "transfer",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "移交"
|
"navigationBarTitleText": "移交"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "toExamine",
|
"path": "toExamine",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "审核"
|
"navigationBarTitleText": "审核"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "reject",
|
"path": "reject",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "驳回"
|
"navigationBarTitleText": "驳回"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -148,8 +130,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"root": "pages/nationalPage",
|
"root": "pages/nationalPage",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
@ -172,16 +153,14 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "nationalServerpart",
|
"path": "nationalServerpart",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "服务区每日营收",
|
"navigationBarTitleText": "服务区每日营收",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "rankPage",
|
"path": "rankPage",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "服务区排名",
|
"navigationBarTitleText": "服务区排名",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"disableScroll": true,
|
"disableScroll": true,
|
||||||
@ -190,16 +169,14 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "testPage",
|
"path": "testPage",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "merchantRevenue",
|
"path": "merchantRevenue",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "商户排名",
|
"navigationBarTitleText": "商户排名",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"disableScroll": true,
|
"disableScroll": true,
|
||||||
@ -210,8 +187,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/earlyWarning",
|
"root": "pages/earlyWarning",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
@ -249,8 +225,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/revenue",
|
"root": "pages/revenue",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
@ -275,8 +250,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/revenueStatistics",
|
"root": "pages/revenueStatistics",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
@ -301,20 +275,17 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/newamine",
|
"root": "pages/newamine",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
}
|
}]
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/commercialBINew",
|
"root": "pages/commercialBINew",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "flowAnalysis",
|
"path": "flowAnalysis",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
@ -333,15 +304,13 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/summaryOfPortraits",
|
"root": "pages/summaryOfPortraits",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
}
|
}]
|
||||||
]
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{ // 商业BI
|
{ // 商业BI
|
||||||
@ -457,15 +426,13 @@
|
|||||||
{
|
{
|
||||||
// 项目分润报表
|
// 项目分润报表
|
||||||
"root": "pages/projectProfitSharing",
|
"root": "pages/projectProfitSharing",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
}
|
}]
|
||||||
]
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -491,8 +458,7 @@
|
|||||||
// 考核考评
|
// 考核考评
|
||||||
{
|
{
|
||||||
"root": "pages/examine",
|
"root": "pages/examine",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
@ -511,8 +477,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/projectWarning",
|
"root": "pages/projectWarning",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "分润比例切换"
|
"navigationBarTitleText": "分润比例切换"
|
||||||
@ -529,31 +494,26 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/robot",
|
"root": "pages/robot",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style":
|
"style": {
|
||||||
{
|
"navigationBarTitleText": "数智助手",
|
||||||
"navigationBarTitleText": "数智助手"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
}
|
}]
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/map",
|
"root": "pages/map",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detail",
|
"path": "detail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"disableScroll": true
|
"disableScroll": true
|
||||||
@ -568,11 +528,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/operatingStatements",
|
"root": "pages/operatingStatements",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "经营报表",
|
"navigationBarTitleText": "经营报表",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#647BD1",
|
"navigationBarBackgroundColor": "#647BD1",
|
||||||
@ -581,8 +539,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detail",
|
"path": "detail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "经营报表",
|
"navigationBarTitleText": "经营报表",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#647BD1",
|
"navigationBarBackgroundColor": "#647BD1",
|
||||||
@ -591,8 +548,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "operatingTrend",
|
"path": "operatingTrend",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "经营趋势",
|
"navigationBarTitleText": "经营趋势",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#647BD1",
|
"navigationBarBackgroundColor": "#647BD1",
|
||||||
@ -603,40 +559,34 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/tender",
|
"root": "pages/tender",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "tender",
|
"path": "tender",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "招标投标"
|
"navigationBarTitleText": "招标投标"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "tenderRecord",
|
"path": "tenderRecord",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "招标备案详情"
|
"navigationBarTitleText": "招标备案详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "tenderAlteration",
|
"path": "tenderAlteration",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "招标变更详情"
|
"navigationBarTitleText": "招标变更详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "decisionRecord",
|
"path": "decisionRecord",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "决标备案详情"
|
"navigationBarTitleText": "决标备案详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "specialProjects",
|
"path": "specialProjects",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "专项工程详情",
|
"navigationBarTitleText": "专项工程详情",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
@ -645,19 +595,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/serviceAreaReimbursement",
|
"root": "pages/serviceAreaReimbursement",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "serviceAreaReimbursement",
|
"path": "serviceAreaReimbursement",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "服务区报销"
|
"navigationBarTitleText": "服务区报销"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detail",
|
"path": "detail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarTitleText": ""
|
"navigationBarTitleText": ""
|
||||||
}
|
}
|
||||||
@ -666,27 +613,23 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/dataSummary",
|
"root": "pages/dataSummary",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "dataSummary",
|
"path": "dataSummary",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "日结校验"
|
"navigationBarTitleText": "日结校验"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "dayDetail",
|
"path": "dayDetail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarBackgroundColor": "#EAEBEB",
|
"navigationBarBackgroundColor": "#EAEBEB",
|
||||||
"navigationBarTitleText": "日结校验"
|
"navigationBarTitleText": "日结校验"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detail",
|
"path": "detail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "日结校验"
|
"navigationBarTitleText": "日结校验"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -694,19 +637,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/businessApproval",
|
"root": "pages/businessApproval",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "businessApproval",
|
"path": "businessApproval",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "商品审批"
|
"navigationBarTitleText": "商品审批"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "productDetail",
|
"path": "productDetail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "商品审批"
|
"navigationBarTitleText": "商品审批"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -714,51 +654,44 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/everdayRenven",
|
"root": "pages/everdayRenven",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarTitleText": "每日营收汇总"
|
"navigationBarTitleText": "每日营收汇总"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detail",
|
"path": "detail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarTitleText": "每日营收"
|
"navigationBarTitleText": "每日营收"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "serviceIndex",
|
"path": "serviceIndex",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarTitleText": "服务区每日营收"
|
"navigationBarTitleText": "服务区每日营收"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "serviceDetail",
|
"path": "serviceDetail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarTitleText": "服务区每日营收"
|
"navigationBarTitleText": "服务区每日营收"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "AnhuiIndex",
|
"path": "AnhuiIndex",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "每日营收汇总",
|
"navigationBarTitleText": "每日营收汇总",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "AnhuiServerpart",
|
"path": "AnhuiServerpart",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "服务区每日营收",
|
"navigationBarTitleText": "服务区每日营收",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
@ -767,19 +700,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/suggestion",
|
"root": "pages/suggestion",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "suggestion",
|
"path": "suggestion",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "投诉建议"
|
"navigationBarTitleText": "投诉建议"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "suggestionDetail",
|
"path": "suggestionDetail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "投诉建议"
|
"navigationBarTitleText": "投诉建议"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -787,19 +717,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/contract",
|
"root": "pages/contract",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "contract",
|
"path": "contract",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "合同审批"
|
"navigationBarTitleText": "合同审批"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detail",
|
"path": "detail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "合同审批"
|
"navigationBarTitleText": "合同审批"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -807,26 +734,22 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/cashAudit",
|
"root": "pages/cashAudit",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "list",
|
"path": "list",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "收银稽核"
|
"navigationBarTitleText": "收银稽核"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detail",
|
"path": "detail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "收银稽核详情"
|
"navigationBarTitleText": "收银稽核详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "check",
|
"path": "check",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "收银稽核反馈"
|
"navigationBarTitleText": "收银稽核反馈"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -834,19 +757,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/investment",
|
"root": "pages/investment",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "investment",
|
"path": "investment",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "招商审批"
|
"navigationBarTitleText": "招商审批"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "investmentDetail",
|
"path": "investmentDetail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"navigationBarTitleText": "招商审批"
|
"navigationBarTitleText": "招商审批"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -854,19 +774,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/expenseApproval",
|
"root": "pages/expenseApproval",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "expenseApproval",
|
"path": "expenseApproval",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "财务审批"
|
"navigationBarTitleText": "财务审批"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "expenseDetail",
|
"path": "expenseDetail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "财务审批"
|
"navigationBarTitleText": "财务审批"
|
||||||
}
|
}
|
||||||
@ -875,19 +792,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/commodity_temp",
|
"root": "pages/commodity_temp",
|
||||||
"pages": [
|
"pages": [{
|
||||||
{
|
|
||||||
"path": "index",
|
"path": "index",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "资质审批"
|
"navigationBarTitleText": "资质审批"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "detail",
|
"path": "detail",
|
||||||
"style":
|
"style": {
|
||||||
{
|
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "资质审批"
|
"navigationBarTitleText": "资质审批"
|
||||||
}
|
}
|
||||||
@ -906,8 +820,7 @@
|
|||||||
"selectedColor": "#3295f9",
|
"selectedColor": "#3295f9",
|
||||||
"borderStyle": "black",
|
"borderStyle": "black",
|
||||||
"backgroundColor": "#ffffff",
|
"backgroundColor": "#ffffff",
|
||||||
"list": [
|
"list": [{
|
||||||
{
|
|
||||||
"pagePath": "pages/index/index",
|
"pagePath": "pages/index/index",
|
||||||
"iconPath": "static/images/tab/home.png",
|
"iconPath": "static/images/tab/home.png",
|
||||||
"selectedIconPath": "static/images/tab/homeActive.png",
|
"selectedIconPath": "static/images/tab/homeActive.png",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -125,7 +125,7 @@ import request from '@/util/index.js'
|
|||||||
endTime: obj.et,
|
endTime: obj.et,
|
||||||
serverpartId: obj.id,
|
serverpartId: obj.id,
|
||||||
provinceCode: obj.pcode,
|
provinceCode: obj.pcode,
|
||||||
BusinessTrade: obj.BusinessTrade,
|
BusinessTrade: obj.BusinessTrade || '',
|
||||||
SearchKeyName:_this.pageOption.searchKey,
|
SearchKeyName:_this.pageOption.searchKey,
|
||||||
SearchKeyValue:_this.pageOption.searchValue,
|
SearchKeyValue:_this.pageOption.searchValue,
|
||||||
BusinessType:_this.pageOption.BusinessTypeValue>0?_this.pageOption.BusinessTypeValue:'',
|
BusinessType:_this.pageOption.BusinessTypeValue>0?_this.pageOption.BusinessTypeValue:'',
|
||||||
|
|||||||
@ -1,148 +1,306 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="main">
|
<web-view src="https://ahyd.eshangtech.com/robot/"></web-view>
|
||||||
|
<!-- <web-view src="https://saas.eshangtech.com/robot/robot"></web-view> -->
|
||||||
|
<!-- <view class="main" v-if="false">
|
||||||
|
<view
|
||||||
|
class="mainTop"
|
||||||
|
:style="{
|
||||||
|
height: menu.bottom + 6 + 'px',
|
||||||
|
paddingTop: menu.top - 6 + 'px',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<view class="mainTopContent" :style="{ height: menu.height + 12 + 'px' }">
|
||||||
|
<image
|
||||||
|
class="backIcon"
|
||||||
|
src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/navigation-left.svg"
|
||||||
|
/>
|
||||||
|
<view class="robotBox">
|
||||||
|
<image
|
||||||
|
class="robotImg"
|
||||||
|
src="https://eshangtech.com/ShopICO/ahyd-BID/robot/robotIcon.png"
|
||||||
|
/>
|
||||||
|
<view class="robotDetail">
|
||||||
|
<span class="name">小驿</span>
|
||||||
|
<span class="desc">商业智能助理 </span>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<view class="dialogContentBox">
|
<view class="dialogContentBox">
|
||||||
<view :class="item.type===1?'item itemLeft':'item rightItem'" v-for="(item,index) in dialogueList" :key="index" :style="{marginTop: index!==0?'8px':''}">
|
<view
|
||||||
<text :id="'printBox' + index" :class="item.type===1?`dialogItem white`:`dialogItem green`">
|
:class="item.type === 1 ? 'item itemLeft' : 'item rightItem'"
|
||||||
{{ item.text || '' }}
|
v-for="(item, index) in dialogueList"
|
||||||
</text>
|
:key="index"
|
||||||
|
:style="{ marginTop: index !== 0 ? '8px' : '' }"
|
||||||
|
>
|
||||||
|
<view
|
||||||
|
:id="'printBox' + index"
|
||||||
|
:class="item.type === 1 ? `dialogItem white` : `dialogItem green`"
|
||||||
|
>
|
||||||
|
{{ item.text || "" }}
|
||||||
|
<view class="line" v-if="item.searchType === 'default'"></view>
|
||||||
|
<view class="defaultBox">
|
||||||
|
<view>你可能想问:</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="loadingBox" v-if="isLoading">
|
|
||||||
小驿分析中...
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<view class="loadingBox" v-if="isLoading"> 小驿分析中... </view>
|
||||||
|
</view>
|
||||||
|
|
||||||
<view class="inputBox">
|
<view class="inputBox">
|
||||||
<textarea class="searchText" :value="searchText" @input="handleInput"/>
|
<image
|
||||||
<view class="searchBtn" @click="handleSubmit">
|
class="microphone"
|
||||||
发送
|
src="https://eshangtech.com/ShopICO/ahyd-BID/robot/microphone.png"
|
||||||
</view>
|
/>
|
||||||
</view>
|
<div class="textBox">
|
||||||
|
<textarea
|
||||||
|
class="searchText"
|
||||||
|
:value="searchText"
|
||||||
|
@input="handleInput"
|
||||||
|
placeholder="有问题尽管问我~"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<view class="searchBtn" @click="handleSubmit"> 发送 </view>
|
||||||
</view>
|
</view>
|
||||||
|
</view> -->
|
||||||
</template>
|
</template>
|
||||||
<script >
|
<script >
|
||||||
import request from '@/util/index.js'
|
import request from "@/util/index.js";
|
||||||
export default {
|
export default {
|
||||||
data(){
|
data() {
|
||||||
return {
|
return {
|
||||||
searchText:'',
|
searchText: "",
|
||||||
dialogueList:[],// 对话list type 1 是居左 2 是居右
|
dialogueList: [], // 对话list type 1 是居左 2 是居右 searchType default
|
||||||
printText:'',
|
printText: "",
|
||||||
isLoading: false,// 是否加载中
|
isLoading: false, // 是否加载中
|
||||||
}
|
useInfo: {},
|
||||||
|
menu: {},
|
||||||
|
};
|
||||||
},
|
},
|
||||||
onLoad(){
|
onLoad() {
|
||||||
this.dialogueList.push({text:`您好!我是服务区商业智能助理小驿。\n您想了解服务区哪些方面的信息?`,type:1})
|
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||||
this.handlePrintText()
|
console.log("menu", this.menu);
|
||||||
|
this.dialogueList.push({
|
||||||
|
text: `您好!我是服务区商业智能助理小驿。\n您想了解服务区哪些方面的信息?`,
|
||||||
|
type: 1,
|
||||||
|
searchType: "default",
|
||||||
|
});
|
||||||
|
this.handlePrintText();
|
||||||
// this.printText = `您好!我是服务区商业智能助理小驿。<br>您想了解服务区哪些方面的信息?`
|
// this.printText = `您好!我是服务区商业智能助理小驿。<br>您想了解服务区哪些方面的信息?`
|
||||||
},
|
},
|
||||||
methods:{
|
methods: {
|
||||||
handleSubmit(){
|
handleSubmit() {
|
||||||
let list = this.dialogueList
|
let list = this.dialogueList;
|
||||||
console.log('this.searchText',this.searchText)
|
console.log("this.searchText", this.searchText);
|
||||||
if(this.searchText){
|
if (this.searchText) {
|
||||||
list.push({text:this.searchText,type:2})
|
list.push({ text: this.searchText, type: 2 });
|
||||||
this.dialogueList = list
|
this.dialogueList = list;
|
||||||
this.$forceUpdate()
|
this.$forceUpdate();
|
||||||
this.handleGetData()
|
this.handleGetData();
|
||||||
this.searchText= ''
|
this.searchText = "";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 输入框中的值
|
// 输入框中的值
|
||||||
handleInput(e){
|
handleInput(e) {
|
||||||
console.log('e',e)
|
console.log("e", e);
|
||||||
this.searchText = e.detail.value
|
this.searchText = e.detail.value;
|
||||||
},
|
},
|
||||||
// 查询的方法
|
// 查询的方法
|
||||||
async handleGetData(){
|
async handleGetData() {
|
||||||
this.isLoading = true
|
this.isLoading = true;
|
||||||
const data = await request.$webGet('CommercialApi/Analysis/TranslateSentence',{Sentence: this.searchText})
|
const data = await request.$webGet(
|
||||||
console.log('data',data)
|
"CommercialApi/Analysis/TranslateSentence",
|
||||||
if(data.Result_Code === 999){
|
{ Sentence: this.searchText }
|
||||||
this.dialogueList.push({text:`'小驿还无法理解,请换个说法我会不停努力学习的!'`,type:1})
|
);
|
||||||
}else{
|
console.log("data", data);
|
||||||
let str = data.Result_Data.RevenueAnalysis + '\n'
|
if (data.Result_Code === 999) {
|
||||||
let list = data.Result_Data.ServerpartList
|
this.dialogueList.push({
|
||||||
if(list && list.length>0){
|
text: `'小驿还无法理解,请换个说法我会不停努力学习的!'`,
|
||||||
list.forEach(item=>{
|
type: 1,
|
||||||
let obj = item['RevenueINC']
|
});
|
||||||
if(str){
|
} else {
|
||||||
str+=`${item.ServerpartName}:${this.formatNumber(obj.curYearData / 10000)}万元${obj.increaseRate>0?',同比增幅':obj.increaseRate<0?',同比降幅':''}${obj.increaseRate ||''}\n`
|
let str = data.Result_Data.RevenueAnalysis + "\n";
|
||||||
}else{
|
let list = data.Result_Data.ServerpartList;
|
||||||
str = `${item.ServerpartName}:${this.formatNumber(obj.curYearData / 10000)}万元${obj.increaseRate>0?',同比同比增幅':obj.increaseRate<0?',同比降幅':''}${obj.increaseRate || ''}\n`
|
if (list && list.length > 0) {
|
||||||
|
list.forEach((item) => {
|
||||||
|
let obj = item["RevenueINC"];
|
||||||
|
if (str) {
|
||||||
|
str += `${item.ServerpartName}:${this.formatNumber(
|
||||||
|
obj.curYearData / 10000
|
||||||
|
)}万元${
|
||||||
|
obj.increaseRate > 0
|
||||||
|
? ",同比增幅"
|
||||||
|
: obj.increaseRate < 0
|
||||||
|
? ",同比降幅"
|
||||||
|
: ""
|
||||||
|
}${obj.increaseRate || ""}\n`;
|
||||||
|
} else {
|
||||||
|
str = `${item.ServerpartName}:${this.formatNumber(
|
||||||
|
obj.curYearData / 10000
|
||||||
|
)}万元${
|
||||||
|
obj.increaseRate > 0
|
||||||
|
? ",同比同比增幅"
|
||||||
|
: obj.increaseRate < 0
|
||||||
|
? ",同比降幅"
|
||||||
|
: ""
|
||||||
|
}${obj.increaseRate || ""}\n`;
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
this.dialogueList.push({text: str,type:1})
|
this.dialogueList.push({ text: str, type: 1 });
|
||||||
}
|
}
|
||||||
this.isLoading = false
|
this.isLoading = false;
|
||||||
},
|
},
|
||||||
// 打印机效果
|
// 打印机效果
|
||||||
handlePrintText(){
|
handlePrintText() {
|
||||||
const query = wx.createSelectorQuery();
|
const query = wx.createSelectorQuery();
|
||||||
const contentBox = query.select(`#printBox${this.dialogueList && this.dialogueList.length>0? this.dialogueList.length - 1:0}`)
|
const contentBox = query.select(
|
||||||
console.log('contentBox',contentBox)
|
`#printBox${
|
||||||
|
this.dialogueList && this.dialogueList.length > 0
|
||||||
|
? this.dialogueList.length - 1
|
||||||
|
: 0
|
||||||
|
}`
|
||||||
|
);
|
||||||
|
console.log("contentBox", contentBox);
|
||||||
},
|
},
|
||||||
formatNumber(num) {
|
formatNumber(num) {
|
||||||
// 确保输入为数字类型
|
// 确保输入为数字类型
|
||||||
num = Number(num);
|
num = Number(num);
|
||||||
if (isNaN(num)) return '0.00'; // 处理无效数字
|
if (isNaN(num)) return "0.00"; // 处理无效数字
|
||||||
// 将数字转换为字符串,并分离整数部分和小数部分
|
// 将数字转换为字符串,并分离整数部分和小数部分
|
||||||
let parts = num.toString().split('.');
|
let parts = num.toString().split(".");
|
||||||
// 处理小数部分,不进行四舍五入,直接截取小数点后两位
|
// 处理小数部分,不进行四舍五入,直接截取小数点后两位
|
||||||
let decimalPart = parts[1] ? parts[1].substring(0, 2) : '00';
|
let decimalPart = parts[1] ? parts[1].substring(0, 2) : "00";
|
||||||
if (decimalPart.length < 2) {
|
if (decimalPart.length < 2) {
|
||||||
decimalPart = decimalPart.padEnd(2, '0'); // 不足两位补零
|
decimalPart = decimalPart.padEnd(2, "0"); // 不足两位补零
|
||||||
}
|
}
|
||||||
// 格式化整数部分,添加千分号
|
// 格式化整数部分,添加千分号
|
||||||
let integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
let integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
||||||
// 返回带千分号的整数部分和保留两位小数的数字
|
// 返回带千分号的整数部分和保留两位小数的数字
|
||||||
return `${integerPart}.${decimalPart}`;
|
return `${integerPart}.${decimalPart}`;
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.main{
|
.main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background: #f0f0f0;
|
// background: #f0f0f0;
|
||||||
.dialogContentBox{
|
background-image: url("https://eshangtech.com/ShopICO/ahyd-BID/robot/robotBackground.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
.mainTop {
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
.mainTopContent {
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding-left: 32rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
.backIcon {
|
||||||
|
width: 52rpx;
|
||||||
|
height: 52rpx;
|
||||||
|
margin-right: 16rpx;
|
||||||
|
}
|
||||||
|
.robotBox {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
.robotImg {
|
||||||
|
width: 68rpx;
|
||||||
|
height: 68rpx;
|
||||||
|
margin-right: 16rpx;
|
||||||
|
}
|
||||||
|
.robotDetail {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
.name {
|
||||||
|
font-family: PingFangSC, PingFang SC;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #090c1a;
|
||||||
|
line-height: 40rpx;
|
||||||
|
text-align: left;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
.desc {
|
||||||
|
font-family: PingFangSC, PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 24rpx;
|
||||||
|
color: #787879;
|
||||||
|
line-height: 36rpx;
|
||||||
|
text-align: justify;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.dialogContentBox {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100vh - 90px);
|
height: calc(100vh - 90px);
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 12px;
|
padding: 32rpx;
|
||||||
.item{
|
.item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.dialogItem{
|
font-family: PingFangSC, PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 30rpx;
|
||||||
|
color: #090c1a;
|
||||||
|
line-height: 44rpx;
|
||||||
|
text-align: left;
|
||||||
|
font-style: normal;
|
||||||
|
.dialogItem {
|
||||||
|
max-width: calc(100vw - 64rpx);
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 80vw;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 4px;
|
padding: 24rpx 32rpx;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 0rpx 24rpx 24rpx 24rpx;
|
||||||
|
.line {
|
||||||
|
width: 100%;
|
||||||
|
height: 2rpx;
|
||||||
|
background: #f2f2f2;
|
||||||
|
border-radius: 16rpx;
|
||||||
|
margin: 24rpx 0;
|
||||||
}
|
}
|
||||||
.white{
|
.defaultBox {
|
||||||
border: 1px solid #ccc;
|
.clickItem {
|
||||||
|
font-family: PingFangSC, PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 30rpx;
|
||||||
|
color: #2363ff;
|
||||||
|
line-height: 44rpx;
|
||||||
|
text-align: left;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.white {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
.green{
|
.green {
|
||||||
background: #12A153FF;
|
background: #12a153ff;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.itemLeft{
|
.itemLeft {
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
.rightItem{
|
.rightItem {
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
.loadingBox{
|
.loadingBox {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -150,28 +308,33 @@ export default {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.inputBox{
|
.inputBox {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 80px;
|
height: 180rpx;
|
||||||
background: hsla(0,0%,97%,.98);
|
background: #fff;
|
||||||
border-top: 1px solid #ccc;
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0 8px 4px;
|
padding: 16rpx 32rpx;
|
||||||
|
padding-bottom: env(safe-area-inset-bottom);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.searchText{
|
.microphone {
|
||||||
background: #fff;
|
width: 48rpx;
|
||||||
flex: 1;
|
height: 48rpx;
|
||||||
height: 40px;
|
margin-right: 16rpx;
|
||||||
box-sizing: border-box;
|
|
||||||
border-radius: 8px;
|
|
||||||
padding: 4px 8px 0;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
}
|
||||||
.searchBtn{
|
.textBox {
|
||||||
|
width: calc(100% - 64rpx);
|
||||||
|
height: 88rpx;
|
||||||
|
background: #f2f3f7;
|
||||||
|
border-radius: 44rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchText {
|
||||||
|
}
|
||||||
|
.searchBtn {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|||||||
@ -1263,6 +1263,8 @@ export default {
|
|||||||
// // const data = await request.$webPost('EShangApiMain/Finance/ApplyAccountProinst', req)
|
// // const data = await request.$webPost('EShangApiMain/Finance/ApplyAccountProinst', req)
|
||||||
}else{
|
}else{
|
||||||
// 月度
|
// 月度
|
||||||
|
|
||||||
|
|
||||||
console.log('this.nextPersonValue',this.nextPersonValue)
|
console.log('this.nextPersonValue',this.nextPersonValue)
|
||||||
let [APPOVED_NAME,APPOVED_IDS] = this.nextPersonValue.split('-')
|
let [APPOVED_NAME,APPOVED_IDS] = this.nextPersonValue.split('-')
|
||||||
console.log('APPOVED_IDS',APPOVED_IDS)
|
console.log('APPOVED_IDS',APPOVED_IDS)
|
||||||
@ -1385,6 +1387,14 @@ export default {
|
|||||||
},
|
},
|
||||||
// 显示发起申请的悬浮框
|
// 显示发起申请的悬浮框
|
||||||
async handleShowApplyForPop(){
|
async handleShowApplyForPop(){
|
||||||
|
uni.showToast({
|
||||||
|
icon:'none',
|
||||||
|
duration: 2000,
|
||||||
|
title: '请到电脑端发起结算!',
|
||||||
|
});
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
let _this = this
|
let _this = this
|
||||||
if(this.detailObj.SETTLEMENT_TYPE===2){
|
if(this.detailObj.SETTLEMENT_TYPE===2){
|
||||||
// 月度
|
// 月度
|
||||||
|
|||||||
@ -107,11 +107,16 @@ export default {
|
|||||||
},
|
},
|
||||||
onShow(){
|
onShow(){
|
||||||
console.log('onShow')
|
console.log('onShow')
|
||||||
|
console.log('selectPortrait',this.selectPortrait)
|
||||||
this.isShowSwiper = true
|
this.isShowSwiper = true
|
||||||
let seat = uni.getStorageSync('currentService')
|
let seat = uni.getStorageSync('currentService')
|
||||||
console.log('seat',seat)
|
console.log('seat',seat)
|
||||||
this.serviceInfo = seat
|
this.serviceInfo = seat
|
||||||
|
if(this.selectPortrait){
|
||||||
|
|
||||||
|
}else{
|
||||||
this.selectPortrait = this.query.index ? this.query.index: seat.SERVERPART_NAME==='安徽驿达' ? 1:0
|
this.selectPortrait = this.query.index ? this.query.index: seat.SERVERPART_NAME==='安徽驿达' ? 1:0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onHide(){
|
onHide(){
|
||||||
this.isShowSwiper = false
|
this.isShowSwiper = false
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.2 KiB |
Loading…
x
Reference in New Issue
Block a user