Commit 660bdd55 authored by 刘文虎's avatar 刘文虎

记工时回显调整,生成海报增加关闭按钮

parent 291579a4
Pipeline #3998 canceled with stages
......@@ -12,6 +12,7 @@
<view class="content-view">
<view class="qrcode-view"><image :src="qrcode"></image></view>
</view>
<view class="close-view" @click="close"><u-icon name="close"></u-icon></view>
</view>
<view class="btn">
<view class="confirm" @click="$u.throttle(handleClickSure, 500)">
......@@ -72,6 +73,18 @@ export default {
border-radius: 12rpx;
padding: 52rpx 36rpx;
position: relative;
.close-view {
position: absolute;
right: 36rpx;
top: 20rpx;
font-size: 32rpx;
width: 88rpx;
height: 88rpx;
padding-right: 8rpx;
line-height: 88rpx;
text-align: right;
}
.user {
display: flex;
align-items: center;
......
......@@ -111,13 +111,9 @@ export default {
onLoad(options) {},
onUnload() {},
onReady() {
setTimeout(() => {
console.log('handleCanvas-qrcode---onReady', this.qrcode);
}, 1500);
},
methods: {
handleCanvas(url) {
console.log('handleCanvas-qrcode---', url);
this.qrcode = url;
},
handleSave() {
......
......@@ -75,7 +75,7 @@
<block v-else>
<view class="work" v-if="tabCurrent === 1">
<u-form-item label="上班" prop="normalNumber" label-position="left" label-width="90" >
<u-form-item label="上班" prop="normalNumber" label-position="left" label-width="90" required>
<view class="form-slot">
<view class="check-box">
<checkbox-groups
......@@ -588,7 +588,7 @@ export default {
type: type.code,
remark,
// 点工
normalNumber: normalNumber || 1,
normalNumber: normalNumber ,
normalText: normalText || 1,
normalType: (normalType && normalType.code) || 'UNIT',
overNumber,
......@@ -631,7 +631,7 @@ export default {
form.deductText = 1;
}
this.form = form;
console.log(form);
console.log("form",form);
this.setWageList();
} catch (e) {
//TODO handle the exception
......
export const version = "1.0.33"
export const version = "1.0.35"
export const baseURL = "/baseapi"
export const token = "TOKEN"
export const PHONENUMBER = "PHONENUMBER"
......
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