董国庆
6 天以前 7e8b61eb1d084d53458affcde0b79b506ac41a93
src/view/early-warning/index.vue
@@ -43,6 +43,11 @@
                            <el-option label="将来处理" value="将来处理"></el-option>
                        </el-select>
                    </el-form-item>
                    <el-tabs  v-model="activeName" type="card" @tab-click="handleClick"
                        style="margin-left: 30px;border: none;">
                        <el-tab-pane v-for="(item, index) in options" :key="index" :label="item.name"
                            :name="item.name"></el-tab-pane>
                    </el-tabs>
                </el-form>
            </div>
            <div class="form-right mr--24 mb--22 shrink0">
@@ -94,10 +99,7 @@
            <el-button v-permission="11" class="search-button h--40 w--90 fs--14" icon="el-icon-top" type="primary"
                size="small" @click="exportExc">导出</el-button>
        </div>
        <el-tabs class="mt--23 " v-model="activeName" type="card" @tab-click="handleClick" style="margin-left: 30px;">
            <el-tab-pane v-for="(item, index) in options" :key="index" :label="item.name"
                :name="item.name"></el-tab-pane>
        </el-tabs>
        <div class="table-box ml--30 mr--30">
            <el-table :data="list" border stripe style="width: 100%" v-loading="listLoading">
                <!-- 固定前三列 -->
@@ -262,7 +264,7 @@
        this.fetchData()
        getCarType().then(res => {
            let arr = [{ name: '全部' }]
            this.options = [...arr, ...res];
            this.options = [ ...res,...arr,];
        });
        const query = this.$route.query;
        if (query && Object.keys(query).length > 0) {
@@ -382,6 +384,9 @@
</script>
<style scoped lang="less">
::v-deep .el-tabs--card>.el-tabs__header {
    border: none !important;
}
.color1 {
    color: #0E6EFD;
}