Skip to content

Commit b4ba104

Browse files
committed
eslint
1 parent 08be359 commit b4ba104

File tree

25 files changed

+64
-47
lines changed

25 files changed

+64
-47
lines changed

src/api/infra/demo/demo01/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ export const deleteDemo01Contact = async (id: number) => {
3737
// 导出示例联系人 Excel
3838
export const exportDemo01Contact = async (params) => {
3939
return await request.download({ url: `/infra/demo01-contact/export-excel`, params })
40-
}
40+
}

src/api/infra/demo/demo02/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ export const deleteDemo02Category = async (id: number) => {
3434
// 导出示例分类 Excel
3535
export const exportDemo02Category = async (params) => {
3636
return await request.download({ url: `/infra/demo02-category/export-excel`, params })
37-
}
37+
}

src/api/infra/demo/demo03/erp/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ export const deleteDemo03Grade = async (id: number) => {
8888
// 获得学生班级
8989
export const getDemo03Grade = async (id: number) => {
9090
return await request.get({ url: `/infra/demo03-student/demo03-grade/get?id=` + id })
91-
}
91+
}

src/api/infra/demo/demo03/inner/index.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,16 @@ export const exportDemo03Student = async (params) => {
4242

4343
// 获得学生课程列表
4444
export const getDemo03CourseListByStudentId = async (studentId) => {
45-
return await request.get({ url: `/infra/demo03-student/demo03-course/list-by-student-id?studentId=` + studentId })
45+
return await request.get({
46+
url: `/infra/demo03-student/demo03-course/list-by-student-id?studentId=` + studentId
47+
})
4648
}
4749

4850
// ==================== 子表(学生班级) ====================
4951

5052
// 获得学生班级
5153
export const getDemo03GradeByStudentId = async (studentId) => {
52-
return await request.get({ url: `/infra/demo03-student/demo03-grade/get-by-student-id?studentId=` + studentId })
53-
}
54+
return await request.get({
55+
url: `/infra/demo03-student/demo03-grade/get-by-student-id?studentId=` + studentId
56+
})
57+
}

src/api/infra/demo/demo03/normal/index.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,16 @@ export const exportDemo03Student = async (params) => {
4242

4343
// 获得学生课程列表
4444
export const getDemo03CourseListByStudentId = async (studentId) => {
45-
return await request.get({ url: `/infra/demo03-student/demo03-course/list-by-student-id?studentId=` + studentId })
45+
return await request.get({
46+
url: `/infra/demo03-student/demo03-course/list-by-student-id?studentId=` + studentId
47+
})
4648
}
4749

4850
// ==================== 子表(学生班级) ====================
4951

5052
// 获得学生班级
5153
export const getDemo03GradeByStudentId = async (studentId) => {
52-
return await request.get({ url: `/infra/demo03-student/demo03-grade/get-by-student-id?studentId=` + studentId })
53-
}
54+
return await request.get({
55+
url: `/infra/demo03-student/demo03-grade/get-by-student-id?studentId=` + studentId
56+
})
57+
}

src/components/RouterSearch/index.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@
2929
:class="showTopSearch ? 'w-220px ml2' : 'w-0'"
3030
@change="handleChange"
3131
>
32-
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
32+
<el-option
33+
v-for="item in options"
34+
:key="item.value"
35+
:label="item.label"
36+
:value="item.value"
37+
/>
3338
</el-select>
3439
</div>
3540
</template>
@@ -73,7 +78,7 @@ function remoteMethod(data) {
7378
7479
function handleChange(path) {
7580
router.push({ path })
76-
hiddenTopSearch();
81+
hiddenTopSearch()
7782
}
7883
7984
function hiddenTopSearch() {

src/layout/components/ToolHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default defineComponent({
6565
{screenfull.value ? (
6666
<Screenfull class="custom-hover" color="var(--top-header-text-color)"></Screenfull>
6767
) : undefined}
68-
{search.value ? (<RouterSearch isModal={false} />) : undefined}
68+
{search.value ? <RouterSearch isModal={false} /> : undefined}
6969
{size.value ? (
7070
<SizeDropdown class="custom-hover" color="var(--top-header-text-color)"></SizeDropdown>
7171
) : undefined}

src/views/crm/businessStatusType/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const list = ref([]) // 列表的数据
9595
const total = ref(0) // 列表的总页数
9696
const queryParams = reactive({
9797
pageNo: 1,
98-
pageSize: 10,
98+
pageSize: 10
9999
})
100100
const queryFormRef = ref() // 搜索的表单
101101
const exportLoading = ref(false) // 导出的加载中

src/views/crm/config/customerLimitConfig/CustomerLimitConfigForm.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
v-model="formData.userIds"
1313
:data="userTree"
1414
:props="defaultProps"
15-
check-on-click-node
1615
multiple
1716
filterable
17+
check-on-click-node
1818
node-key="id"
1919
placeholder="请选择规则适用人群"
2020
/>
@@ -25,8 +25,8 @@
2525
:data="deptTree"
2626
:props="defaultProps"
2727
multiple
28-
check-strictly
2928
filterable
29+
check-strictly
3030
node-key="id"
3131
placeholder="请选择规则适用部门"
3232
/>

src/views/infra/codegen/EditTable.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
<colum-info-form ref="columInfoRef" :columns="formData.columns" />
99
</el-tab-pane>
1010
<el-tab-pane label="生成信息" name="generateInfo">
11-
<generate-info-form ref="generateInfoRef" :table="formData.table" :columns="formData.columns" />
11+
<generate-info-form
12+
ref="generateInfoRef"
13+
:table="formData.table"
14+
:columns="formData.columns"
15+
/>
1216
</el-tab-pane>
1317
</el-tabs>
1418
<el-form>

0 commit comments

Comments
 (0)