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

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

View File

@ -199,6 +199,10 @@
// //
ctx.fillText(`用户名: ${loginUser.NAME}`, 10, 120); // ctx.fillText(`用户名: ${loginUser.NAME}`, 10, 120); //
ctx.fillText(`当前位置: ${locationAddress}`, 10, 130); // 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, () => { ctx.draw(false, () => {
// //
uni.canvasToTempFilePath({ uni.canvasToTempFilePath({

View File

@ -122,7 +122,7 @@
scrollLeft: 0, scrollLeft: 0,
tabNav: ['平台公告', '企业公告'], tabNav: ['平台公告', '企业公告'],
noClick:true, noClick:true,
KEYWORDS:'', KEYWORDS:'',
list: [], list: [],
pclist: [], pclist: [],
page:1,//-- page:1,//--
@ -133,7 +133,6 @@
showCount :-1, showCount :-1,
currentPage:1, currentPage:1,
tabCur :0, tabCur :0,
} }
}, },
mounted(e){ mounted(e){
@ -167,7 +166,6 @@
_this.getPcData();// _this.getPcData();//
} }
} }
}, },
onReady() { onReady() {
}, },
@ -189,7 +187,6 @@
}else{ }else{
_this.getPcData(); _this.getPcData();
} }
}, },
getData() { getData() {
var _this = this; var _this = this;
@ -206,7 +203,7 @@
data: { data: {
showCount : _this.showCount, showCount : _this.showCount,
currentPage : _this.currentPage, currentPage : _this.currentPage,
KEYWORDS:_this.KEYWORDS, KEYWORDS:_this.KEYWORDS,
corpinfoId :corpinfoId, corpinfoId :corpinfoId,
CORPINFO_ID:loginUser.CORPINFO_ID, CORPINFO_ID:loginUser.CORPINFO_ID,
USER_ID:loginUser.USER_ID, USER_ID:loginUser.USER_ID,
@ -243,7 +240,7 @@
currentPage : _this.currentPage, currentPage : _this.currentPage,
KEYWORDS:_this.KEYWORDS, KEYWORDS:_this.KEYWORDS,
loginUserId :loginUserId, loginUserId :loginUserId,
CORPINFO_ID:loginUser.CORPINFO_ID, // CORPINFO_ID:loginUser.CORPINFO_ID,
USER_ID:loginUser.USER_ID, USER_ID:loginUser.USER_ID,
}, },
success: (res) => { success: (res) => {