解决页面插槽使用不规范问题
This commit is contained in:
parent
2a453c8f14
commit
72919c2ffa
|
|
@ -41,8 +41,8 @@ const user = {
|
||||||
// 登录
|
// 登录
|
||||||
Login({ commit }, userInfo) {
|
Login({ commit }, userInfo) {
|
||||||
const username = userInfo.username.trim()
|
const username = userInfo.username.trim()
|
||||||
// const password = encrypt(userInfo.password)
|
const password = encrypt(userInfo.password)
|
||||||
const password = userInfo.password
|
// const password = userInfo.password
|
||||||
const code = userInfo.code
|
const code = userInfo.code
|
||||||
const uuid = userInfo.uuid
|
const uuid = userInfo.uuid
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@
|
||||||
width="80"
|
width="80"
|
||||||
type="index"
|
type="index"
|
||||||
>
|
>
|
||||||
<template scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{
|
<span>{{
|
||||||
(queryParams.pageNum - 1) * 10 + scope.$index + 1
|
(queryParams.pageNum - 1) * 10 + scope.$index + 1
|
||||||
}}</span>
|
}}</span>
|
||||||
|
|
@ -317,7 +317,7 @@
|
||||||
width="80"
|
width="80"
|
||||||
type="index"
|
type="index"
|
||||||
>
|
>
|
||||||
<template scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{
|
<span>{{
|
||||||
(codeQuery.pageNum - 1) * 10 + scope.$index + 1
|
(codeQuery.pageNum - 1) * 10 + scope.$index + 1
|
||||||
}}</span>
|
}}</span>
|
||||||
|
|
|
||||||
|
|
@ -449,7 +449,7 @@
|
||||||
width="80"
|
width="80"
|
||||||
type="index"
|
type="index"
|
||||||
>
|
>
|
||||||
<template scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{
|
<span>{{
|
||||||
(dialogQuery.pageNum - 1) * 10 + scope.$index + 1
|
(dialogQuery.pageNum - 1) * 10 + scope.$index + 1
|
||||||
}}</span>
|
}}</span>
|
||||||
|
|
|
||||||
|
|
@ -344,7 +344,7 @@
|
||||||
width="80"
|
width="80"
|
||||||
type="index"
|
type="index"
|
||||||
>
|
>
|
||||||
<template scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{
|
<span>{{
|
||||||
(queryParams.pageNum - 1) * 10 + scope.$index + 1
|
(queryParams.pageNum - 1) * 10 + scope.$index + 1
|
||||||
}}</span>
|
}}</span>
|
||||||
|
|
@ -783,10 +783,7 @@
|
||||||
this.equipmentTypeList.forEach((item, index) => {
|
this.equipmentTypeList.forEach((item, index) => {
|
||||||
if (item.children && item.children.length > 0) {
|
if (item.children && item.children.length > 0) {
|
||||||
item.children.forEach((item2, index2) => {
|
item.children.forEach((item2, index2) => {
|
||||||
if (
|
if (item2.children && item2.children.length > 0) {
|
||||||
item2.children &&
|
|
||||||
item2.children.length > 0
|
|
||||||
) {
|
|
||||||
item2.children.forEach((item3) => {
|
item2.children.forEach((item3) => {
|
||||||
if (
|
if (
|
||||||
item3.children &&
|
item3.children &&
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue