Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
Overview
Details
Activity
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
姜雷
wx-boss
Commits
e9d730f8
Commit
e9d730f8
authored
Jan 14, 2020
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改反馈
parent
928195cc
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
335 additions
and
5 deletions
+335
-5
app.json
miniprogram/app.json
+2
-1
FeedbackItem.js
miniprogram/pages/components/FeedbackItem/FeedbackItem.js
+7
-2
FeedbackItem.ts
miniprogram/pages/components/FeedbackItem/FeedbackItem.ts
+5
-0
FeedbackItem.wxml
miniprogram/pages/components/FeedbackItem/FeedbackItem.wxml
+3
-2
feedbackDetailItem.js
...pages/components/feedbackDetailItem/feedbackDetailItem.js
+51
-0
feedbackDetailItem.json
...ges/components/feedbackDetailItem/feedbackDetailItem.json
+5
-0
feedbackDetailItem.ts
...pages/components/feedbackDetailItem/feedbackDetailItem.ts
+61
-0
feedbackDetailItem.wxml
...ges/components/feedbackDetailItem/feedbackDetailItem.wxml
+10
-0
feedbackDetailItem.wxss
...ges/components/feedbackDetailItem/feedbackDetailItem.wxss
+31
-0
feedbackDetail.js
miniprogram/pages/feedbackDetail/feedbackDetail.js
+45
-0
feedbackDetail.json
miniprogram/pages/feedbackDetail/feedbackDetail.json
+5
-0
feedbackDetail.ts
miniprogram/pages/feedbackDetail/feedbackDetail.ts
+97
-0
feedbackDetail.wxml
miniprogram/pages/feedbackDetail/feedbackDetail.wxml
+5
-0
feedbackDetail.wxss
miniprogram/pages/feedbackDetail/feedbackDetail.wxss
+1
-0
project.config.json
project.config.json
+7
-0
No files found.
miniprogram/app.json
View file @
e9d730f8
...
@@ -11,7 +11,8 @@
...
@@ -11,7 +11,8 @@
"pages/platformFee/platformFee"
,
"pages/platformFee/platformFee"
,
"pages/platformFeeRecord/platformFeeRecord"
,
"pages/platformFeeRecord/platformFeeRecord"
,
"pages/equipment/equipment"
,
"pages/equipment/equipment"
,
"pages/equipmentReport/equipmentReport"
"pages/equipmentReport/equipmentReport"
,
"pages/feedbackDetail/feedbackDetail"
],
],
"window"
:
{
"window"
:
{
"backgroundTextStyle"
:
"light"
,
"backgroundTextStyle"
:
"light"
,
...
...
miniprogram/pages/components/FeedbackItem/FeedbackItem.js
View file @
e9d730f8
...
@@ -68,6 +68,11 @@ Component({
...
@@ -68,6 +68,11 @@ Component({
});
});
});
});
},
},
goDetailPage
:
function
()
{
wx
.
navigateTo
({
url
:
"/pages/feedbackDetail/feedbackDetail?customerName="
+
this
.
data
.
feedbackData
.
customerName
+
"&customerPhone="
+
this
.
data
.
feedbackData
.
customerPhone
+
"&id="
+
this
.
data
.
feedbackData
.
id
,
});
},
},
},
});
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRmVlZGJhY2tJdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiRmVlZGJhY2tJdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNENBQW1EO0FBR25ELFNBQVMsQ0FBQztJQUlSLFVBQVUsRUFBRTtRQUNWLFlBQVksRUFBRTtZQUNaLElBQUksRUFBRSxNQUFNO1lBQ1osS0FBSyxFQUFFO2dCQUNMLE1BQU0sRUFBRSxDQUFDO2dCQUNULFFBQVEsRUFBRSxFQUFFO2dCQUNaLFVBQVUsRUFBRSxDQUFDO2dCQUNiLFlBQVksRUFBRSxFQUFFO2dCQUNoQixhQUFhLEVBQUUsRUFBRTtnQkFDakI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XG4gICAgICAgIGN1c3RvbWVyTmFtZTogJycsXG4gICAgICAgIGN1c3RvbWVyUGhvbmU6ICcnLFxuICAgICAgICBjdXN0b21lclNleDogJycsXG4gICAgICAgIGZlZWRiYWNrQ29udGVudDogJycsXG4gICAgICAgIGlkOiAwLFxuICAgICAgICBzdGF0ZTogJycsXG4gICAgICB9LFxuICAgIH0sXG4gIH0sXG5cbiAgLyoqXG4gICAqIOe7hOS7tueahOWIneWni+aVsOaNrlxuICAgKi9cbiAgZGF0YToge1xuICAgIGlucHV0VmFsdWU6ICcnLFxuICB9LFxuXG4gIC8qKlxuICAgKiDnu4Tku7bnmoTmlrnms5XliJfooahcbiAgICovXG4gIG1ldGhvZHM6IHtcbiAgICBtYWtlUGhvbmVDYWxsSGFuZGxlKCkge1xuICAgICAgY29uc29sZS5sb2coJ2luIG1ha2VQaG9uZUNhbGxIYW5kbGUnKTtcbiAgICAgIHd4Lm1ha2VQaG9uZUNhbGwoe1xuICAgICAgICBwaG9uZU51bWJlcjogdGhpcy5kYXRhLmZlZWRiYWNrRGF0YS5jdXN0b21lclBob25lLFxuICAgICAgICBzdWNjZXNzOiAoKSA9PiB7XG4gICAgICAgICAgY29uc29sZS5sb2coJ3N1Y2Nlc3MnKTtcbiAgICAgICAgfSxcbiAgICAgICAgZmFpbDogKCkgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKCdmYWlsJyk7XG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9LFxuICAgIGlucHV0SGFuZGxlKGUpIHtcbiAgICAgIGNvbnN0IHZhbCA9IGUuZGV0YWlsLnZhbHVlO1xuICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgaW5wdXRWYWx1ZTogdmFsLFxuICAgICAgfSk7XG4gICAgfSxcblxuICAgIHNlbmRGZWVkYmFjaygpIHtcbiAgICAgIGNvbnN0IHZhbCA9IHRoaXMuZGF0YS5pbnB1dFZhbHVlO1xuXG4gICAgICBjdXN0b21lckZldGNoKHtcbiAgICAgICAgdXJsOiAnL2ZlZWRiYWNrL2ZlZWRiYWNrJyxcbiAgICAgICAgbWV0aG9kOiAnUFVUJyxcbiAgICAgICAgZGF0YToge1xuICAgICAgICAgIGlkOiB0aGlzLmRhdGEuZmVlZGJhY2tEYXRhLmlkLFxuICAgICAgICAgIHJlcGxheUNvbnRlbnQ6IHZhbCxcbiAgICAgICAgICBzdGF0ZTogJzMnLFxuICAgICAgICB9LFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6IHJlcy5tc2csXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgIGlucHV0VmFsdWU6ICcnLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHRoaXMudHJpZ2dlckV2ZW50KCdyZWZyZXNoJywge30pO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goKGVycjogd3guR2VuZXJhbENhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9KTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRmVlZGJhY2tJdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiRmVlZGJhY2tJdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsNENBQW1EO0FBR25ELFNBQVMsQ0FBQztJQUlSLFVBQVUsRUFBRTtRQUNWLFlBQVksRUFBRTtZQUNaLElBQUksRUFBRSxNQUFNO1lBQ1osS0FBSyxFQUFFO2dCQUNMLE1BQU0sRU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c3MnKTtcbiAgICAgICAgfSxcbiAgICAgICAgZmFpbDogKCkgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKCdmYWlsJyk7XG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICB9LFxuICAgIGlucHV0SGFuZGxlKGUpIHtcbiAgICAgIGNvbnN0IHZhbCA9IGUuZGV0YWlsLnZhbHVlO1xuICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgaW5wdXRWYWx1ZTogdmFsLFxuICAgICAgfSk7XG4gICAgfSxcblxuICAgIHNlbmRGZWVkYmFjaygpIHtcbiAgICAgIGNvbnN0IHZhbCA9IHRoaXMuZGF0YS5pbnB1dFZhbHVlO1xuXG4gICAgICBjdXN0b21lckZldGNoKHtcbiAgICAgICAgdXJsOiAnL2ZlZWRiYWNrL2ZlZWRiYWNrJyxcbiAgICAgICAgbWV0aG9kOiAnUFVUJyxcbiAgICAgICAgZGF0YToge1xuICAgICAgICAgIGlkOiB0aGlzLmRhdGEuZmVlZGJhY2tEYXRhLmlkLFxuICAgICAgICAgIHJlcGxheUNvbnRlbnQ6IHZhbCxcbiAgICAgICAgICBzdGF0ZTogJzMnLFxuICAgICAgICB9LFxuICAgICAgfSlcbiAgICAgICAgLnRoZW4ocmVzID0+IHtcbiAgICAgICAgICB3eC5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgdGl0bGU6IHJlcy5tc2csXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgICAgICAgICAgIGlucHV0VmFsdWU6ICcnLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHRoaXMudHJpZ2dlckV2ZW50KCdyZWZyZXNoJywge30pO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goKGVycjogd3guR2VuZXJhbENhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9KTtcbiAgICB9LFxuICAgIGdvRGV0YWlsUGFnZSgpIHtcbiAgICAgIHd4Lm5hdmlnYXRlVG8oe1xuICAgICAgICB1cmw6IGAvcGFnZXMvZmVlZGJhY2tEZXRhaWwvZmVlZGJhY2tEZXRhaWw/Y3VzdG9tZXJOYW1lPSR7dGhpcy5kYXRhLmZlZWRiYWNrRGF0YS5jdXN0b21lck5hbWV9JmN1c3RvbWVyUGhvbmU9JHt0aGlzLmRhdGEuZmVlZGJhY2tEYXRhLmN1c3RvbWVyUGhvbmV9JmlkPSR7dGhpcy5kYXRhLmZlZWRiYWNrRGF0YS5pZH1gLFxuICAgICAgfSk7XG4gICAgfSxcbiAgfSxcbn0pO1xuIl19
\ No newline at end of file
\ No newline at end of file
miniprogram/pages/components/FeedbackItem/FeedbackItem.ts
View file @
e9d730f8
...
@@ -80,5 +80,10 @@ Component({
...
@@ -80,5 +80,10 @@ Component({
});
});
});
});
},
},
goDetailPage
()
{
wx
.
navigateTo
({
url
:
`/pages/feedbackDetail/feedbackDetail?customerName=
${
this
.
data
.
feedbackData
.
customerName
}
&customerPhone=
${
this
.
data
.
feedbackData
.
customerPhone
}
&id=
${
this
.
data
.
feedbackData
.
id
}
`
,
});
},
},
},
});
});
miniprogram/pages/components/FeedbackItem/FeedbackItem.wxml
View file @
e9d730f8
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
<view class="FeedbackItem-areaname">{{feedbackData.areaName}}</view>
<view class="FeedbackItem-areaname">{{feedbackData.areaName}}</view>
</view>
</view>
<view class="FeedbackItem-content">{{feedbackData.feedbackContent}}</view>
<view class="FeedbackItem-content">{{feedbackData.feedbackContent}}</view>
<
input class="FeedbackItem-input" bindinput="inputHandle" value="{{inputValue}}"></input
>
<
!-- <input class="FeedbackItem-input" bindinput="inputHandle" value="{{inputValue}}"></input> --
>
<view class="FeedbackItem-option">
<view class="FeedbackItem-option">
<view class="FeedbackItem-phone" bind:tap="makePhoneCallHandle">
<view class="FeedbackItem-phone" bind:tap="makePhoneCallHandle">
<image class="FeedbackItem-phoneIcon" src="../../../images/ic_phone@2x.png"></image>
<image class="FeedbackItem-phoneIcon" src="../../../images/ic_phone@2x.png"></image>
{{feedbackData.customerPhone}}
{{feedbackData.customerPhone}}
</view>
</view>
<view class="FeedbackItem-send" bind:tap="
sendFeedback">发送
</view>
<view class="FeedbackItem-send" bind:tap="
goDetailPage">处理
</view>
</view>
</view>
</view>
</view>
\ No newline at end of file
miniprogram/pages/components/feedbackDetailItem/feedbackDetailItem.js
0 → 100644
View file @
e9d730f8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
var
fetch_1
=
require
(
"../../../api/fetch"
);
Component
({
properties
:
{
itemData
:
{
type
:
Object
,
value
:
{}
},
},
data
:
{
inputValue
:
''
,
},
methods
:
{
inputHandle
:
function
(
e
)
{
var
val
=
e
.
detail
.
value
;
this
.
setData
({
inputValue
:
val
,
});
},
sendFeedback
:
function
(
e
)
{
var
_this
=
this
;
var
id
=
e
.
currentTarget
.
dataset
.
id
;
var
val
=
this
.
data
.
inputValue
;
console
.
log
(
val
,
id
);
fetch_1
.
customerFetch
({
url
:
'/feedback/feedback'
,
method
:
'PUT'
,
data
:
{
id
:
id
,
replayContent
:
val
,
state
:
'3'
,
},
})
.
then
(
function
(
res
)
{
wx
.
showToast
({
title
:
res
.
msg
,
});
_this
.
setData
({
inputValue
:
''
,
});
_this
.
triggerEvent
(
'refresh'
,
{});
})
.
catch
(
function
(
err
)
{
wx
.
showToast
({
title
:
err
.
errMsg
,
icon
:
'none'
,
});
});
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlZGJhY2tEZXRhaWxJdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZmVlZGJhY2tEZXRhaWxJdGVtLnRzIl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WRiYWNrKGUpIHtcbiAgICAgIGNvbnN0IHsgaWQgfSA9IGUuY3VycmVudFRhcmdldC5kYXRhc2V0O1xuICAgICAgY29uc3QgdmFsID0gdGhpcy5kYXRhLmlucHV0VmFsdWU7XG4gICAgICBjb25zb2xlLmxvZyh2YWwsIGlkKTtcblxuICAgICAgY3VzdG9tZXJGZXRjaCh7XG4gICAgICAgIHVybDogJy9mZWVkYmFjay9mZWVkYmFjaycsXG4gICAgICAgIG1ldGhvZDogJ1BVVCcsXG4gICAgICAgIGRhdGE6IHtcbiAgICAgICAgICBpZDogaWQsXG4gICAgICAgICAgcmVwbGF5Q29udGVudDogdmFsLFxuICAgICAgICAgIHN0YXRlOiAnMycsXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgICAgICAudGhlbihyZXMgPT4ge1xuICAgICAgICAgIHd4LnNob3dUb2FzdCh7XG4gICAgICAgICAgICB0aXRsZTogcmVzLm1zZyxcbiAgICAgICAgICB9KTtcbiAgICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICAgIGlucHV0VmFsdWU6ICcnLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHRoaXMudHJpZ2dlckV2ZW50KCdyZWZyZXNoJywge30pO1xuICAgICAgICB9KVxuICAgICAgICAuY2F0Y2goKGVycjogd3guR2VuZXJhbENhbGxiYWNrUmVzdWx0KSA9PiB7XG4gICAgICAgICAgd3guc2hvd1RvYXN0KHtcbiAgICAgICAgICAgIHRpdGxlOiBlcnIuZXJyTXNnLFxuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgIH0pO1xuICAgICAgICB9KTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
miniprogram/pages/components/feedbackDetailItem/feedbackDetailItem.json
0 → 100644
View file @
e9d730f8
{
"component"
:
true
,
"usingComponents"
:
{}
}
\ No newline at end of file
miniprogram/pages/components/feedbackDetailItem/feedbackDetailItem.ts
0 → 100644
View file @
e9d730f8
import
{
customerFetch
}
from
"../../../api/fetch"
;
// pages/components/feedbackDetailItem/feedbackDetailItem.js
Component
({
/**
* 组件的属性列表
*/
properties
:
{
itemData
:
{
type
:
Object
,
value
:
{}
},
},
/**
* 组件的初始数据
*/
data
:
{
inputValue
:
''
,
},
/**
* 组件的方法列表
*/
methods
:
{
inputHandle
(
e
)
{
const
val
=
e
.
detail
.
value
;
this
.
setData
!
({
inputValue
:
val
,
});
},
sendFeedback
(
e
)
{
const
{
id
}
=
e
.
currentTarget
.
dataset
;
const
val
=
this
.
data
.
inputValue
;
console
.
log
(
val
,
id
);
customerFetch
({
url
:
'/feedback/feedback'
,
method
:
'PUT'
,
data
:
{
id
:
id
,
replayContent
:
val
,
state
:
'3'
,
},
})
.
then
(
res
=>
{
wx
.
showToast
({
title
:
res
.
msg
,
});
this
.
setData
!
({
inputValue
:
''
,
});
this
.
triggerEvent
(
'refresh'
,
{});
})
.
catch
((
err
:
wx
.
GeneralCallbackResult
)
=>
{
wx
.
showToast
({
title
:
err
.
errMsg
,
icon
:
'none'
,
});
});
},
},
});
miniprogram/pages/components/feedbackDetailItem/feedbackDetailItem.wxml
0 → 100644
View file @
e9d730f8
<!-- pages/components/feedbackDetailItem/feedbackDetailItem.wxml -->
<view class="feedbackDetail-item">
<view class="feedbackDetail-itemTitle">{{itemData.feedbackContent}}</view>
<view class="feedbackDetail-itemTime">{{itemData.createAt}}</view>
<view class="feedbackDetail-itemBox">
<input class="feedbackDetail-itemInput" type="text" value="{{inputValue}}" bindinput="inputHandle" />
<button class="feedbackDetail-itemBtn" bind:tap="sendFeedback" data-id="{{itemData.id}}">发送</button>
</view>
</view>
\ No newline at end of file
miniprogram/pages/components/feedbackDetailItem/feedbackDetailItem.wxss
0 → 100644
View file @
e9d730f8
/* pages/components/feedbackDetailItem/feedbackDetailItem.wxss */
.feedbackDetail-item {
border-bottom: 8rpx solid #efefef;
padding: 40rpx;
}
.feedbackDetail-itemTitle {
font-size: 32rpx;
color: #333;
margin-bottom: 24rpx;
}
.feedbackDetail-itemTime {
font-size: 24rpx;
color: #999;
margin-bottom: 20rpx;
}
.feedbackDetail-itemBox {
display: flex;
}
.feedbackDetail-itemInput {
width: 456rpx;
height: 76rpx;
border-radius: 20rpx;
background-color: #f0f3fd;
}
.feedbackDetail-itemBtn {
font-size: 32rpx;
border-radius: 20rpx;
margin-left: 10rpx;
background-color: #6a92ff;
color: #fff;
}
miniprogram/pages/feedbackDetail/feedbackDetail.js
0 → 100644
View file @
e9d730f8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,
{
value
:
true
});
var
fetch_1
=
require
(
"../../api/fetch"
);
Page
({
data
:
{
customerName
:
''
,
customerPhone
:
''
,
id
:
''
,
dataList
:
[],
},
onLoad
:
function
(
options
)
{
var
customerName
=
options
.
customerName
,
customerPhone
=
options
.
customerPhone
,
id
=
options
.
id
;
wx
.
setNavigationBarTitle
({
title
:
customerName
+
"-"
+
customerPhone
,
});
this
.
setData
({
customerName
:
customerName
,
customerPhone
:
customerPhone
,
id
:
id
,
});
this
.
fetchList
();
},
fetchList
:
function
()
{
var
_this
=
this
;
wx
.
showLoading
({
title
:
'加载中'
,
});
return
fetch_1
.
customerFetch
({
url
:
"/feedback/get/feedback/"
+
this
.
data
.
id
,
})
.
then
(
function
(
res
)
{
wx
.
hideLoading
();
var
list
=
res
.
data
.
list
;
_this
.
setData
({
dataList
:
list
,
});
})
.
catch
(
function
(
err
)
{
wx
.
hideLoading
();
console
.
log
(
err
);
});
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlZGJhY2tEZXRhaWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmZWVkYmFja0RldGFpbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHlDQUFnRDtBQUdoRCxJQUFJLENBQUM7SUFJSCxJQUFJLEVBQUU7UUFDSixZQUFZLEVBQUUsRUFBRTtRQUNoQixh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PT4ge1xuICAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAgICAgICBjb25zdCB7IGxpc3QgfSA9IHJlcy5kYXRhO1xuICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgICAgICAgICBkYXRhTGlzdDogbGlzdCxcbiAgICAgICAgfSk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKGVyciA9PiB7XG4gICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gICAgICB9KTtcbiAgfSxcblxuICAvLyByZWZyZXNoTGlzdCgpIHtcbiAgLy8gICB0aGlzLmZldGNoTGlzdCh7XG4gIC8vICAgICBwYWdlTnVtOiAxLFxuICAvLyAgIH0pXG4gIC8vICAgICAudGhlbihyZXMgPT4ge1xuICAvLyAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAvLyAgICAgICBjb25zb2xlLmxvZyhyZXMpO1xuICAvLyAgICAgICBpZiAocmVzLmRhdGEucGFnZSkge1xuICAvLyAgICAgICAgIGNvbnN0IHsgbGlzdCB9ID0gcmVzLmRhdGEucGFnZTtcbiAgLy8gICAgICAgICB0aGlzLnNldERhdGEhKHtcbiAgLy8gICAgICAgICAgIGRhdGFMaXN0OiBsaXN0LFxuICAvLyAgICAgICAgIH0pO1xuICAvLyAgICAgICB9XG4gIC8vICAgICB9KVxuICAvLyAgICAgLmNhdGNoKGVyciA9PiB7XG4gIC8vICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gIC8vICAgICAgIGNvbnNvbGUubG9nKGVycik7XG4gIC8vICAgICB9KTtcbiAgLy8gfSxcblxuICAvLyBvblJlYWNoQm90dG9tKCkge1xuICAvLyAgIHd4LnNob3dMb2FkaW5nKHtcbiAgLy8gICAgIHRpdGxlOiAn5Yqg6L295LitJyxcbiAgLy8gICB9KTtcbiAgLy8gICBsZXQgbmV4dFBhZ2UgPSB0aGlzLmRhdGEucGFnZU51bSArIDE7XG4gIC8vICAgdGhpcy5mZXRjaExpc3Qoe1xuICAvLyAgICAgcGFnZU51bTogbmV4dFBhZ2UsXG4gIC8vICAgfSlcbiAgLy8gICAgIC50aGVuKHJlcyA9PiB7XG4gIC8vICAgICAgIHd4LmhpZGVMb2FkaW5nKCk7XG4gIC8vICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gIC8vICAgICAgIGlmIChyZXMuZGF0YS5wYWdlICYmIHJlcy5kYXRhLnBhZ2UubGVuZ3RoKSB7XG4gIC8vICAgICAgICAgY29uc3Qge1xuICAvLyAgICAgICAgICAgcGFnZTogeyBsaXN0LCBwYWdlTnVtIH0sXG4gIC8vICAgICAgICAgfSA9IHJlcy5kYXRhO1xuICAvLyAgICAgICAgIHRoaXMuc2V0RGF0YSEoe1xuICAvLyAgICAgICAgICAgZGF0YUxpc3Q6IFsuLi50aGlzLmRhdGEuZGF0YUxpc3QsIC4uLmxpc3RdLFxuICAvLyAgICAgICAgICAgcGFnZU51bSxcbiAgLy8gICAgICAgICB9KTtcbiAgLy8gICAgICAgfVxuICAvLyAgICAgfSlcbiAgLy8gICAgIC5jYXRjaChlcnIgPT4ge1xuICAvLyAgICAgICB3eC5oaWRlTG9hZGluZygpO1xuICAvLyAgICAgICBjb25zb2xlLmxvZyhlcnIpO1xuICAvLyAgICAgfSk7XG4gIC8vIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
miniprogram/pages/feedbackDetail/feedbackDetail.json
0 → 100644
View file @
e9d730f8
{
"usingComponents"
:
{
"feedback-detail-item"
:
"../components/feedbackDetailItem/feedbackDetailItem"
}
}
miniprogram/pages/feedbackDetail/feedbackDetail.ts
0 → 100644
View file @
e9d730f8
import
{
customerFetch
}
from
'../../api/fetch'
;
// miniprogram/pages/feedbackDetail/feedbackDetail.js
Page
({
/**
* 页面的初始数据
*/
data
:
{
customerName
:
''
,
customerPhone
:
''
,
id
:
''
,
dataList
:
[],
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
const
{
customerName
,
customerPhone
,
id
}
=
options
;
wx
.
setNavigationBarTitle
({
title
:
`
${
customerName
}
-
${
customerPhone
}
`
,
});
this
.
setData
!
({
customerName
,
customerPhone
,
id
,
});
this
.
fetchList
();
},
fetchList
()
{
wx
.
showLoading
({
title
:
'加载中'
,
});
return
customerFetch
({
url
:
`/feedback/get/feedback/
${
this
.
data
.
id
}
`
,
})
.
then
(
res
=>
{
wx
.
hideLoading
();
const
{
list
}
=
res
.
data
;
this
.
setData
!
({
dataList
:
list
,
});
})
.
catch
(
err
=>
{
wx
.
hideLoading
();
console
.
log
(
err
);
});
},
// refreshList() {
// this.fetchList({
// pageNum: 1,
// })
// .then(res => {
// wx.hideLoading();
// console.log(res);
// if (res.data.page) {
// const { list } = res.data.page;
// this.setData!({
// dataList: list,
// });
// }
// })
// .catch(err => {
// wx.hideLoading();
// console.log(err);
// });
// },
// onReachBottom() {
// wx.showLoading({
// title: '加载中',
// });
// let nextPage = this.data.pageNum + 1;
// this.fetchList({
// pageNum: nextPage,
// })
// .then(res => {
// wx.hideLoading();
// console.log(res);
// if (res.data.page && res.data.page.length) {
// const {
// page: { list, pageNum },
// } = res.data;
// this.setData!({
// dataList: [...this.data.dataList, ...list],
// pageNum,
// });
// }
// })
// .catch(err => {
// wx.hideLoading();
// console.log(err);
// });
// },
});
miniprogram/pages/feedbackDetail/feedbackDetail.wxml
0 → 100644
View file @
e9d730f8
<!-- miniprogram/pages/feedbackDetail/feedbackDetail.wxml -->
<view class="feedbackDetail">
<feedback-detail-item wx:for="{{dataList}}" wx:key="id" item-data="{{item}}" bindrefresh="fetchList" />
</view>
\ No newline at end of file
miniprogram/pages/feedbackDetail/feedbackDetail.wxss
0 → 100644
View file @
e9d730f8
/* miniprogram/pages/feedbackDetail/feedbackDetail.wxss */
project.config.json
View file @
e9d730f8
...
@@ -118,6 +118,13 @@
...
@@ -118,6 +118,13 @@
"pathName"
:
"pages/equipmentReport/equipmentReport"
,
"pathName"
:
"pages/equipmentReport/equipmentReport"
,
"query"
:
"areaId=15&areaName=多彩温江校区"
,
"query"
:
"areaId=15&areaName=多彩温江校区"
,
"scene"
:
null
"scene"
:
null
},
{
"id"
:
9
,
"name"
:
"feedbackDetail"
,
"pathName"
:
"pages/feedbackDetail/feedbackDetail"
,
"query"
:
"customerName=姜雷&customerPhone=18108096099&id=800069"
,
"scene"
:
null
}
}
]
]
}
}
...
...
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