Commit 286810fa by 李伟康

Merge branch 'SAAS+V5.6.1' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V5.6.1

2 parents ec4b72d6 74bd583f
<template>
<RightPopup ref="rightPopup" :title="title[type]" :showFooter="true" @confirm="confirm" :confirmDisabled="confirmDisabled">
<RightPopup ref="rightPopup" :title="title[popType]" :showFooter="true" @confirm="confirm" :confirmDisabled="confirmDisabled">
<view class="popup-content">
<view class="appeal-desc">
<view class="sprite-icon icon-icon-appeal"></view>规定申诉时间为<view class="blod-text">每月{{appealStartTime}}号-每月{{appealEndTime}}号</view>
,支持提交修订异议处理,总部流转审批,请在规定时间内完成,逾期不再受理。
</view>
<view class="form-item flex-item line">
<view class="label">{{formItem[type][0].label}}</view>
<view class="value"><text class="blue-text">{{ count }}</text> {{formItem[type][1].unit}}</view>
<view class="form-item flex-item line" v-if="formItem[popType]">
<view class="label">{{formItem[popType][0].label}}</view>
<view class="value"><text class="blue-text">{{ count }}</text> {{formItem[popType][0].unit}}</view>
</view>
<view class="form-item">
<view class="label m-b">{{formItem[type][1].label}}</view>
<view class="form-item" v-if="formItem[popType]">
<view class="label m-b">{{formItem[popType][1].label}}</view>
<view class="input-box">
<input type="number" v-model="formData.modifyCount" :maxlength="formItem[type][1].maxlength" placeholder="请输入" placeholder-class="placeholder" @input="onInput" />
<text class="suffix">{{formItem[type][1].unit}}</text>
<input type="number" v-model="formData.modifyCount" :maxlength="formItem[popType][1].maxlength" placeholder="请输入" placeholder-class="placeholder" @input="onInput" />
<text class="suffix">{{formItem[popType][1].unit}}</text>
</view>
</view>
......@@ -71,6 +71,7 @@ import dayjs from 'dayjs'
import { uploadFile } from '@/utils/ossUpload.js'
import RightPopup from '../../components/RightPopup.vue'
import { title, formItem } from './contant.js'
import permision from '@/js_sdk/wa-permission/permission.js'
const MAX_IMAGE_SIZE = 10 * 1024 * 1024, // 图片最大10MB
MAX_IMG_COUNT = 10 // 最大图片数量
export default {
......@@ -87,9 +88,9 @@ export default {
type: [Number, String],
default: 0
},
type: {
popType: {
type: String,
default: ''
default: 'attendance'
},
lastRecord: {
type: Object,
......
......@@ -69,7 +69,7 @@
<view class="reply-content">{{ item.replyContent }}</view>
<view class="reply-footer">
<text>申诉类型:{{ item.appealType === 1 ? '考勤' : '平板' }}</text>
<text class="time">{{ formatTime(item.createdDate, 'YYYY-MM-DD HH:mm:ss') }}</text>
<text class="time">{{ formatTime(item.replyDate, 'YYYY-MM-DD HH:mm:ss') }}</text>
</view>
</view>
<view v-if="replyList.length === 0" class="empty-text">
......@@ -79,7 +79,7 @@
</view>
</view>
</scroll-view>
<AttendanceRecord @confirm="handleConfirm" :appealStartTime="appealData.appealStartTime" :appealEndTime="appealData.appealEndTime" ref="attendanceRecord" :lastRecord="lastRecord" :currentCount="currentCount" :type="popType" :month="month" />
<AttendanceRecord @confirm="handleConfirm" :appealStartTime="appealData.appealStartTime" :appealEndTime="appealData.appealEndTime" ref="attendanceRecord" :lastRecord="lastRecord" :currentCount="currentCount" :popType="popType" :month="month" />
</view>
</template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!