【fix ESLint】components/jero、components/layouts、components/tools、utils、views/account/center、views/demo、views/system

This commit is contained in:
zhaoxiao
2023-03-08 15:20:31 +08:00
parent e37d7c0c4e
commit 5bad1fef61
36 changed files with 98 additions and 70 deletions
@@ -38,6 +38,7 @@ import { FormTypes } from '@/utils/JEditableTableUtil'
import { randomUUID, randomNumber } from '@/utils/util'
import JEditableTable from '@/components/jero/JEditableTable'
/* eslint-disable no-template-curly-in-string */
export default {
name: 'DefaultTable',
components: { JEditableTable },
@@ -234,6 +235,7 @@ export default {
/** 获取值,忽略表单验证 */
handleTableGet () {
this.$refs.editableTable.getValues((error, values) => {
console.log('error:', error)
console.log('values:', values)
}, false)
console.log('deleteIds:', this.$refs.editableTable.getDeleteIds())
@@ -87,7 +87,7 @@
import { VALIDATE_FAILED, getRefPromise, validateFormModelAndTables } from '@/components/jero/JVxeTable/utils/vxeUtils'
import { httpAction, getAction } from '@/api/manage'
import { JVXETypes } from '@/components/jero/JVxeTable'
/* eslint-disable no-template-curly-in-string */
export default {
name: 'JeroOrderModalForJvexTable',
data () {
@@ -26,6 +26,7 @@ export default {
type: FormTypes.select,
width: '240px',
options: [],
// eslint-disable-next-line no-template-curly-in-string
placeholder: '请选择${title}'
},
{
@@ -34,6 +35,7 @@ export default {
type: FormTypes.select,
width: '240px',
options: [],
// eslint-disable-next-line no-template-curly-in-string
placeholder: '请选择${title}'
},
{
@@ -42,6 +44,7 @@ export default {
type: FormTypes.select,
width: '240px',
options: [],
// eslint-disable-next-line no-template-curly-in-string
placeholder: '请选择${title}'
}
],
@@ -86,7 +86,7 @@
</a-col>
<a-col :span="2">
<a-form-model-item>
<a-icon type="minus-circle" @click="delRowCustom(index)" style="fontSize :20px"/>
<a-icon type="minus-circle" @click="delRowCustom(index)" style="font-size :20px"/>
</a-form-model-item>
</a-col>
</a-row>
@@ -121,7 +121,7 @@
</a-col>
<a-col :span="6">
<a-form-model-item>
<a-icon type="minus-circle" @click="delRowTicket(index)" style="fontSize :20px"/>
<a-icon type="minus-circle" @click="delRowTicket(index)" style="font-size :20px"/>
</a-form-model-item>
</a-col>
</a-row>
@@ -86,6 +86,7 @@ import JEditableTable from '@/components/jero/JEditableTable'
import { FormTypes, VALIDATE_NO_PASSED, getRefPromise, validateFormModelAndTables } from '@/utils/JEditableTableUtil'
import { httpAction, getAction } from '@/api/manage'
/* eslint-disable no-template-curly-in-string */
export default {
name: 'JeroOrderModalForJEditableTable',
components: {