projects/mesxc-zhp #276

Unito
juzi ha unito 2 commit da projects/mesxc-zhp a projects/mesxc-test 2024-03-26 13:43:38 +08:00
3 ha cambiato i file con 11 aggiunte e 51 eliminazioni

Vedi File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-12-27 13:54:52
* @LastEditTime: 2024-03-26 10:46:47
* @LastEditTime: 2024-03-26 10:50:30
* @LastEditors: zhp
* @Description:
-->
@ -127,46 +127,6 @@ export default {
) : []
};
});
// let series = [
// {
// //
// name: '',
// type: 'bar',
// stack: 'total',
// // silent: true,
// // itemStyle: {
// color: '#0fdedb',
// // },
// // barCategoryGap: '10%',
// barWidth: 10,
// data: passRateList
// },
// {
// type: 'bar',
// stack: 'total',
// name: '',
// // barCategoryGap: '10%',
// data: wasteList,
// // barWidth: 10,
// // barWidth: 15,
// // label: {
// // position: [10, 10],
// // normal: {
// // position: [800, -24],
// // show: true,
// // textStyle: {
// // color: '#2359ec',
// // fontSize: 16,
// // },
// // },
// // },
// }
// ]
// for (i = 0; i < 5; i++) {
// series.push({
// })
// }
this.chart.setOption({
legend: {
itemWidth: 12,

Vedi File

@ -297,16 +297,16 @@ export default {
this.handleLogin({});
},
getCookie() {
// const username = getUsername();
// const password = getPassword();
const username = getUsername();
const password = getPassword();
const rememberMe = getRememberMe()
// const tenantName = getTenantName();
const tenantName = getTenantName();
this.loginForm = {
...this.loginForm,
username: this.loginForm.username,
password: this.loginForm.password,
username: username ? username : this.loginForm.username,
password: password ? password : this.loginForm.password,
rememberMe: rememberMe ? getRememberMe() : false,
tenantName: this.loginForm.tenantName,
tenantName: tenantName ? tenantName : this.loginForm.tenantName,
};
},
handleLogin(captchaParams) {

Vedi File

@ -140,12 +140,12 @@ export default {
this.$refs.verify.show()
},
getCookie() {
// const username = getUsername();
// const password = getPassword();
const username = getUsername();
const password = getPassword();
const rememberMe = getRememberMe();
this.loginForm = {
username: this.loginForm.username,
password: this.loginForm.password,
username: username ? username : this.loginForm.username,
password: password ? password : this.loginForm.password,
rememberMe: rememberMe ? getRememberMe() : false,
loginType: this.loginForm.loginType,
};