修改表格操作列

This commit is contained in:
guanj
2026-01-20 14:18:41 +08:00
parent a19952b771
commit 6a112c8ae2
143 changed files with 17745 additions and 17546 deletions

View File

@@ -1,4 +1,5 @@
import createAxios from '@/utils/request' import createAxios from '@/utils/request'
import { genFileId, ElMessage, ElNotification } from 'element-plus'
//事件报告 //事件报告
export function getEventReport(data) { export function getEventReport(data) {
@@ -15,8 +16,39 @@ export function getAreaReport(data) {
method: 'post', method: 'post',
data, data,
responseType: 'blob' responseType: 'blob'
}).then(async res => {
let load: any = await readJsonBlob(res)
if (load.code) {
if (load.data.code == 'A0011') {
ElMessage.warning('下载失败!')
} else {
ElMessage.warning(load.data.message)
}
} else {
return res
}
}) })
} }
async function readJsonBlob(blob) {
try {
// 1. Blob.text() 读取二进制 → 直接转为 字符串(自动处理编码)
const jsonStr = await blob.text()
// 2. JSON.parse 解析字符串 → 得到可用的 JS 对象/数组
const jsonData = JSON.parse(jsonStr)
// 3. 拿到数据,后续随便用
return {
code: true,
data: jsonData
}
} catch (err) {
return {
code: false,
data: {}
}
// console.error('解析Blob的JSON数据失败', err)
}
}
//查询所有模板 //查询所有模板
export function getList(data) { export function getList(data) {
return createAxios({ return createAxios({
@@ -38,6 +70,17 @@ export function getLineExport(data) {
method: 'post', method: 'post',
data: data, data: data,
responseType: 'blob' responseType: 'blob'
}).then(async res => {
let load: any = await readJsonBlob(res)
if (load.code) {
if (load.data.code == 'A0011') {
ElMessage.warning('下载失败!')
} else {
ElMessage.warning(load.data.message)
}
} else {
return res
}
}) })
} }
export function getVoltage(data: any) { export function getVoltage(data: any) {

View File

@@ -1,5 +1,5 @@
import request from '@/utils/request' import request from '@/utils/request'
import { genFileId, ElMessage, ElNotification } from 'element-plus'
export function getHistoryResult(data: any) { export function getHistoryResult(data: any) {
return request({ return request({
url: '/harmonic-boot/harmonic/getHistoryResult', url: '/harmonic-boot/harmonic/getHistoryResult',
@@ -14,5 +14,35 @@ export function exportModelJB(data: any) {
method: 'post', method: 'post',
responseType: 'blob', responseType: 'blob',
data: data data: data
}).then(async res => {
let load: any = await readJsonBlob(res)
if (load.code) {
if (load.data.code == 'A0011') {
ElMessage.warning('下载失败!')
} else {
ElMessage.warning(load.data.message)
}
} else {
return res
}
}) })
} }
async function readJsonBlob(blob) {
try {
// 1. Blob.text() 读取二进制 → 直接转为 字符串(自动处理编码)
const jsonStr = await blob.text()
// 2. JSON.parse 解析字符串 → 得到可用的 JS 对象/数组
const jsonData = JSON.parse(jsonStr)
// 3. 拿到数据,后续随便用
return {
code: true,
data: jsonData
}
} catch (err) {
return {
code: false,
data: {}
}
// console.error('解析Blob的JSON数据失败', err)
}
}

View File

@@ -1,4 +1,5 @@
import createAxios from '@/utils/request' import createAxios from '@/utils/request'
import { genFileId, ElMessage, ElNotification } from 'element-plus'
export function exportModel(data: any) { export function exportModel(data: any) {
return createAxios({ return createAxios({
@@ -6,6 +7,17 @@ export function exportModel(data: any) {
method: 'post', method: 'post',
data: data, data: data,
responseType: 'blob' responseType: 'blob'
}).then(async res => {
let load: any = await readJsonBlob(res)
if (load.code) {
if (load.data.code == 'A0011') {
ElMessage.warning('下载失败!')
} else {
ElMessage.warning(load.data.message)
}
} else {
return res
}
}) })
} }
export function areaHarmonicReport(data: any) { export function areaHarmonicReport(data: any) {
@@ -14,5 +26,35 @@ export function areaHarmonicReport(data: any) {
method: 'post', method: 'post',
data: data, data: data,
responseType: 'blob' responseType: 'blob'
}).then(async res => {
let load: any = await readJsonBlob(res)
if (load.code) {
if (load.data.code == 'A0011') {
ElMessage.warning('下载失败!')
} else {
ElMessage.warning(load.data.message)
}
} else {
return res
}
}) })
} }
async function readJsonBlob(blob) {
try {
// 1. Blob.text() 读取二进制 → 直接转为 字符串(自动处理编码)
const jsonStr = await blob.text()
// 2. JSON.parse 解析字符串 → 得到可用的 JS 对象/数组
const jsonData = JSON.parse(jsonStr)
// 3. 拿到数据,后续随便用
return {
code: true,
data: jsonData
}
} catch (err) {
return {
code: false,
data: {}
}
// console.error('解析Blob的JSON数据失败', err)
}
}

View File

@@ -75,10 +75,10 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'edit', name: 'edit',

View File

@@ -56,7 +56,7 @@ class MQTT {
localStorage.getItem('MqttUrl') == 'null' localStorage.getItem('MqttUrl') == 'null'
? 'ws://192.168.1.68:8083/mqtt' ? 'ws://192.168.1.68:8083/mqtt'
: localStorage.getItem('MqttUrl') : localStorage.getItem('MqttUrl')
if (mqttUrl == 'null'||mqttUrl == null) return
this.client = mqtt.connect(mqttUrl, this.defaultOptions as IClientOptions) this.client = mqtt.connect(mqttUrl, this.defaultOptions as IClientOptions)
this.setupEventListeners() this.setupEventListeners()

View File

@@ -64,10 +64,10 @@ const tableStore = new TableStore({
{ field: 'longitude', title: '经度' }, { field: 'longitude', title: '经度' },
{ field: 'latitude', title: '纬度' }, { field: 'latitude', title: '纬度' },
{ {
title: '操作', title: '操作',fixed: 'right',
align: 'center', align: 'center',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'edit', name: 'edit',

View File

@@ -136,7 +136,7 @@ const tableStore: any = new TableStore({
{ field: 'evaluateDate', title: '评估日期' }, { field: 'evaluateDate', title: '评估日期' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -187,7 +187,7 @@ const tableStore: any = new TableStore({
{ field: 'createBy', title: '创建者' }, { field: 'createBy', title: '创建者' },
{ field: 'createTime', title: '创建日期' }, { field: 'createTime', title: '创建日期' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -77,7 +77,7 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -315,7 +315,7 @@ const tableStore = new TableStore({
{ title: '描述', field: 'remark' }, { title: '描述', field: 'remark' },
{ {
title: '操作', title: '操作',fixed: 'right',
align: 'center', align: 'center',
width: '180', width: '180',
render: 'buttons', render: 'buttons',

View File

@@ -328,7 +328,7 @@ const tableStore = new TableStore({
field: 'tfDescribe' field: 'tfDescribe'
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
align: 'center', align: 'center',
width: '180', width: '180',
render: 'buttons', render: 'buttons',

View File

@@ -161,7 +161,7 @@ const tableStore = new TableStore({
field: 'tfDescribe' field: 'tfDescribe'
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
align: 'center', align: 'center',
width: '180', width: '180',
render: 'buttons', render: 'buttons',

View File

@@ -112,9 +112,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -123,7 +123,7 @@ const tableStore = new TableStore({
] ]
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '200', width: '200',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -49,7 +49,7 @@ const tableStore = new TableStore({
field: 'createTime' field: 'createTime'
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '280', width: '280',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -179,7 +179,7 @@ const tableStore = new TableStore({
{ field: 'duration', title: '持续时间(s)', minWidth: '100' }, { field: 'duration', title: '持续时间(s)', minWidth: '100' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '120', width: '120',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -74,9 +74,14 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="电网标志"> <el-form-item label="电网标志">
<el-select v-model="tableStore.table.params.powerFlag" placeholder="请选择电网标志"> <el-select v-model="tableStore.table.params.powerFlag" placeholder="请选择电网标志">
<el-option v-for="item in sign" :key="item.id" :label="item.name" :value="item.algoDescribe" /> <el-option
</el-select> v-for="item in sign"
:key="item.id"
:label="item.name"
:value="item.algoDescribe"
/>
</el-select>
</el-form-item> </el-form-item>
</template> </template>
</TableHeader> </TableHeader>
@@ -159,6 +164,8 @@ const tableStore = new TableStore({
title: '电压等级', title: '电压等级',
field: 'voltageLevel', field: 'voltageLevel',
align: 'center', align: 'center',
minWidth: 80,
formatter: function (row) { formatter: function (row) {
return row.cellValue ? row.cellValue : '/' return row.cellValue ? row.cellValue : '/'
} }
@@ -167,6 +174,7 @@ const tableStore = new TableStore({
title: '网络参数', title: '网络参数',
field: 'networkParam', field: 'networkParam',
align: 'center', align: 'center',
minWidth: 120,
formatter: function (row) { formatter: function (row) {
return row.cellValue ? row.cellValue : '/' return row.cellValue ? row.cellValue : '/'
} }
@@ -175,6 +183,7 @@ const tableStore = new TableStore({
title: '监测点名称', title: '监测点名称',
field: 'lineName', field: 'lineName',
align: 'center', align: 'center',
minWidth: 120,
formatter: function (row) { formatter: function (row) {
return row.cellValue ? row.cellValue : '/' return row.cellValue ? row.cellValue : '/'
} }
@@ -183,6 +192,7 @@ const tableStore = new TableStore({
title: '厂家', title: '厂家',
field: 'factoryName', field: 'factoryName',
align: 'center', align: 'center',
minWidth: 80,
formatter: function (row) { formatter: function (row) {
return row.cellValue ? row.cellValue : '/' return row.cellValue ? row.cellValue : '/'
} }
@@ -191,6 +201,7 @@ const tableStore = new TableStore({
title: '谐波电压(%)', title: '谐波电压(%)',
field: 'harmonicVoltage', field: 'harmonicVoltage',
align: 'center', align: 'center',
minWidth: 80,
formatter: function (row) { formatter: function (row) {
return row.cellValue != 3.14159 ? row.cellValue : '/' return row.cellValue != 3.14159 ? row.cellValue : '/'
} }
@@ -199,6 +210,7 @@ const tableStore = new TableStore({
title: '电压偏差(%)', title: '电压偏差(%)',
field: 'voltageOffset', field: 'voltageOffset',
align: 'center', align: 'center',
minWidth: 80,
formatter: function (row) { formatter: function (row) {
return row.cellValue != 3.14159 ? row.cellValue : '/' return row.cellValue != 3.14159 ? row.cellValue : '/'
} }
@@ -207,6 +219,7 @@ const tableStore = new TableStore({
title: '三相电压不平衡度(%)', title: '三相电压不平衡度(%)',
field: 'voltageUnbalance', field: 'voltageUnbalance',
align: 'center', align: 'center',
minWidth: 100,
formatter: function (row) { formatter: function (row) {
return row.cellValue != 3.14159 ? row.cellValue : '/' return row.cellValue != 3.14159 ? row.cellValue : '/'
} }
@@ -215,6 +228,7 @@ const tableStore = new TableStore({
title: '间谐波电压含有率(%)', title: '间谐波电压含有率(%)',
field: 'interHarmonic', field: 'interHarmonic',
align: 'center', align: 'center',
minWidth: 100,
formatter: function (row) { formatter: function (row) {
return row.cellValue != 3.14159 ? row.cellValue : '/' return row.cellValue != 3.14159 ? row.cellValue : '/'
} }
@@ -223,6 +237,7 @@ const tableStore = new TableStore({
title: '谐波电流(%)', title: '谐波电流(%)',
field: 'harmonicCurrent', field: 'harmonicCurrent',
align: 'center', align: 'center',
minWidth: 80,
formatter: function (row) { formatter: function (row) {
return row.cellValue != 3.14159 ? row.cellValue : '/' return row.cellValue != 3.14159 ? row.cellValue : '/'
} }
@@ -231,6 +246,7 @@ const tableStore = new TableStore({
title: '负序电流(%)', title: '负序电流(%)',
field: 'negativeCurrent', field: 'negativeCurrent',
align: 'center', align: 'center',
minWidth: 80,
formatter: function (row) { formatter: function (row) {
return row.cellValue != 3.14159 ? row.cellValue : '/' return row.cellValue != 3.14159 ? row.cellValue : '/'
} }
@@ -239,6 +255,7 @@ const tableStore = new TableStore({
title: '频率偏差(%)', title: '频率偏差(%)',
field: 'freqOffset', field: 'freqOffset',
align: 'center', align: 'center',
minWidth: 80,
formatter: function (row) { formatter: function (row) {
return row.cellValue != 3.14159 ? row.cellValue : '/' return row.cellValue != 3.14159 ? row.cellValue : '/'
} }
@@ -247,6 +264,7 @@ const tableStore = new TableStore({
title: '闪变(%)', title: '闪变(%)',
field: 'flicker', field: 'flicker',
align: 'center', align: 'center',
minWidth: 80,
formatter: function (row) { formatter: function (row) {
return row.cellValue != 3.14159 ? row.cellValue : '/' return row.cellValue != 3.14159 ? row.cellValue : '/'
} }
@@ -312,7 +330,7 @@ const tree2List = (list: any, id?: string) => {
}) })
// 返回结果数组 // 返回结果数组
return arr return arr
} }
onMounted(() => { onMounted(() => {
tableStore.index() tableStore.index()
}) })

View File

@@ -69,7 +69,7 @@ const tableStore = new TableStore({
{ title: '更新时间', field: 'updateTime' }, { title: '更新时间', field: 'updateTime' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -49,7 +49,7 @@ const tableStore = new TableStore({
{ title: '计算时间', field: 'updateTime' }, { title: '计算时间', field: 'updateTime' },
{ title: '计算窗口', field: 'timeWindow' }, { title: '计算窗口', field: 'timeWindow' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -107,9 +107,9 @@ const tableStore = new TableStore({
minWidth: 150 minWidth: 150
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -106,9 +106,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -123,7 +123,8 @@ const tableStore = new TableStore({
{ field: 'name', title: '电网拓扑', width: 350, type: 'radio', align: 'left', treeNode: true }, { field: 'name', title: '电网拓扑', width: 350, type: 'radio', align: 'left', treeNode: true },
{ {
field: 'ip', field: 'ip',
title: '网络参数' ,width:'120px', title: '网络参数',
width: '120px',
formatter: ({ row }: any) => { formatter: ({ row }: any) => {
return row.ip || '/' return row.ip || '/'
} }
@@ -249,7 +250,7 @@ const searchEvent = debounce(() => {
(item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1), (item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1),
options options
) )
// console.log('🚀 ~ searchEvent ~ rest:', rest) // console.log('🚀 ~ searchEvent ~ rest:', rest)
tableStore.table.data = rest tableStore.table.data = rest
@@ -288,6 +289,10 @@ const exportEvent = () => {
}) })
exportModelJB(form) exportModelJB(form)
.then(async res => { .then(async res => {
if (res == undefined) {
loading.value = false
return
}
let blob = new Blob([res], { let blob = new Blob([res], {
type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
}) })

View File

@@ -123,7 +123,8 @@ const tableStore = new TableStore({
{ field: 'name', title: '电网拓扑', width: 350, type: 'radio', align: 'left', treeNode: true }, { field: 'name', title: '电网拓扑', width: 350, type: 'radio', align: 'left', treeNode: true },
{ {
field: 'ip', field: 'ip',
title: '网络参数' ,width:'120px', title: '网络参数',
width: '120px',
formatter: ({ row }: any) => { formatter: ({ row }: any) => {
return row.ip || '/' return row.ip || '/'
} }
@@ -249,7 +250,7 @@ const searchEvent = debounce(() => {
(item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1), (item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1),
options options
) )
// console.log('🚀 ~ searchEvent ~ rest:', rest) // console.log('🚀 ~ searchEvent ~ rest:', rest)
tableStore.table.data = rest tableStore.table.data = rest
@@ -288,6 +289,10 @@ const exportEvent = () => {
}) })
exportModelJB(form) exportModelJB(form)
.then(async res => { .then(async res => {
if (res == undefined) {
loading.value = false
return
}
let blob = new Blob([res], { let blob = new Blob([res], {
type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
}) })

View File

@@ -126,7 +126,6 @@ const changetype = (val: any) => {
reportForm.value = val.reportForm reportForm.value = val.reportForm
} }
const selectChange = () => { const selectChange = () => {
if (tableStore.table.data.length != 0) { if (tableStore.table.data.length != 0) {
setTimeout(() => { setTimeout(() => {
luckysheet && luckysheet?.resize() luckysheet && luckysheet?.resize()
@@ -152,6 +151,10 @@ const exportReport = () => {
}) })
exportModelJB(form) exportModelJB(form)
.then(async res => { .then(async res => {
if (res == undefined) {
loading.value = false
return
}
let blob = new Blob([res], { let blob = new Blob([res], {
type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
}) })

View File

@@ -4,7 +4,13 @@
<TableHeader datePicker area showExport> <TableHeader datePicker area showExport>
<template v-slot:select> <template v-slot:select>
<el-form-item label="筛选数据"> <el-form-item label="筛选数据">
<el-input v-model="tableStore.table.params.searchValue" clearable maxlength="32" show-word-limit placeholder="筛选数据" /> <el-input
v-model="tableStore.table.params.searchValue"
clearable
maxlength="32"
show-word-limit
placeholder="筛选数据"
/>
</el-form-item> </el-form-item>
</template> </template>
<template v-slot:operation> <template v-slot:operation>
@@ -50,6 +56,7 @@ const tableStore = new TableStore({
{ {
title: '行业类型', title: '行业类型',
field: 'businessType', field: 'businessType',
minWidth: 80,
formatter: (row: any) => { formatter: (row: any) => {
return industry.find((item: any) => item.id == row.cellValue)?.name || '/' return industry.find((item: any) => item.id == row.cellValue)?.name || '/'
} }
@@ -57,14 +64,16 @@ const tableStore = new TableStore({
{ {
title: '分类等级', title: '分类等级',
field: 'calssificationGrade', field: 'calssificationGrade',
minWidth: 80,
formatter: (row: any) => { formatter: (row: any) => {
return row.cellValue || '/' return row.cellValue || '/'
} }
}, },
{ title: '电压等级', field: 'voltageScale' }, { title: '电压等级', field: 'voltageScale', minWidth: 80 },
{ {
title: '上级变电站', title: '上级变电站',
field: 'superiorsSubstation', field: 'superiorsSubstation',
minWidth: 90,
formatter: (row: any) => { formatter: (row: any) => {
return row.cellValue || '/' return row.cellValue || '/'
} }
@@ -72,6 +81,7 @@ const tableStore = new TableStore({
{ {
title: '挂接线路', title: '挂接线路',
field: 'hangLine', field: 'hangLine',
minWidth: 80,
formatter: (row: any) => { formatter: (row: any) => {
return row.cellValue || '/' return row.cellValue || '/'
} }
@@ -79,6 +89,7 @@ const tableStore = new TableStore({
{ {
title: 'PT变比', title: 'PT变比',
field: 'pt', field: 'pt',
minWidth: 80,
formatter: (row: any) => { formatter: (row: any) => {
return row.row.pt1 + '/' + row.row.pt2 return row.row.pt1 + '/' + row.row.pt2
} }
@@ -86,15 +97,16 @@ const tableStore = new TableStore({
{ {
title: 'CT变比', title: 'CT变比',
field: 'ct', field: 'ct',
minWidth: 80,
formatter: (row: any) => { formatter: (row: any) => {
return row.row.ct1 + '/' + row.row.ct2 return row.row.ct1 + '/' + row.row.ct2
} }
}, },
{ title: '短路容量(MVA)', field: 'shortCapacity' }, { title: '短路容量(MVA)', field: 'shortCapacity', minWidth: 80 },
{ title: '终端容量(MVA)', field: 'deviceCapacity' }, { title: '终端容量(MVA)', field: 'deviceCapacity', minWidth: 80 },
{ title: '协议容量(MVA)', field: 'dealCapacity' }, { title: '协议容量(MVA)', field: 'dealCapacity', minWidth: 80 },
{ title: '谐波情况', field: 'harmDes' }, { title: '谐波情况', field: 'harmDes', minWidth: 80 },
{ title: '电能质量情况', field: 'powerDes' } { title: '电能质量情况', field: 'powerDes', minWidth: 100 }
], ],
beforeSearchFun: () => { beforeSearchFun: () => {
tableStore.table.params.beginTime = tableStore.table.params.startTime tableStore.table.params.beginTime = tableStore.table.params.startTime

View File

@@ -87,6 +87,10 @@ const exportEvent = () => {
endTime: TableHeaderRef.value.datePickerRef.timeValue[1] endTime: TableHeaderRef.value.datePickerRef.timeValue[1]
}) })
.then((res: any) => { .then((res: any) => {
if (res == undefined) {
loading.value = false
return
}
let blob = new Blob([res], { let blob = new Blob([res], {
type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document;charset=UTF-8' type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document;charset=UTF-8'
}) })

View File

@@ -41,7 +41,13 @@
</template> </template>
<template #operation> <template #operation>
<el-button icon="el-icon-Download" type="primary" @click="exportEvent">导出excel</el-button> <el-button icon="el-icon-Download" type="primary" @click="exportEvent">导出excel</el-button>
<el-button icon="el-icon-Download" :loading="loading" @click="exportReport" type="primary" v-if="VITE_FLAG"> <el-button
icon="el-icon-Download"
:loading="loading"
@click="exportReport"
type="primary"
v-if="VITE_FLAG"
>
下载报告 下载报告
</el-button> </el-button>
</template> </template>
@@ -189,6 +195,10 @@ const exportReport = () => {
}) })
exportModelJB(form) exportModelJB(form)
.then(async res => { .then(async res => {
if (res == undefined) {
loading.value = false
return
}
let blob = new Blob([res], { let blob = new Blob([res], {
type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
}) })

View File

@@ -151,6 +151,10 @@ const exportEvent = () => {
ElMessage('生成报告中...') ElMessage('生成报告中...')
exportModel(form) exportModel(form)
.then((res: any) => { .then((res: any) => {
if (res == undefined) {
loading.value = false
return
}
let blob = new Blob([res], { let blob = new Blob([res], {
type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document;charset=UTF-8' type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document;charset=UTF-8'
}) })

View File

@@ -69,7 +69,7 @@ const tableStore = new TableStore({
{ title: '部署时间', field: 'deploymentTime' }, { title: '部署时间', field: 'deploymentTime' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -62,9 +62,9 @@ const tableStore = new TableStore({
{ title: '零序电抗X0(Ω/km)', field: 'zeroX0', minWidth: '80' }, { title: '零序电抗X0(Ω/km)', field: 'zeroX0', minWidth: '80' },
{ title: '零序电纳Y0(S/km)', field: 'zeroY0', minWidth: '80' }, { title: '零序电纳Y0(S/km)', field: 'zeroY0', minWidth: '80' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -96,9 +96,9 @@ const tableStore = new TableStore({
{ title: '谐波49次', field: 'i49', minWidth: '80' }, { title: '谐波49次', field: 'i49', minWidth: '80' },
{ title: '谐波50次', field: 'i50', minWidth: '80' }, { title: '谐波50次', field: 'i50', minWidth: '80' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -63,9 +63,9 @@ const tableStore = new TableStore({
{ title: '启动容量倍数', field: 'inpactloadMultiple', minWidth: '80' }, { title: '启动容量倍数', field: 'inpactloadMultiple', minWidth: '80' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -73,9 +73,9 @@ const tableStore = new TableStore({
{ title: '空载电流(A)', field: 'noloadCur', minWidth: '80' }, { title: '空载电流(A)', field: 'noloadCur', minWidth: '80' },
{ title: '短路阻抗(%)', field: 'shortCircuitImpedance', minWidth: '80' }, { title: '短路阻抗(%)', field: 'shortCircuitImpedance', minWidth: '80' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -184,10 +184,10 @@ const tableStore: any = new TableStore({
// { field: 'name13', title: '单相负荷', minWidth: 180 }, // { field: 'name13', title: '单相负荷', minWidth: 180 },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '220', width: '220',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'edit', name: 'edit',

View File

@@ -100,7 +100,7 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '150', width: '150',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -119,7 +119,7 @@ const tableStore: any = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -122,7 +122,7 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 120, minWidth: 120,
align: 'center', align: 'center',
render: 'buttons', render: 'buttons',

View File

@@ -187,11 +187,11 @@ const tableStore = new TableStore({
title: '最新数据时间' title: '最新数据时间'
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
align: 'center', align: 'center',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'productSetting', name: 'productSetting',

View File

@@ -104,11 +104,11 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: '180', minWidth: '180',
align: 'center', align: 'center',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'edit', name: 'edit',

View File

@@ -134,9 +134,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 230, minWidth: 230,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
// { // {

View File

@@ -33,7 +33,7 @@ const tableStore = new TableStore({
{ field: 'planEndTime', title: '结束时间' }, { field: 'planEndTime', title: '结束时间' },
{ field: 'subCount', title: '普测变电站数量' }, { field: 'subCount', title: '普测变电站数量' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '120', width: '120',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -147,9 +147,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: '180', minWidth: '180',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -142,10 +142,10 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 180, minWidth: 180,
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'productSetting', name: 'productSetting',

View File

@@ -61,7 +61,7 @@ const tableStore = new TableStore({
{ field: 'recordTime', title: '建档时间' }, { field: 'recordTime', title: '建档时间' },
{ field: 'iuploadTime', title: '报告提交评估时间' }, { field: 'iuploadTime', title: '报告提交评估时间' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '120', width: '120',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -95,7 +95,7 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -188,9 +188,9 @@ const tableStore = new TableStore({
}, },
// visible:!jb_pl.value && !jb_dky.value?true:false, // visible:!jb_pl.value && !jb_dky.value?true:false,
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 300, minWidth: 300,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -161,9 +161,9 @@ const tableStore = new TableStore({
}, },
{ field: 'createTime', title: '创建时间', minWidth: 100 }, { field: 'createTime', title: '创建时间', minWidth: 100 },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 180, minWidth: 180,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -167,9 +167,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -139,9 +139,9 @@ const effectTableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -176,9 +176,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 300, minWidth: 300,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -156,10 +156,10 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
align: 'center', align: 'center',
minWidth: '150', minWidth: '150',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -153,10 +153,10 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
align: 'center', align: 'center',
minWidth: '150', minWidth: '150',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -221,11 +221,11 @@ const tableStore = new TableStore({
// }, // },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: '220', minWidth: '220',
align: 'center', align: 'center',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'productSetting', name: 'productSetting',

View File

@@ -138,11 +138,11 @@ const tableStore = new TableStore({
// ] // ]
// }, // },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: '220', minWidth: '220',
align: 'center', align: 'center',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'productSetting', name: 'productSetting',

View File

@@ -56,7 +56,7 @@ const tableStore = new TableStore({
{ field: 'alertType', title: '预警类型' }, { field: 'alertType', title: '预警类型' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -122,7 +122,7 @@ const tableStore = new TableStore({
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -158,10 +158,10 @@ const tableStore = new TableStore({
}, },
{ field: 'nextInspectionTime', title: '下次检测时间' }, { field: 'nextInspectionTime', title: '下次检测时间' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '250', width: '250',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'edit', name: 'edit',

View File

@@ -95,7 +95,7 @@ const tableStore = new TableStore({
} }
/* { /* {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right', fixed: 'right',
render: 'buttons', render: 'buttons',

View File

@@ -131,9 +131,9 @@ const tableStore = new TableStore({
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -194,7 +194,7 @@ const tableStore = new TableStore({
} }
/* { /* {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right', fixed: 'right',
render: 'buttons', render: 'buttons',

View File

@@ -175,10 +175,10 @@ const tableStore = new TableStore({
{ field: 'inspectionTime', title: '检测时间' }, { field: 'inspectionTime', title: '检测时间' },
{ field: 'nextInspectionTime', title: '下次检测时间' }, { field: 'nextInspectionTime', title: '下次检测时间' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '250', width: '250',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'edit', name: 'edit',

View File

@@ -125,9 +125,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -134,8 +134,8 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -114,9 +114,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -107,9 +107,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -128,9 +128,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -146,9 +146,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 230, minWidth: 230,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -100,7 +100,7 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '150', width: '150',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -119,7 +119,7 @@ const tableStore: any = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -119,7 +119,7 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 120, minWidth: 120,
align: 'center', align: 'center',
render: 'buttons', render: 'buttons',

View File

@@ -159,11 +159,11 @@ const tableStore = new TableStore({
title: '最新数据时间' title: '最新数据时间'
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
align: 'center', align: 'center',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'productSetting', name: 'productSetting',

View File

@@ -95,11 +95,11 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: '180', minWidth: '180',
align: 'center', align: 'center',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'edit', name: 'edit',

View File

@@ -124,9 +124,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 230, minWidth: 230,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
// { // {

View File

@@ -33,7 +33,7 @@ const tableStore = new TableStore({
{ field: 'planEndTime', title: '结束时间' }, { field: 'planEndTime', title: '结束时间' },
{ field: 'subCount', title: '普测变电站数量' }, { field: 'subCount', title: '普测变电站数量' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '120', width: '120',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -130,9 +130,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: '180', minWidth: '180',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -133,10 +133,10 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 180, minWidth: 180,
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'productSetting', name: 'productSetting',

View File

@@ -61,7 +61,7 @@ const tableStore = new TableStore({
{ field: 'recordTime', title: '建档时间' }, { field: 'recordTime', title: '建档时间' },
{ field: 'iuploadTime', title: '报告提交评估时间' }, { field: 'iuploadTime', title: '报告提交评估时间' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '120', width: '120',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -95,7 +95,7 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -173,9 +173,9 @@ const tableStore = new TableStore({
}, },
// visible:!jb_pl.value && !jb_dky.value?true:false, // visible:!jb_pl.value && !jb_dky.value?true:false,
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 300, minWidth: 300,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -148,9 +148,9 @@ const tableStore = new TableStore({
}, },
{ field: 'createTime', title: '创建时间', minWidth: 100 }, { field: 'createTime', title: '创建时间', minWidth: 100 },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 180, minWidth: 180,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -151,9 +151,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -139,9 +139,9 @@ const effectTableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -171,9 +171,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 300, minWidth: 300,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -148,10 +148,10 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
align: 'center', align: 'center',
minWidth: '150', minWidth: '150',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -144,10 +144,10 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
align: 'center', align: 'center',
minWidth: '150', minWidth: '150',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -215,11 +215,11 @@ const tableStore = new TableStore({
// }, // },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: '220', minWidth: '220',
align: 'center', align: 'center',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'productSetting', name: 'productSetting',

View File

@@ -112,11 +112,11 @@ const tableStore = new TableStore({
// ] // ]
// }, // },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: '220', minWidth: '220',
align: 'center', align: 'center',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'productSetting', name: 'productSetting',

View File

@@ -56,7 +56,7 @@ const tableStore = new TableStore({
{ field: 'alertType', title: '预警类型' }, { field: 'alertType', title: '预警类型' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -122,7 +122,7 @@ const tableStore = new TableStore({
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '180', width: '180',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [

View File

@@ -158,10 +158,10 @@ const tableStore = new TableStore({
}, },
{ field: 'nextInspectionTime', title: '下次检测时间' }, { field: 'nextInspectionTime', title: '下次检测时间' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '250', width: '250',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'edit', name: 'edit',

View File

@@ -94,7 +94,7 @@ const tableStore = new TableStore({
} }
/* { /* {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right', fixed: 'right',
render: 'buttons', render: 'buttons',

View File

@@ -133,9 +133,9 @@ const tableStore = new TableStore({
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -113,7 +113,7 @@ const tableStore = new TableStore({
/* { /* {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right', fixed: 'right',
render: 'buttons', render: 'buttons',

View File

@@ -175,10 +175,10 @@ const tableStore = new TableStore({
{ field: 'inspectionTime', title: '检测时间' }, { field: 'inspectionTime', title: '检测时间' },
{ field: 'nextInspectionTime', title: '下次检测时间' }, { field: 'nextInspectionTime', title: '下次检测时间' },
{ {
title: '操作', title: '操作',fixed: 'right',
width: '250', width: '250',
render: 'buttons', render: 'buttons',
fixed: 'right',
buttons: [ buttons: [
{ {
name: 'edit', name: 'edit',

View File

@@ -124,9 +124,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -133,8 +133,8 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -113,9 +113,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -106,9 +106,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -127,9 +127,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 150, minWidth: 150,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

View File

@@ -138,9 +138,9 @@ const tableStore = new TableStore({
} }
}, },
{ {
title: '操作', title: '操作',fixed: 'right',
minWidth: 230, minWidth: 230,
fixed: 'right',
render: 'buttons', render: 'buttons',
buttons: [ buttons: [
{ {

Some files were not shown because too many files have changed in this diff Show More