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

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

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