解决页面插槽使用不规范问题
This commit is contained in:
parent
2a453c8f14
commit
72919c2ffa
|
|
@ -41,8 +41,8 @@ const user = {
|
|||
// 登录
|
||||
Login({ commit }, userInfo) {
|
||||
const username = userInfo.username.trim()
|
||||
// const password = encrypt(userInfo.password)
|
||||
const password = userInfo.password
|
||||
const password = encrypt(userInfo.password)
|
||||
// const password = userInfo.password
|
||||
const code = userInfo.code
|
||||
const uuid = userInfo.uuid
|
||||
return new Promise((resolve, reject) => {
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
width="80"
|
||||
type="index"
|
||||
>
|
||||
<template scope="scope">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(queryParams.pageNum - 1) * 10 + scope.$index + 1
|
||||
}}</span>
|
||||
|
|
@ -317,7 +317,7 @@
|
|||
width="80"
|
||||
type="index"
|
||||
>
|
||||
<template scope="scope">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(codeQuery.pageNum - 1) * 10 + scope.$index + 1
|
||||
}}</span>
|
||||
|
|
|
|||
|
|
@ -449,7 +449,7 @@
|
|||
width="80"
|
||||
type="index"
|
||||
>
|
||||
<template scope="scope">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(dialogQuery.pageNum - 1) * 10 + scope.$index + 1
|
||||
}}</span>
|
||||
|
|
|
|||
|
|
@ -344,7 +344,7 @@
|
|||
width="80"
|
||||
type="index"
|
||||
>
|
||||
<template scope="scope">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(queryParams.pageNum - 1) * 10 + scope.$index + 1
|
||||
}}</span>
|
||||
|
|
@ -440,26 +440,26 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
import {
|
||||
listType,
|
||||
getType,
|
||||
delType,
|
||||
addType,
|
||||
updateType,
|
||||
refreshCache,
|
||||
} from '@/api/system/dict/type'
|
||||
import {
|
||||
} from '@/api/system/dict/type'
|
||||
import {
|
||||
getRepairedList,
|
||||
getRepairedDetailList,
|
||||
inputByType,
|
||||
getTypeList,
|
||||
} from '@/api/store/warehousing'
|
||||
import { equipmentTypeTree } from '@/api/store/tools'
|
||||
} from '@/api/store/warehousing'
|
||||
import { equipmentTypeTree } from '@/api/store/tools'
|
||||
|
||||
import Treeselect from '@riophae/vue-treeselect'
|
||||
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
||||
import Treeselect from '@riophae/vue-treeselect'
|
||||
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
||||
|
||||
export default {
|
||||
export default {
|
||||
name: 'RepairWarehousing',
|
||||
dicts: ['sys_normal_disable'],
|
||||
components: {
|
||||
|
|
@ -783,10 +783,7 @@
|
|||
this.equipmentTypeList.forEach((item, index) => {
|
||||
if (item.children && item.children.length > 0) {
|
||||
item.children.forEach((item2, index2) => {
|
||||
if (
|
||||
item2.children &&
|
||||
item2.children.length > 0
|
||||
) {
|
||||
if (item2.children && item2.children.length > 0) {
|
||||
item2.children.forEach((item3) => {
|
||||
if (
|
||||
item3.children &&
|
||||
|
|
@ -821,11 +818,11 @@
|
|||
immediate: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep.el-table .fixed-width .el-button--mini {
|
||||
::v-deep.el-table .fixed-width .el-button--mini {
|
||||
width: 60px !important;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue