整理pages模块的页面--->pagesA模块

master
chen 2022-04-26 10:01:23 +08:00
parent 26703d7472
commit 43a6919f78
30 changed files with 219 additions and 380 deletions

View File

@ -122,7 +122,7 @@
// //
switch (index){ switch (index){
case 1: case 1:
uni.reLaunch({url:'/pages/project/projectList'}) uni.reLaunch({url:'/pagesA/project/projectList'})
break; break;
case 2: case 2:
// #ifdef APP-PLUS, MP-WEIXIN // #ifdef APP-PLUS, MP-WEIXIN
@ -141,7 +141,7 @@
// #endif // #endif
break; break;
case 3: case 3:
uni.reLaunch({url:'/pages/feedback/feedback'}) uni.reLaunch({url:'/pagesA/feedback/feedback'})
break; break;
case 4: case 4:
uni.reLaunch({url:'/pages/tabbar/my/my'}) uni.reLaunch({url:'/pages/tabbar/my/my'})

View File

@ -41,19 +41,6 @@
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, {
"path": "pages/tabbar/project-list/project-list",
"style": {
"navigationBarTitleText": "项目列表",
"enablePullDownRefresh": false
}
}, {
"path": "pages/tabbar/feedback/feedback",
"style": {
"navigationBarTitleText": "意见反馈",
"enablePullDownRefresh": false
}
}, { }, {
"path": "pages/register/register", "path": "pages/register/register",
"style": { "style": {
@ -68,29 +55,6 @@
} }
} }
}, {
"path": "pages/repairsPage/repairsPage",
"style": {
"navigationBarTitleText": "添加报修",
"enablePullDownRefresh": false
}
}, {
"path": "pages/project/projectList",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom" //
}
}, {
"path": "pages/project/details",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom" //
}
}, },
{ {
"path": "pages/forget/forget", "path": "pages/forget/forget",
@ -100,170 +64,165 @@
} }
} }
, {
"path": "pages/feedback/feedback",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom", //
"enablePullDownRefresh": false
}
}, {
"path": "pages/workOrder/workOrder",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom", //
"enablePullDownRefresh": false
}
}, {
"path": "pages/workOrder/workorderTwo",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom", //
"enablePullDownRefresh": false
}
}, {
"path": "pages/workOrder/workOrderLlsit",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom", //
"enablePullDownRefresh": false
}
}, {
"path": "pages/workOrder/workOrderThree",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/workOrder/details",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/workOrder/payReturnVisit",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/peopleManagement/peopleManagement",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/mountingsList/mountingsList",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/appreciationServe/appreciationServe",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/dataQuery/dataQuery",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/dataQuery/client",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path" : "pages/dataQuery/details",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/workOrder/pay-return-visit",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/dataQuery/projectQuery",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/dataQuery/projectDetails",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/dataQuery/queryFunction",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom", //
"navigationBarTextStyle": "white"
}
}
,{
"path" : "pages/faultStatistics/faultStatistics",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/faultStatistics/projectOverview",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
], ],
"subPackages": [{ //A "subPackages": [{ //A
"root": "pagesA", "root": "pagesA",
"pages": [{ "pages": [
"path": "test/test", {
"style": { "path": "workOrder/workOrder",
"navigationBarTitleText": "", "style": {
"enablePullDownRefresh": false "navigationBarTitleText": "",
} "navigationStyle": "custom", //
}] "enablePullDownRefresh": false
}
},
{
"path": "workOrder/workorderTwo",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom", //
"enablePullDownRefresh": false
}
},
{
"path": "workOrder/workOrderLlsit",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom", //
"enablePullDownRefresh": false
}
},
{
"path": "workOrder/workOrderThree",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "workOrder/details",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "workOrder/payReturnVisit",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "appreciationServe/appreciationServe",
"style": {
"navigationBarTitleText": "增值服务",
"enablePullDownRefresh": false
}
},
{
"path" : "faultStatistics/faultStatistics",
"style" :
{
"navigationBarTitleText": "维保统计",
"enablePullDownRefresh": false
}
}
,{
"path" : "faultStatistics/projectOverview",
"style" :
{
"navigationBarTitleText": "数据看板",
"enablePullDownRefresh": false
}
}
, {
"path": "peopleManagement/peopleManagement",
"style": {
"navigationBarTitleText": "人员状态",
"enablePullDownRefresh": false
}
}
, {
"path": "dataQuery/dataQuery",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "dataQuery/client",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path" : "dataQuery/details",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "dataQuery/projectQuery",
"style" : {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "dataQuery/projectDetails",
"style" : {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "dataQuery/queryFunction",
"style" : {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom", //
"navigationBarTextStyle": "white"
}
}
, {
"path": "project/projectList",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom" //
}
}, {
"path": "project/details",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom" //
}
},
{
"path": "repairsPage/repairsPage",
"style": {
"navigationBarTitleText": "添加报修",
"enablePullDownRefresh": false
}
}, {
"path": "mountingsList/mountingsList",
"style": {
"navigationBarTitleText": "配件列表",
"enablePullDownRefresh": false
}
}
, {
"path": "feedback/feedback",
"style": {
"navigationBarTitleText": "意见反馈",
"navigationStyle": "custom", //
"enablePullDownRefresh": false
}
}
]
}, },
{ //B { //B
"root": "pagesB", "root": "pagesB",
@ -306,52 +265,42 @@
"navigationBarTitleText": "设置", "navigationBarTitleText": "设置",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},
} ,{ {
"path" : "new-product/new-product", "path" : "new-product/new-product",
"style" : "style" : {
{ "navigationBarTitleText": "",
"navigationBarTitleText": "", "enablePullDownRefresh": false
"enablePullDownRefresh": false }
} },
{
} "path" : "plan-fault/plan-fault",
,{ "style" : {
"path" : "plan-fault/plan-fault", "navigationBarTitleText": "",
"style" : "enablePullDownRefresh": false
{ }
"navigationBarTitleText": "", }
"enablePullDownRefresh": false ,{
} "path" : "plan-fault-product-detail/detail",
"style" : {
} "navigationBarTitleText": "",
,{ "enablePullDownRefresh": false
"path" : "plan-fault-product-detail/detail", }
"style" : }
{ ,{
"navigationBarTitleText": "", "path" : "message-center/message-center",
"enablePullDownRefresh": false "style" : {
} "navigationBarTitleText": "",
"enablePullDownRefresh": false
} }
,{ }
"path" : "message-center/message-center", ,{
"style" : "path" : "map/map",
{ "style" : {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}
}
,{
"path" : "map/map",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
] ]
} }
], ],

View File

@ -1,28 +0,0 @@
<template>
<view>
<!-- 底部tab -->
<foot-tab :current="3"></foot-tab>
</view>
</template>
<script>
//
import footTabOne from '@/components/foot-tabs/foot-tab-one.vue';
export default {
components:{
'foot-tab' :footTabOne
},
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

View File

@ -243,7 +243,7 @@
'/pagesB/personal-information/personal-information', '/pagesB/personal-information/personal-information',
'/pagesB/electronic-certificate/electronic-certificate', '/pagesB/electronic-certificate/electronic-certificate',
'/pagesB/service-range/service-range', '/pagesB/service-range/service-range',
'/pages/workOrder/workOrderLlsit?status=已完成&statusId=8', '/pagesA/workOrder/workOrderLlsit?status=已完成&statusId=8',
'/pagesB/my-account/my-account?index=0', '/pagesB/my-account/my-account?index=0',
'/pagesB/set-up/set-up', '/pagesB/set-up/set-up',
]; ];

View File

@ -365,7 +365,7 @@
// //
goIncrement(index) { goIncrement(index) {
uni.navigateTo({ uni.navigateTo({
url:`/pages/appreciationServe/appreciationServe?index=${index}` url:`/pagesA/appreciationServe/appreciationServe?index=${index}`
}) })
}, },
// //
@ -374,7 +374,7 @@
if(title=='佣金') { if(title=='佣金') {
url = `/pagesB/my-account/my-account?index=1` url = `/pagesB/my-account/my-account?index=1`
} else { } else {
url = `/pages/workOrder/workOrderLlsit?status=${title}&statusId=${statusId}` url = `/pagesA/workOrder/workOrderLlsit?status=${title}&statusId=${statusId}`
} }
uni.navigateTo({ uni.navigateTo({
url:url url:url
@ -392,15 +392,15 @@
// //
dataQueryEv(index){ dataQueryEv(index){
uni.navigateTo({ uni.navigateTo({
url:`/pages/dataQuery/queryFunction?index=${index}` url:`/pagesA/dataQuery/queryFunction?index=${index}`
}) })
}, },
// //
goFaultRepair(index){ goFaultRepair(index){
if(index!=2) { if(index!=2) {
let faultRepairUrls = [ let faultRepairUrls = [
'/pages/repairsPage/repairsPage', '/pagesA/repairsPage/repairsPage',
'/pages/workOrder/workOrderLlsit', '/pagesA/workOrder/workOrderLlsit',
]; ];
uni.navigateTo({ uni.navigateTo({
url:faultRepairUrls[index] url:faultRepairUrls[index]
@ -462,8 +462,8 @@
// //
otherEv(index) { otherEv(index) {
let otherUrls = [ let otherUrls = [
'/pages/faultStatistics/faultStatistics', '/pagesA/faultStatistics/faultStatistics',
'/pages/faultStatistics/projectOverview', '/pagesA/faultStatistics/projectOverview',
'/pagesB/new-product/new-product', '/pagesB/new-product/new-product',
]; ];
uni.navigateTo({ uni.navigateTo({

View File

@ -1,28 +0,0 @@
<template>
<view>
<!-- 底部tab -->
<foot-tab :current="1"></foot-tab>
</view>
</template>
<script>
//
import footTabOne from '@/components/foot-tabs/foot-tab-one.vue';
export default {
components:{
'foot-tab' :footTabOne
},
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

View File

@ -1,32 +0,0 @@
<template>
<view>
<view class="hint">
客户服务重在回访仔细倾听以服务质量求发展
</view>
<view class="123123">
12312313
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
.hint{
color: #358ff0;
padding:30rpx;
}
</style>

View File

@ -15,7 +15,7 @@
<view class="icon">{{item.num}}</view> <view class="icon">{{item.num}}</view>
</view> </view>
<view class="address"> <view class="address">
<image class="img" src="../../static/iocn/dizi.png" mode=""></image> <image class="img flexs" src="../../static/iocn/dizi.png" mode=""></image>
<view class="text">{{item.address}}</view> <view class="text">{{item.address}}</view>
</view> </view>
</view> </view>
@ -71,7 +71,7 @@
// //
goDetail(id){ goDetail(id){
uni.navigateTo({ uni.navigateTo({
url:`/pages/dataQuery/details?id=${id}` url:`/pagesA/dataQuery/details?id=${id}`
}) })
}, },
// //

View File

@ -94,7 +94,7 @@
methods: { methods: {
projectDetailsFun(id){ projectDetailsFun(id){
uni.navigateTo({ uni.navigateTo({
url:`/pages/dataQuery/projectDetails?id=${id}` url:`/pagesA/dataQuery/projectDetails?id=${id}`
}) })
}, },
// () // ()

View File

@ -186,9 +186,9 @@
// //
checkEv(index) { checkEv(index) {
let urls = [ let urls = [
'/pages/dataQuery/client', '/pagesA/dataQuery/client',
'/pages/dataQuery/projectQuery', '/pagesA/dataQuery/projectQuery',
'/pages/dataQuery/dataQuery' '/pagesA/dataQuery/dataQuery'
] ]
uni.navigateTo({ uni.navigateTo({
url: `${urls[index]}?key_word=${this.key_word}` url: `${urls[index]}?key_word=${this.key_word}`
@ -198,15 +198,15 @@
goDetail() { goDetail() {
if (this.dataIndex == 1) { if (this.dataIndex == 1) {
uni.navigateTo({ uni.navigateTo({
url: "/pages/project/details" url: "/pagesA/project/details"
}) })
} else if (this.dataIndex == 0) { } else if (this.dataIndex == 0) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/dataQuery/details' url: '/pagesA/dataQuery/details'
}) })
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: '/pages/dataQuery/dataQuery' url: '/pagesA/dataQuery/dataQuery'
}) })
} }
}, },

View File

@ -142,7 +142,7 @@
}, },
projectDetailsFun(id) { projectDetailsFun(id) {
uni.navigateTo({ uni.navigateTo({
url: `/pages/project/details?id=${id}` url: `/pagesA/project/details?id=${id}`
}) })
}, },
// //

View File

@ -1,22 +0,0 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

View File

@ -391,7 +391,7 @@
handleWorkOrderSubmit(params).then(res=>{ handleWorkOrderSubmit(params).then(res=>{
if(res.code) { if(res.code) {
uni.navigateTo({ uni.navigateTo({
url: `/pages/workOrder/workorderTwo?id=${this.orderId}` url: `/pagesA/workOrder/workorderTwo?id=${this.orderId}`
}) })
} }
this.flag = true; this.flag = true;

View File

@ -185,7 +185,7 @@
this.$toolAll.tools.showToast('接单成功'); this.$toolAll.tools.showToast('接单成功');
setTimeout(()=>{ setTimeout(()=>{
uni.navigateTo({ uni.navigateTo({
url: `/pages/workOrder/workOrder?id=${id}` url: `/pagesA/workOrder/workOrder?id=${id}`
}) })
},1000) },1000)
} }
@ -196,7 +196,7 @@
} else { } else {
// //
uni.navigateTo({ uni.navigateTo({
url: `/pages/workOrder/details?orderId=${id}&status=${status}&statusText=${statusText}&statusColor=${statusColor}` url: `/pagesA/workOrder/details?orderId=${id}&status=${status}&statusText=${statusText}&statusColor=${statusColor}`
}) })
} }
}, },

View File

@ -306,7 +306,7 @@
handleWorkOrderSubmit(params).then(res=>{ handleWorkOrderSubmit(params).then(res=>{
if(res.code) { if(res.code) {
uni.navigateTo({ uni.navigateTo({
url: `/pages/workOrder/workorderTwo?id=${this.orderId}` url: `/pagesA/workOrder/workorderTwo?id=${this.orderId}`
}) })
} else { } else {
this.$toolAll.tools.showToast(res.msg); this.$toolAll.tools.showToast(res.msg);

View File

@ -270,7 +270,7 @@
handleWorkOrderSubmit(params).then(res=>{ handleWorkOrderSubmit(params).then(res=>{
if(res.code) { if(res.code) {
uni.navigateTo({ uni.navigateTo({
url: `/pages/workOrder/workOrderThree?id=${this.orderId}` url: `/pagesA/workOrder/workOrderThree?id=${this.orderId}`
}) })
} }
}) })
@ -297,7 +297,7 @@
}, },
addMountingsList() { addMountingsList() {
uni.navigateTo({ uni.navigateTo({
url: "/pages/mountingsList/mountingsList" url: "/pagesA/mountingsList/mountingsList"
}) })
}, },

View File

@ -125,7 +125,7 @@
// //
goSettlementEv(id) { goSettlementEv(id) {
uni.navigateTo({ uni.navigateTo({
url:`/pages/workOrder/workOrderThree?id=${id}` url:`/pagesA/workOrder/workOrderThree?id=${id}`
}) })
}, },
// //