zouyu
2023-08-31 00b15962f9a8175a61197b6fb6e19d6014e75507
	modified:   .env.development
modified: src/views/inspectionManagement/commissionInspection/index.vue
已修改2个文件
22 ■■■■■ 文件已修改
.env.development 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/inspectionManagement/commissionInspection/index.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -2,4 +2,4 @@
ENV = 'development'
# base api
VUE_APP_BASE_API =  'http://localhost:1234/'
VUE_APP_BASE_API =  'http://192.168.110.107:1234/'
src/views/inspectionManagement/commissionInspection/index.vue
@@ -194,7 +194,7 @@
                    value: '1',
                    label: '部门1'
                }],
                radioValue: 0,
                radioValue: null,
                commisionTable: [{
                    specifications_models: "GGXH-AAAAA",
                    inspectionTime: "2023-08-03",
@@ -210,15 +210,15 @@
                }],
                conditionsOptions: [{
                        label: '全部',
                        value: 0
                        value: null
                    },
                    {
                        label: '已检验',
                        value: 1
                        value: 0
                    },
                    {
                        label: '待检验',
                        value: 2
                        value: 1
                    }
                ],
                currentPage: 1,
@@ -405,8 +405,6 @@
            async radioclick() {
                // 处理点击radio的时间
                if (this.radioValue === 0) {
                    this.getCommisionList()
                } else {
                    const res = await getCommisionList({
                        pageNo: this.currentPage,
                        pageSize: this.pageSize,
@@ -414,6 +412,16 @@
                    })
                    this.commisionTable = res.data.row
                    this.total = res.data.total
                } else if(this.radioValue === 1) {
                    const res = await getCommisionList({
                        pageNo: this.currentPage,
                        pageSize: this.pageSize,
                        inspectionStatus: this.radioValue
                    })
                    this.commisionTable = res.data.row
                    this.total = res.data.total
                }else{
                    this.getCommisionList();
                }
            },