页面问题修改

This commit is contained in:
zzyuan 2025-07-28 09:54:57 +08:00
parent d40d76d5b9
commit 3d5003c927
15 changed files with 137 additions and 48 deletions

View File

@ -303,8 +303,8 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
canteenName: undefined,
areaNameStr: undefined,
keyWord: undefined,
deviceNetworkState: null
},
activeName:"1",
//
@ -392,6 +392,12 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
keyWord: undefined,
deviceNetworkState: null
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -160,7 +160,6 @@ export default {
areaId: undefined,
canteenId: undefined,
},
activeName:"1",
//
form: {},
@ -207,6 +206,12 @@ export default {
/** 重置按钮操作 */
resetQuery() {
this.canteenOptions= []
this.queryParams={
pageNum: 1,
pageSize: 10,
areaId: undefined,
canteenId: undefined,
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -82,8 +82,8 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
deviceType: undefined,
keyWord: undefined
keyWord: undefined,
deviceType: null
},
};
},
@ -111,6 +111,12 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
keyWord: undefined,
deviceType: null
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -85,7 +85,10 @@ export default {
//
queryParams: {
pageNum: 1,
pageSize: 10
pageSize: 10,
searchValue:undefined,
deviceType5:undefined,
deviceType6:undefined,
},
};
},
@ -106,6 +109,13 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this. queryParams = {
pageNum: 1,
pageSize: 10,
searchValue:undefined,
deviceType5:undefined,
deviceType6:undefined,
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -87,8 +87,8 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
canteenName: undefined,
areaNameStr: undefined,
searchValue: undefined,
envSensorResultTypeList: [],
},
dialogVisible:false,//
dialogImageUrl:"",//
@ -105,6 +105,12 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
searchValue: undefined,
envSensorResultTypeList: [],
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -140,9 +140,13 @@ export default {
//
queryParams: {
pageNum: 1,
pageSize: 10,
canteenName: undefined,
areaNameStr: undefined,
pageSize: 10, //
searchValue: undefined,
canteenId: undefined,
stallId: undefined,
weightStandard: undefined,
durationStandard: undefined,
saveStatus: undefined
},
activeName:"1",
dialogVisible:false,//
@ -178,6 +182,16 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams={
pageNum: 1,
pageSize: 10,
searchValue: undefined,
canteenId: undefined,
stallId: undefined,
weightStandard: undefined,
durationStandard: undefined,
saveStatus: undefined
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -79,8 +79,9 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
canteenName: undefined,
areaNameStr: undefined,
searchValue: undefined,
staffName: undefined,
actionType: undefined
},
};
},
@ -95,6 +96,13 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams={
pageNum: 1,
pageSize: 10,
searchValue: undefined,
staffName: undefined,
actionType: undefined
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -92,7 +92,10 @@ export default {
//
queryParams: {
pageNum: 1,
pageSize: 10
pageSize: 10,
searchValue:undefined,
postName:undefined,
checkStatus:undefined
},
dialogVisible:false,//
dialogImageUrl:"",//
@ -116,6 +119,13 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams={
pageNum: 1,
pageSize: 10,
searchValue:undefined,
postName:undefined,
checkStatus:undefined
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -88,8 +88,8 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
canteenName: undefined,
areaNameStr: undefined,
searchValue: undefined,
alarmType: undefined,
},
dialogVisible:false,//
dialogImageUrl:"",//
@ -106,6 +106,12 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.queryParams = {
pageNum: 1,
pageSize: 10,
searchValue: undefined,
alarmType: undefined,
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -97,8 +97,7 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
canteenName: undefined,
areaNameStr: undefined,
mealtimeType: undefined
},
dateRange:[],
pickerOptions: {
@ -144,6 +143,11 @@ export default {
/** 重置按钮操作 */
resetQuery() {
this.dateRange=[]
this.queryParams = {
pageNum: 1,
pageSize: 10,
mealtimeType: undefined
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -276,8 +276,7 @@ export default {
queryParams: {
pageNum: 1,
pageSize: 10,
canteenName: undefined,
areaNameStr: undefined,
mealtimeType: undefined
},
dateRange:[],
pickerOptions: {
@ -393,6 +392,11 @@ export default {
/** 重置按钮操作 */
resetQuery() {
this.dateRange=[]
this.queryParams = {
pageNum: 1,
pageSize: 10,
mealtimeType: undefined
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -180,6 +180,11 @@ export default {
/** 重置按钮操作 */
resetQuery() {
this.dateRange=[]
this.queryParams = {
pageNum: 1,
pageSize: 10,
mealtimeType: undefined
}
this.resetForm("queryForm");
this.handleQuery();
},

View File

@ -155,7 +155,7 @@ import { decrypt, encrypt } from '@/utils/jsencrypt'
import dingding from '@/assets/images/dingding.svg'
import wx from '@/assets/images/wx.svg'
import qq from '@/assets/images/QQ.svg'
import { decryptWithSM4,encryptWithSM4 } from '@/utils/sm';
export default {
name: 'Login',
data() {
@ -282,8 +282,13 @@ export default {
})
},
IsAdmin() {
this.loginForm.loginMethod = this.loginMethod
this.$store.dispatch('IsAdmin', this.loginForm).then(res => {
this.loginForm.loginMethod = this.loginMethod;
let param = {
...this.loginForm
}
param.username = encryptWithSM4(this.loginForm.username)
param.password = encryptWithSM4(this.loginForm.password)
this.$store.dispatch('IsAdmin', param).then(res => {
if (res.data) {
this.isAdmin = res.data
this.$message.success('检测到您是超级管理账号,需进行手机检验')

View File

@ -36,8 +36,8 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
// target: `http://192.168.2.75:48380`,//旭
// target: `http://192.168.0.244:48380`,//测试
target: `http://192.168.0.176:48380`,//刘鑫
target: `http://192.168.0.244:48380`,//测试
// target: `http://192.168.0.176:48380`,//刘鑫
// target: `http://192.168.0.44:48380`,//测试
// target: `http://192.168.0.176:48380`,//
changeOrigin: true,