优化水印

menu1.0
fanluyan 9 months ago
parent 1dc6818eca
commit 61fef9b3ab

@ -963,6 +963,7 @@ export default {
selectItem2(item) { selectItem2(item) {
console.log(item.value); console.log(item.value);
this.channelForm.rtosd += item.name + ":" + item.value + " "; this.channelForm.rtosd += item.name + ":" + item.value + " ";
console.log(this.channelForm.rtosd);
}, },
selectItem3(item) { selectItem3(item) {
console.log(item.value); console.log(item.value);

@ -956,7 +956,10 @@ export default {
}, },
selectItem2(item) { selectItem2(item) {
console.log(item.value); console.log(item.value);
console.log(item.name);
console.log(this.channelForm.rtosd);
this.channelForm.rtosd += item.name + ":" + item.value + " "; this.channelForm.rtosd += item.name + ":" + item.value + " ";
console.log(this.channelForm.rtosd);
}, },
selectItem3(item) { selectItem3(item) {
console.log(item.value); console.log(item.value);
@ -1081,19 +1084,23 @@ export default {
this.channelForm.aival = resultContent.recognization; this.channelForm.aival = resultContent.recognization;
this.channelForm.roteval = resultContent.orientation; this.channelForm.roteval = resultContent.orientation;
this.channelForm.rtosd = this.channelForm.rtosd =
resultContent.osd.rightTop != "null" resultContent.osd.rightTop !== null &&
resultContent.osd.rightTop !== undefined
? resultContent.osd.rightTop ? resultContent.osd.rightTop
: ""; : "";
this.channelForm.ltosd = this.channelForm.ltosd =
resultContent.osd.leftTop != "null" resultContent.osd.leftTop !== null &&
resultContent.osd.leftTop !== undefined
? resultContent.osd.leftTop ? resultContent.osd.leftTop
: ""; : "";
this.channelForm.lbosd = this.channelForm.lbosd =
resultContent.osd.leftBottom != "null" resultContent.osd.leftBottom !== null &&
resultContent.osd.leftBottom !== undefined
? resultContent.osd.leftBottom ? resultContent.osd.leftBottom
: ""; : "";
this.channelForm.rbosd = this.channelForm.rbosd =
resultContent.osd.rightBottom != "null" resultContent.osd.rightBottom !== null &&
resultContent.osd.rightBottom !== undefined
? resultContent.osd.rightBottom ? resultContent.osd.rightBottom
: ""; : "";
this.channelForm.videoCX = resultContent.videoCX; this.channelForm.videoCX = resultContent.videoCX;

@ -200,6 +200,7 @@
@size-change="handleSizeChange" @size-change="handleSizeChange"
:current-page="page" :current-page="page"
:page-size="pageSize" :page-size="pageSize"
:page-sizes="[20, 50, 100, 200]"
layout="sizes, prev, pager, next, jumper,total" layout="sizes, prev, pager, next, jumper,total"
:total="total" :total="total"
background background

@ -320,6 +320,13 @@ export default {
}, },
created() { created() {
this.roleName = localStorage.getItem("userName"); this.roleName = localStorage.getItem("userName");
let pageSizeFromStorage = localStorage.getItem("photoPageSize");
// 使this.pageSize
this.pageSize =
pageSizeFromStorage !== null && pageSizeFromStorage !== ""
? parseInt(pageSizeFromStorage, 10)
: 20;
// this.picflag = localStorage.getItem("picflag"); // this.picflag = localStorage.getItem("picflag");
// const backButtonRouteGuard = this.$router.beforeEach((to, from, next) => { // const backButtonRouteGuard = this.$router.beforeEach((to, from, next) => {
// if (from.name == "reportData" && this.picflag == "true") { // if (from.name == "reportData" && this.picflag == "true") {
@ -519,6 +526,7 @@ export default {
// //
handleSizeChange(val) { handleSizeChange(val) {
this.pageSize = val; this.pageSize = val;
localStorage.setItem("photoPageSize", this.pageSize);
//this.getPhotoFun(); //this.getPhotoFun();
}, },
// //

Loading…
Cancel
Save