安全例会优化->实时照片水印添加当前时间

dev
WenShiJun 2024-03-22 17:16:00 +08:00
parent 081d0dab1d
commit adb2ba0ab2
3 changed files with 9 additions and 17 deletions

View File

@ -11,7 +11,7 @@
<view class="cu-bar search bg-white">
<view class="search-form radius">
<text class="cuIcon-search"></text>
<input @input="InputBlur" placeholder="请输入关键字" confirm-type="search"></input>
<input @input="InputBlur" placeholder="请输入会议标题关键字" confirm-type="search"></input>
</view>
<view class="action">
@ -35,13 +35,6 @@
<view class="dy-subtitle">
<text>会议时间{{i.MEETING_DATE_START}}</text>
</view>
<!-- <view class="dy-subtitle">-->
<!-- <text>会议状态{{i.MEETING_STATUS}}</text>-->
<!-- </view>-->
<!-- <view class="dy-subtitle">-->
<!-- <text>会议内容</text>-->
<!-- <rich-text :nodes="i.MEETING_CONTENT"></rich-text>-->
<!-- </view>-->
</view>
</view>
</view>
@ -61,7 +54,6 @@
<script>
import {
basePath,
corpinfoId,
loginSession,
} from '@/common/tool.js';
import tkiTree from "@/components/select-tree/select-tree.vue"
@ -211,8 +203,7 @@
'Content-type': 'application/x-www-form-urlencoded'
},
data: {
CORPINFOID: corpinfoId,
KEYWORDS: _this.NameLikes, //
MEETING_TITLE: _this.NameLikes, //
},
success: (res) => {
uni.hideLoading(); //

View File

@ -199,6 +199,10 @@
//
ctx.fillText(`用户名: ${loginUser.NAME}`, 10, 120); //
ctx.fillText(`当前位置: ${locationAddress}`, 10, 130); //
//
const now = new Date();
const formattedTime = `${now.getFullYear()}-${now.getMonth()+1}-${now.getDate()} ${now.getHours()}:${now.getMinutes()}:${now.getSeconds()}`;
ctx.fillText(`当前时间: ${formattedTime}`, 10, 140); //
ctx.draw(false, () => {
//
uni.canvasToTempFilePath({

View File

@ -133,7 +133,6 @@
showCount :-1,
currentPage:1,
tabCur :0,
}
},
mounted(e){
@ -167,7 +166,6 @@
_this.getPcData();//
}
}
},
onReady() {
},
@ -189,7 +187,6 @@
}else{
_this.getPcData();
}
},
getData() {
var _this = this;
@ -243,7 +240,7 @@
currentPage : _this.currentPage,
KEYWORDS:_this.KEYWORDS,
loginUserId :loginUserId,
CORPINFO_ID:loginUser.CORPINFO_ID,
// CORPINFO_ID:loginUser.CORPINFO_ID,
USER_ID:loginUser.USER_ID,
},
success: (res) => {