小程序打卡功能优化

This commit is contained in:
xiezhijun
2021-04-14 17:25:40 +08:00
parent de5ca49409
commit 8d8dc77642
7 changed files with 221 additions and 33 deletions

View File

@ -70,4 +70,16 @@ export function getAllPunchLogByCustomerId(query) {
})
}
// 点评打卡
export function commentPunchContent(data) {
return request({
url: '/custom/wxUserLog/commentPunchContent',
method: 'post',
data: data
})
}

View File

@ -8,15 +8,15 @@
>
<div style="margin-top: -20px;">
<div
style="float: right; "
style="float: right; margin-bottom:10px"
>
<!--<el-button
<el-button
v-hasPermi="['custom:wxUserLog:query']"
type="primary"
plain
></el-button
>-->
>打卡点</el-button
>
</div>
@ -84,7 +84,7 @@
</template>
<script>
import {
getPunchLogDetail
getPunchLogDetail,commentPunchContent
} from "@/api/custom/wxUserLog";
import TableDetailMessage from "@/components/TableDetailMessage";