修改表格页面分页问题
This commit is contained in:
parent
e2c11c0b5d
commit
db22e3e0ab
@ -5,15 +5,15 @@ NODE_ENV = production
|
||||
VUE_APP_TITLE = 象纬云科
|
||||
|
||||
# 测试环境
|
||||
VUE_APP_API_BASEURL = https://dev.api.linkwing.com/api/v1
|
||||
VUE_APP_API_DEV = https://dev.api.linkwing.com/api/v1
|
||||
VUE_APP_WS_URL = wss://dev.api.linkwing.com/wss
|
||||
VUE_APP_WSS_URL = wss://dev.api.linkwing.com/wss
|
||||
# VUE_APP_API_BASEURL = https://dev.api.linkwing.com/api/v1
|
||||
# VUE_APP_API_DEV = https://dev.api.linkwing.com/api/v1
|
||||
# VUE_APP_WS_URL = wss://dev.api.linkwing.com/wss
|
||||
# VUE_APP_WSS_URL = wss://dev.api.linkwing.com/wss
|
||||
|
||||
# 线上环境
|
||||
# 接口地址 # WS地址
|
||||
# VUE_APP_API_BASEURL = https://prod.api.linkwing.com/api/v1
|
||||
# VUE_APP_API_DEV = https://prod.api.linkwing.com/api/v1
|
||||
# VUE_APP_WS_URL = wss://prod.api.linkwing.com/wss
|
||||
# VUE_APP_WSS_URL = wss://prod.api.linkwing.com/wss
|
||||
VUE_APP_API_BASEURL = https://prod.api.linkwing.com/api/v1
|
||||
VUE_APP_API_DEV = https://prod.api.linkwing.com/api/v1
|
||||
VUE_APP_WS_URL = wss://prod.api.linkwing.com/wss
|
||||
VUE_APP_WSS_URL = wss://prod.api.linkwing.com/wss
|
||||
|
||||
|
||||
@ -1,23 +1,38 @@
|
||||
import { h, resolveComponent } from 'vue'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
currentPage: {
|
||||
type: Number,
|
||||
required: true
|
||||
},
|
||||
pageSize: {
|
||||
type: Number,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
render() {
|
||||
return h (
|
||||
resolveComponent("el-table-column"),
|
||||
{
|
||||
index: this.index,
|
||||
index:this.index,
|
||||
...this.$attrs
|
||||
},
|
||||
this.$slots
|
||||
)
|
||||
},
|
||||
methods: {
|
||||
index(index){
|
||||
if(this.$attrs.type=="index"){
|
||||
let page = this.$parent.$parent.currentPage
|
||||
let pageSize = this.$parent.$parent.pageSize
|
||||
return (page - 1) * pageSize + index + 1
|
||||
index(index) {
|
||||
if (this.$attrs.type === "index") {
|
||||
if(this.currentPage && this.pageSize){
|
||||
return (this.currentPage - 1) * this.pageSize + index + 1;
|
||||
}else{
|
||||
let page = this.$parent.$parent.currentPage
|
||||
let pageSize = this.$parent.$parent.pageSize
|
||||
return (page - 1) * pageSize + index + 1
|
||||
}
|
||||
}
|
||||
return index
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -20,6 +20,7 @@
|
||||
<div class="scTable" :style="{'height':_height}" ref="scTableMain" v-loading="loading">
|
||||
<div class="scTable-table" :class="hidePagination && hideDo?'bottomNoBorder':''" :style="{'height':_table_height}">
|
||||
<el-table v-bind="$attrs" :header-cell-style="{'background': '#F5F7FA','color':'#606266'}" :data="tableData" :row-key="rowKey" :key="toggleIndex" ref="scTable" :height="height=='auto'?null:'100%'" :size="config.size" :border="config.config.border" :stripe="config.config.stripe" :summary-method="remoteSummary?remoteSummaryMethod:summaryMethod" @sort-change="sortChange" @filter-change="filterChange" @header-dragend="headerDragend">
|
||||
<sc-table-column label="序号" :current-page="currentPage" :page-size="scPageSize" fixed="left" align="center" type="index" width="50"></sc-table-column>
|
||||
<slot></slot>
|
||||
<template v-for="(item, index) in userColumn" :key="index">
|
||||
<el-table-column v-if="!item.hide" :column-key="item.prop" :label="item.label" :prop="item.prop" :width="item.width" :sortable="item.sortable" :fixed="item.fix" :filters="item.filters" :filter-method="remoteFilter||!item.filters?null:filterHandler" :show-overflow-tooltip="true">
|
||||
|
||||
@ -153,7 +153,7 @@
|
||||
.el-main > .scTable .el-table--border .el-table__inner-wrapper tr:first-child th:first-child {border-left: 0;}
|
||||
.el-table.el-table--large {font-size: 14px;}
|
||||
.el-table.el-table--small {font-size: 12px;}
|
||||
.scTable .el-table.el-table--small .el-table__header-wrapper .cell{display: flex;align-items: center;}
|
||||
.scTable .el-table.el-table--small .el-table__header-wrapper .cell{display: flex;align-items: center;justify-content: center;}
|
||||
.scTable .el-table.el-table--small .el-table__header-wrapper .cell .cell_name{display: inline-block;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
|
||||
.el-table {font-size: 12px;}
|
||||
.el-radio-button__inner {font-size: 12px;}
|
||||
|
||||
@ -31,7 +31,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @selection-change="selectionChange" @columnBack="columnBack" :hideTotal="false">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #logo="scope">
|
||||
<el-image class="logoCell" :src="scope.row.logo" preview-teleported :preview-src-list="[scope.row.logo]" fit="contain">
|
||||
<template #error>
|
||||
|
||||
@ -62,7 +62,6 @@
|
||||
<el-main class="nopadding">
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" @selection-change="selectionChange" :params="params" :size="size" border docsSort remoteSort stripe :rowChild="false">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #name="scope">
|
||||
<div class="nameBox" @click="openFolder(scope.row)" v-if="scope.row.type == 'folder'">
|
||||
<el-icon size="large"><sc-icon-Folder/></el-icon>
|
||||
|
||||
@ -40,7 +40,6 @@
|
||||
<el-main class="nopadding">
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" @selection-change="selectionChange" :size="size" border stripe :rowChild="false">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #name="scope">
|
||||
<div class="nameBox" v-if="scope.row.type == 'folder'" @click="openFolder(scope.row)">
|
||||
<el-icon size="large"><sc-icon-Folder/></el-icon>
|
||||
|
||||
@ -23,7 +23,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" @selection-change="selectionChange" @columnBack="columnBack" border stripe :size="size">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #region_name="scope">
|
||||
<span v-if="scope.row.region_info">{{scope.row.region_info.region_name}}</span>
|
||||
</template>
|
||||
|
||||
@ -30,7 +30,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe :size="size" @selection-change="selectionChange">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #logo="scope">
|
||||
<el-image class="logoCell" :src="scope.row.logo" preview-teleported :preview-src-list="[scope.row.logo]" fit="contain">
|
||||
<template #error>
|
||||
|
||||
@ -165,7 +165,6 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<sc-table ref="table" :data="form.component_info" style="width: 100%;" :hidePagination="true" :hideDo="true" :hideEmpty="true" :size="size">
|
||||
<sc-table-column type="index" label="序号" width="65"></sc-table-column>
|
||||
<sc-table-column prop="component_serial_no" label="部件SN/Sp" :show-overflow-tooltip="true" width="160"></sc-table-column>
|
||||
<sc-table-column prop="component_manufacturer" label="部件厂商" :show-overflow-tooltip="true" width="130"></sc-table-column>
|
||||
<sc-table-column prop="component_model" label="部件型号" :show-overflow-tooltip="true" width="160"></sc-table-column>
|
||||
|
||||
@ -29,7 +29,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @selection-change="selectionChange" @columnBack="columnBack">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #logo="scope">
|
||||
<el-image class="logoCell" :src="scope.row.logo" preview-teleported :preview-src-list="[scope.row.logo]" fit="contain">
|
||||
<template #error>
|
||||
|
||||
@ -30,7 +30,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @selection-change="selectionChange">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #logo="scope">
|
||||
<el-image class="logoCell" :src="scope.row.logo" preview-teleported :preview-src-list="[scope.row.logo]" fit="contain">
|
||||
<template #error>
|
||||
|
||||
@ -173,7 +173,6 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<sc-table ref="table" :data="form.component_info" style="width: 100%;" :hidePagination="true" :hideDo="true" :hideEmpty="true" :size="size">
|
||||
<sc-table-column type="index" label="序号" width="65"></sc-table-column>
|
||||
<sc-table-column prop="component_serial_no" label="部件SN/Sp" :show-overflow-tooltip="true" width="160"></sc-table-column>
|
||||
<sc-table-column prop="component_manufacturer" label="部件厂商" :show-overflow-tooltip="true" width="130"></sc-table-column>
|
||||
<sc-table-column prop="component_model" label="部件型号" :show-overflow-tooltip="true" width="160"></sc-table-column>
|
||||
|
||||
@ -18,7 +18,6 @@
|
||||
</div>
|
||||
<div class="cardBody">
|
||||
<sc-table ref="table" :data="info.component_info" style="width: 100%;" :hidePagination="true" :hideDo="true" :hideEmpty="true" :size="size">
|
||||
<sc-table-column type="index" label="序号" width="65"></sc-table-column>
|
||||
<sc-table-column prop="component_serial_no" label="部件SN/Sp" :show-overflow-tooltip="true" width="160"></sc-table-column>
|
||||
<sc-table-column prop="component_manufacturer" label="部件厂商" :show-overflow-tooltip="true" width="130"></sc-table-column>
|
||||
<sc-table-column prop="component_model" label="部件型号" :show-overflow-tooltip="true" width="160"></sc-table-column>
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
<el-card class="logCard" shadow="never" header="工单日志">
|
||||
<el-main class="nopadding">
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" :params="params" row-key="id" stripe :size="size">
|
||||
<sc-table-column label="序号" type="index"></sc-table-column>
|
||||
</scTable>
|
||||
</el-main>
|
||||
</el-card>
|
||||
|
||||
@ -36,7 +36,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe :size="size" border highlightCurrentRow :hideTotal="false" @selection-change="selectionChange" @columnBack="columnBack">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #business_status="scope">
|
||||
<span v-for="(item,ind) in setMap.statusList" :key="ind">
|
||||
<span :style="{color:item.value==1?`var(--el-order-color-1)`:item.value==2?`var(--el-order-color-2)`:item.value==3?`var(--el-order-color-3)`:item.value==4?`var(--el-order-color-4)`:`var(--el-order-color-100)`}"
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @selection-change="selectionChange" @columnBack="columnBack">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #repair_date="scope">{{scope.row.repair_order && scope.row.repair_order.repair_date?scope.row.repair_order.repair_date:''}}</template>
|
||||
<template #schedule_date="scope">{{scope.row.repair_order && scope.row.repair_order.schedule_date?scope.row.repair_order.schedule_date:''}}</template>
|
||||
<template #repair_status="scope">
|
||||
|
||||
@ -16,7 +16,6 @@
|
||||
</div>
|
||||
<div class="cardBody">
|
||||
<sc-table ref="table" :data="info.component_info" style="width: 100%;" :hidePagination="true" :hideDo="true" :hideEmpty="true" :size="size">
|
||||
<sc-table-column type="index" label="序号" width="65"></sc-table-column>
|
||||
<sc-table-column prop="component_serial_no" label="部件SN/Sp" :show-overflow-tooltip="true" width="160"></sc-table-column>
|
||||
<sc-table-column prop="component_manufacturer" label="部件厂商" :show-overflow-tooltip="true" width="130"></sc-table-column>
|
||||
<sc-table-column prop="component_model" label="部件型号" :show-overflow-tooltip="true" width="160"></sc-table-column>
|
||||
|
||||
@ -109,7 +109,6 @@
|
||||
<div class="cardBody">
|
||||
<sc-table ref="table" :data="params.repair_info" style="width: 100%;" :hidePagination="true"
|
||||
:hideDo="true" :hideEmpty="true" :size="size">
|
||||
<sc-table-column type="index" label="序号" width="65"></sc-table-column>
|
||||
<sc-table-column prop="new_part_mpn" label="部件MPN" :show-overflow-tooltip="true" width="240">
|
||||
<template #default="scope">
|
||||
<el-input :size="size" v-model="scope.row.new_part_mpn" placeholder="部件MPN"></el-input>
|
||||
@ -292,4 +291,4 @@
|
||||
.btnAdd {
|
||||
margin-top: 15px;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@ -15,7 +15,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" :hideTotal="false" @selection-change="selectionChange" @columnBack="columnBack">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #repair_status="scope">
|
||||
<span v-for="(item,ind) in setMap.statusList" :key="ind">
|
||||
<span :style="{color:item.value==1?`var(--el-order-color-1)`:item.value==2?`var(--el-order-color-2)`:item.value==3?`var(--el-order-color-3)`:item.value==4?`var(--el-order-color-4)`:`var(--el-order-color-100)`}"
|
||||
|
||||
@ -22,7 +22,6 @@
|
||||
</el-row>
|
||||
<div class="cardBody">
|
||||
<sc-table ref="table" :data="info.component_info" style="width: 100%;" :hidePagination="true" :hideDo="true" :hideEmpty="true" :size="size">
|
||||
<sc-table-column type="index" label="序号" width="65"></sc-table-column>
|
||||
<sc-table-column prop="component_serial_no" label="部件SN/Sp" :show-overflow-tooltip="true" width="160"></sc-table-column>
|
||||
<sc-table-column prop="component_manufacturer" label="部件厂商" :show-overflow-tooltip="true" width="130"></sc-table-column>
|
||||
<sc-table-column prop="component_model" label="部件型号" :show-overflow-tooltip="true" width="160"></sc-table-column>
|
||||
|
||||
@ -47,7 +47,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="apiObj" row-key="id" @selection-change="selectionChange" stripe :size="size">
|
||||
<el-table-column label="序号" type="index" width="50"></el-table-column>
|
||||
<el-table-column label="工单号" prop="order_sn" width="150"></el-table-column>
|
||||
<el-table-column label="角色名称" prop="label" width="150"></el-table-column>
|
||||
<el-table-column label="别名" prop="alias" width="200"></el-table-column>
|
||||
|
||||
@ -30,7 +30,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @selection-change="selectionChange">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #logo="scope">
|
||||
<el-image class="logoCell" :src="scope.row.logo" preview-teleported :preview-src-list="[scope.row.logo]" fit="contain">
|
||||
<template #error>
|
||||
|
||||
@ -30,7 +30,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @selection-change="selectionChange">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #logo="scope">
|
||||
<el-image class="logoCell" :src="scope.row.logo" preview-teleported :preview-src-list="[scope.row.logo]" fit="contain">
|
||||
<template #error>
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
<div class="header">问题反馈</div>
|
||||
<div class="content">
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" :size="size" hideDo border>
|
||||
<el-table-column type="index" label="序号"></el-table-column>
|
||||
<template v-for="(item,index) in list.column" :key="index">
|
||||
<el-table-column :label="item.label" :prop="item.prop" :width="item.width" show-overflow-tooltip>
|
||||
<template #default="scope">
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @selection-change="selectionChange">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #type="scope">
|
||||
<span v-for="(item,index) in setMap.typeList" :key="index">
|
||||
<span v-if="item.value == scope.row.type">{{item.label}}</span>
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" stripe border :size="size" highlightCurrentRow :hideDo="true" >
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<el-table-column width="380" label="客户名称" prop="customer_name">
|
||||
<template #default="scope">
|
||||
<div v-if="scope.row.$edit_show">
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" stripe :size="size" highlightCurrentRow :hideDo="true" :hidePagination="true">
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<el-table-column width="200" label="机房名称" prop="name"></el-table-column>
|
||||
<el-table-column width="200" label="机房代码" prop="code"></el-table-column>
|
||||
<el-table-column width="200" label="机房城市" prop="city"></el-table-column>
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" stripe :size="size" border highlightCurrentRow @selection-change="selectionChange">
|
||||
<sc-table-column type="selection" align="center" width="40"></sc-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<el-table-column label="操作" fixed="right" align="center" width="160">
|
||||
<template #default="scope">
|
||||
<el-dropdown>
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
</el-header>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" stripe border :size="size" highlightCurrentRow :hideDo="true" @selection-change="selectionChange">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #data_source="scope">
|
||||
<span v-for="(item,index) in setMap.sourceList" :key="index">
|
||||
<span v-if="item.value === scope.row.data_source">{{item.label}}</span>
|
||||
|
||||
@ -33,7 +33,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" stripe border :size="size" highlightCurrentRow :hideDo="true" :hidePagination="true">
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<el-table-column width="200" label="任务名称" prop="name"></el-table-column>
|
||||
<el-table-column width="200" label="任务描述" prop="memo"></el-table-column>
|
||||
<el-table-column width="200" label="任务表达式" prop="cron_expression"></el-table-column>
|
||||
|
||||
@ -11,7 +11,6 @@
|
||||
</div>
|
||||
</el-header>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" stripe border :size="size" :hideDo="true" :hidePagination="true" @selection-change="selectionChange">
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<el-table-column width="200" label="备件类别" prop="spare_parts_category"></el-table-column>
|
||||
<el-table-column width="200" label="故障率" prop="failure_rate"></el-table-column>
|
||||
<el-table-column width="200" label="配置人" prop="creator_name"></el-table-column>
|
||||
|
||||
@ -30,7 +30,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" :params="params" row-key="id" stripe border :size="size" @selection-change="selectionChange" @columnBack="columnBack">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<!-- <template #disable_status="scope">-->
|
||||
<!-- <el-switch :size="size" v-model="scope.row.disable_status" @change="changeSwitch($event, scope.row)" :loading="scope.row.$switch_status" :active-value="true" :inactive-value="false"></el-switch>-->
|
||||
<!-- </template>-->
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
<el-main class="nopadding">
|
||||
<scTable ref="table" :apiObj="apiObj" row-key="id" @selection-change="selectionChange" stripe>
|
||||
<el-table-column type="selection" width="50"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<el-table-column label="应用ID" prop="appId" width="150"></el-table-column>
|
||||
<el-table-column label="应用名称" prop="appName" width="250"></el-table-column>
|
||||
<el-table-column label="状态" width="50">
|
||||
|
||||
@ -30,7 +30,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @selection-change="selectionChange" @columnBack="columnBack">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #logo="scope">
|
||||
<el-image class="logoCell" :src="scope.row.logo" preview-teleported :preview-src-list="[scope.row.logo]" fit="contain">
|
||||
<template #error>
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
<el-main class="nopadding">
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe :size="size" :showPagination="false" @selection-change="selectionChange">
|
||||
<el-table-column type="selection" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<el-table-column label="状态" fixed="right" align="center" width="80" prop="active_status">
|
||||
<template #default="scope">
|
||||
<el-switch :size="size" v-auth="'updateDeptStatus'" v-model="scope.row.active_status" @change="changeSwitch($event, scope.row)" :loading="scope.row.$switch_status" :active-value="true" :inactive-value="false"></el-switch>
|
||||
|
||||
@ -16,7 +16,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" stripe border :size="size" highlightCurrentRow @row-click="rowClick" @columnBack="columnBack">
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #type="scope">
|
||||
<span v-for="(item,ind) in setMap.typeList" :key="ind">
|
||||
<span v-if="item.type == scope.row.type">{{item.type_text}}</span>
|
||||
|
||||
@ -15,7 +15,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" stripe border :size="size" highlightCurrentRow @row-click="rowClick">
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
</scTable>
|
||||
</el-main>
|
||||
</el-container>
|
||||
|
||||
@ -31,7 +31,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" row-key="id" @selection-change="selectionChange" @columnBack="columnBack" stripe border :size="size">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<el-table-column label="操作" fixed="right" align="center" width="150">
|
||||
<template #default="scope">
|
||||
<el-dropdown>
|
||||
|
||||
@ -31,7 +31,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" @selection-change="selectionChange" @columnBack="columnBack" stripe border :size="size">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<el-table-column label="操作" fixed="right" align="center" width="150">
|
||||
<template #default="scope">
|
||||
<el-dropdown>
|
||||
|
||||
@ -24,7 +24,6 @@
|
||||
stripe
|
||||
>
|
||||
<el-table-column type="selection" width="50"></el-table-column>
|
||||
<el-table-column label="序号" type="index" width="50"></el-table-column>
|
||||
</scTable>
|
||||
</el-main>
|
||||
</el-container>
|
||||
|
||||
@ -57,7 +57,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" @selection-change="selectionChange" stripe border :size="size">
|
||||
<el-table-column type="selection" align="center" width="45"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #company_sort_name="scope">
|
||||
<span v-if="scope.row.company_info">
|
||||
{{scope.row.company_info.name}}
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" row-key="id" @selection-change="selectionChange" stripe :size="size">
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<el-table-column label="工单号" prop="order_sn" width="150"></el-table-column>
|
||||
<el-table-column label="别名" prop="alias" width="200"></el-table-column>
|
||||
<el-table-column label="排序" prop="sort" width="80"></el-table-column>
|
||||
|
||||
@ -30,7 +30,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @selection-change="selectionChange">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #logo="scope">
|
||||
<el-image class="logoCell" :src="scope.row.logo" preview-teleported :preview-src-list="[scope.row.logo]" fit="contain">
|
||||
<template #error>
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @selection-change="selectionChange" @columnBack="columnBack">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #logo="scope">
|
||||
<el-image class="logoCell" :src="scope.row.logo" preview-teleported :preview-src-list="[scope.row.logo]" fit="contain">
|
||||
<template #error>
|
||||
|
||||
@ -30,7 +30,6 @@
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @selection-change="selectionChange">
|
||||
<el-table-column type="selection" align="center" width="40"></el-table-column>
|
||||
<sc-table-column label="序号" align="center" type="index"></sc-table-column>
|
||||
<template #logo="scope">
|
||||
<el-image class="logoCell" :src="scope.row.logo" preview-teleported :preview-src-list="[scope.row.logo]" fit="contain">
|
||||
<template #error>
|
||||
|
||||
@ -16,7 +16,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<scTable ref="table" :apiObj="list.apiObj" :column="list.column" row-key="id" stripe border :size="size" @row-click="rowClick" @columnBack="columnBack">
|
||||
<sc-table-column label="序号" type="index"></sc-table-column>
|
||||
<template #type="scope">
|
||||
<span v-for="(item,ind) in setMap.typeList" :key="ind">
|
||||
<span v-if="item.type == scope.row.type">{{item.type_text}}</span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user