[update] 修改bug80276

This commit is contained in:
lideqin
2024-01-12 11:46:56 +08:00
parent 46be7892ad
commit 92482c305f
11 changed files with 323 additions and 62 deletions
@@ -7,11 +7,12 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
:rowKey="(record, index) => {return index}"
:rowKey="(record, index) => { return (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index }"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:loading="loading">
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
<!-- 修改前 -->
<template v-slot:beforeUpdate="{text, record}">
@@ -57,6 +58,18 @@ export default {
},
data () {
return {
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
columns: [
{
title: this.$t('serialNumber'),
@@ -145,6 +158,9 @@ export default {
data.dataSource = this.dataSource
return data
},
handleTableChange (pagination) {
this.ipagination = pagination
},
// 修改前按钮点击
beforeUpdateClick (record) {
this.$refs.textContentModal.open(record.beforeUpdate)
@@ -30,11 +30,12 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
:rowKey="(record, index) => { return index }"
:rowKey="(record, index) => { return (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index }"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:loading="loading">
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
<!-- 修改前 -->
<template v-slot:beforeUpdate="{text, record}">
@@ -268,6 +269,18 @@ export default {
},
data () {
return {
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
columns: [
{
title: this.$t('serialNumber'),
@@ -509,6 +522,9 @@ export default {
processNameChange (value) {
this.$emit('processNameChange', value)
},
handleTableChange (pagination) {
this.ipagination = pagination
},
// 新增修改单
handleAdd () {
// 不知道左侧要预览哪个文件
@@ -521,11 +537,19 @@ export default {
// 不知道左侧要预览哪个文件
const file = ''
this.$refs.updateListModal.title = this.$t('edit')
this.$refs.updateListModal.edit(file, record, index)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.$refs.updateListModal.edit(file, record, dataIndex)
},
// 修改单的删除
handleDelete (index) {
this.dataSource.splice(index, 1)
this.$confirm({
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
onOk: () => {
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.dataSource.splice(dataIndex, 1)
}
})
},
// 修改单新增编辑完成
modalFormOk (value, index) {
@@ -17,12 +17,13 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
rowKey="espId"
:rowKey="(record, index) => { return (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index }"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}">
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<!-- 企标编号/企标名称 -->
<template v-slot:toDetail="{text, record}">
@@ -68,6 +69,18 @@ export default {
data () {
return {
loading: false,
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
columns: [
{
title: this.$t('serialNumber'),
@@ -181,6 +194,9 @@ export default {
}
})
},
handleTableChange (pagination) {
this.ipagination = pagination
},
// 表格选中
onSelectChange (selectedRowKeys, selectionRows) {
this.selectedRowKeys = selectedRowKeys
@@ -203,17 +219,39 @@ export default {
},
// 编辑
handleEdit (record, index) {
this.modalType = 'edit' + index
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.modalType = 'edit' + ',' + dataIndex
this.$refs.changeBaseInfoDrawer.edit(record)
this.$refs.changeBaseInfoDrawer.title = this.$t('edit')
},
// 删除
handleDelete (id, index) {
this.dataSource.splice(index, 1)
this.$confirm({
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
onOk: () => {
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.dataSource.splice(dataIndex, 1)
}
})
},
// 批量删除
batchDel () {
this.dataSource = this.dataSource.filter(item => !this.selectedRowKeys.includes(item.espId))
if (this.selectedRowKeys.length <= 0) {
this.$message.warning(this.$t('selectARecord'))
return
}
this.$confirm({
title: this.$t('confirmBatchDeletion'),
content: this.$t('deleteAData'),
onOk: () => {
for (let i = 0; i < this.selectedRowKeys.length; i++) {
this.dataSource.splice(this.selectedRowKeys[i], 1, false)
}
this.dataSource = this.dataSource.filter(item => !!item)
this.selectedRowKeys = []
}
})
}
}
}
@@ -17,12 +17,13 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
rowKey="enterpriseStandardPlanId"
:rowKey="(record, index) => { return (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index }"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}">
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<!-- 企标编号/企标名称 -->
<template v-slot:toDetail="{text, record}">
@@ -67,6 +68,18 @@ export default {
data () {
return {
loading: false,
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
columns: [
{
title: this.$t('serialNumber'),
@@ -145,6 +158,9 @@ export default {
}
})
},
handleTableChange (pagination) {
this.ipagination = pagination
},
// 表格选中
onSelectChange (selectedRowKeys, selectionRows) {
this.selectedRowKeys = selectedRowKeys
@@ -167,17 +183,39 @@ export default {
},
// 编辑
handleEdit (record, index) {
this.modalType = 'edit' + index
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.modalType = 'edit' + ',' + dataIndex
this.$refs.jobEndBaseInfoDrawer.edit(record)
this.$refs.jobEndBaseInfoDrawer.title = this.$t('edit')
},
// 删除
handleDelete (id, index) {
this.dataSource.splice(index, 1)
this.$confirm({
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
onOk: () => {
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.dataSource.splice(dataIndex, 1)
}
})
},
// 批量删除
batchDel () {
this.dataSource = this.dataSource.filter(item => !this.selectedRowKeys.includes(item.enterpriseStandardPlanId))
if (this.selectedRowKeys.length <= 0) {
this.$message.warning(this.$t('selectARecord'))
return
}
this.$confirm({
title: this.$t('confirmBatchDeletion'),
content: this.$t('deleteAData'),
onOk: () => {
for (let i = 0; i < this.selectedRowKeys.length; i++) {
this.dataSource.splice(this.selectedRowKeys[i], 1, false)
}
this.dataSource = this.dataSource.filter(item => !!item)
this.selectedRowKeys = []
}
})
}
}
}
@@ -29,11 +29,12 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
rowKey="id"
:rowKey="(record, index) => { return (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index }"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:loading="loading">
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
<!-- 操作栏 -->
<div slot="action" slot-scope="{record, index}" class="action-span-cell">
@@ -66,6 +67,18 @@ export default {
data () {
return {
loading: false,
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
columns: [
{
title: this.$t('serialNumber'),
@@ -137,6 +150,9 @@ export default {
return false
}
},
handleTableChange (pagination) {
this.ipagination = pagination
},
// 新增征求意见
handleAdd () {
// 不知道左侧要预览哪个文件
@@ -149,7 +165,8 @@ export default {
// 不知道左侧要预览哪个文件
const file = ''
this.$refs.commentModal.title = this.$t('edit')
this.$refs.commentModal.edit(file, record, index)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.$refs.commentModal.edit(file, record, dataIndex)
},
// 征求意见的删除
handleDelete (index) {
@@ -157,7 +174,8 @@ export default {
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
onOk: () => {
this.dataSource.splice(index, 1)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.dataSource.splice(dataIndex, 1)
}
})
},
@@ -25,8 +25,9 @@
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:loading="loading">
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
<!-- 操作栏 -->
<div slot="action" slot-scope="{record, index}" class="action-span-cell">
@@ -84,6 +85,18 @@ export default {
data () {
return {
loading: false,
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
columns: [
{
title: this.$t('serialNumber'),
@@ -180,12 +193,16 @@ export default {
})
return data
},
handleTableChange (pagination) {
this.ipagination = pagination
},
// 征求意见的编辑
handleEdit (record, index) {
// 不知道左侧要预览哪个文件
const file = ''
this.$refs.commentModal.title = this.$t('edit')
this.$refs.commentModal.edit(file, record, index)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.$refs.commentModal.edit(file, record, dataIndex)
},
// 征求意见的删除
handleDelete (index) {
@@ -193,7 +210,8 @@ export default {
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
onOk: () => {
this.dataSource.splice(index, 1)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.dataSource.splice(dataIndex, 1)
}
})
},
@@ -29,11 +29,12 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
rowKey="id"
:rowKey="(record, index) => { return (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index }"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:loading="loading">
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
<!-- 操作栏 -->
<div slot="action" slot-scope="{record, index}" class="action-span-cell">
@@ -66,6 +67,18 @@ export default {
data () {
return {
loading: false,
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
columns: [
{
title: this.$t('serialNumber'),
@@ -144,6 +157,9 @@ export default {
return false
}
},
handleTableChange (pagination) {
this.ipagination = pagination
},
// 新增征求意见
handleAdd () {
// 不知道左侧要预览哪个文件
@@ -156,7 +172,8 @@ export default {
// 不知道左侧要预览哪个文件
const file = ''
this.$refs.commentModal.title = this.$t('edit')
this.$refs.commentModal.edit(file, record, index)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.$refs.commentModal.edit(file, record, dataIndex)
},
// 征求意见的删除
handleDelete (index) {
@@ -164,7 +181,8 @@ export default {
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
onOk: () => {
this.dataSource.splice(index, 1)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.dataSource.splice(dataIndex, 1)
}
})
},
@@ -29,11 +29,12 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
rowKey="id"
:rowKey="(record, index) => { return (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index }"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:loading="loading">
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
</j-table>
</div>
@@ -61,6 +62,18 @@ export default {
data () {
return {
loading: false,
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
columns: [
{
title: this.$t('serialNumber'),
@@ -107,7 +120,7 @@ export default {
dataIndex: 'handleAdvice',
customRender: (text, row, index) => {
const obj = {
children: <a-select v-model={this.dataSource[index].handleAdvice}
children: <a-select v-model={row.handleAdvice}
placeholder={this.$t('pleaseSelect')} class={'handle-suggest-select'}
options={this.handlingSuggestionOption}
/>,
@@ -123,11 +136,11 @@ export default {
dataIndex: 'reason',
customRender: (text, row, index) => {
const obj = {
children: <a-input v-model={this.dataSource[index].reason} maxLength={50}
title={this.dataSource[index].reason} placeholder={this.$t('pleaseEnter')}
children: <a-input v-model={row.reason} maxLength={50}
title={row.reason} placeholder={this.$t('pleaseEnter')}
onChange={ e => {
e.target.value = e.target.value.trim()
this.dataSource[index].reason = e.target.value.trim()
row.reason = e.target.value.trim()
} }
/>,
attrs: {}
@@ -187,6 +200,9 @@ export default {
}
return data
},
handleTableChange (pagination) {
this.ipagination = pagination
},
// 新增征求意见
handleAdd () {
// 不知道左侧要预览哪个文件
@@ -199,7 +215,8 @@ export default {
// 不知道左侧要预览哪个文件
const file = ''
this.$refs.commentModal.title = this.$t('edit')
this.$refs.commentModal.edit(file, record, index)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.$refs.commentModal.edit(file, record, dataIndex)
},
// 征求意见的删除
handleDelete (index) {
@@ -207,7 +224,8 @@ export default {
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
onOk: () => {
this.dataSource.splice(index, 1)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.dataSource.splice(dataIndex, 1)
}
})
},
@@ -6,11 +6,12 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
rowKey="id"
:rowKey="(record, index) => { return (Number(this.draftIpagination.current) - 1) * Number(this.draftIpagination.pageSize) + index }"
:columns="drafterColumns"
:dataSource="drafterDataSource"
:pagination="false"
:loading="drafterLoading">
:pagination="draftIpagination"
:loading="drafterLoading"
@change="handleDraftTableChange">
<!-- 企标文本 -->
<template v-slot:standardFile="{text, record}">
@@ -136,11 +137,12 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
rowKey="id"
:rowKey="(record, index) => { return (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index }"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:loading="loading">
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
<!-- 操作栏 -->
<div slot="action" slot-scope="{record, index}" class="action-span-cell">
@@ -195,6 +197,18 @@ export default {
},
data () {
return {
/* 起草人分页参数 */
draftIpagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
// 起草人表格列数据
drafterColumns: [
{ // 起草单位
@@ -271,6 +285,18 @@ export default {
}
]
},
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
// 稽查内容表格列
columns: [
{ // 条款
@@ -293,7 +319,7 @@ export default {
width: 200,
dataIndex: 'rectificationDepartment',
customRender: (value, row, index) => {
return <j-select-depart v-model={this.dataSource[index].rectificationDepartment}
return <j-select-depart v-model={row.rectificationDepartment}
backDepart={true} />
}
},
@@ -360,6 +386,9 @@ export default {
})
return data
},
handleDraftTableChange (pagination) {
this.draftIpagination = pagination
},
// 查看企标文本
handleLookUploadStandard (record) {
// 截取文件后缀名
@@ -418,6 +447,14 @@ export default {
this.formInline[this.uploadName] = attIdList.join(',')
this.formInline = { ...this.formInline }
},
handleTableChange (pagination) {
this.loading = true
this.ipagination = pagination
// 定时关闭是为了回显整改部门
setTimeout(() => {
this.loading = false
}, 1000)
},
// 稽查内容的添加
handleAdd () {
// 新增左侧的预览文件,还不知道要赋值哪个文件 ??
@@ -430,7 +467,8 @@ export default {
// 编辑左侧的预览文件,还不知道要赋值哪个文件 ??
const standardFile = ''
this.$refs.checkContentModal.title = this.$t('edit')
this.$refs.checkContentModal.edit(standardFile, record, index)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.$refs.checkContentModal.edit(standardFile, record, dataIndex)
},
// 稽查内容的删除
handleDelete (index) {
@@ -438,7 +476,8 @@ export default {
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
onOk: () => {
this.dataSource.splice(index, 1)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.dataSource.splice(dataIndex, 1)
}
})
},
@@ -32,11 +32,12 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
rowKey="id"
:rowKey="(record, index) => { return (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index }"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:loading="loading">
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
<!-- 操作栏 -->
<div slot="action" slot-scope="{record, index}" class="action-span-cell">
@@ -68,6 +69,18 @@ export default {
},
data () {
return {
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
columns: [
{ // 起草单位
title: this.$t('workCenter.enStandardRevision.draftingUnit'),
@@ -145,14 +158,17 @@ export default {
processNameChange (value) {
this.$emit('processNameChange', value)
},
handleTableChange (pagination) {
this.ipagination = pagination
},
handleAdd () {
this.modalType = 'add'
this.$refs.addEditDrafterDrawer.add()
},
// 编辑
handleEdit (record, index) {
console.log(index)
this.modalType = 'edit' + '-' + index
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.modalType = 'edit' + '-' + dataIndex
this.$refs.addEditDrafterDrawer.edit(record)
},
// 删除
@@ -161,7 +177,8 @@ export default {
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),
onOk: () => {
this.dataSource.splice(index, 1)
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.dataSource.splice(dataIndex, 1)
}
})
},
@@ -6,11 +6,12 @@
:can-drag="true"
:scroll="{x: '100%'}"
ref="table"
rowKey="id"
:rowKey="(record, index) => { return (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index }"
:columns="columns"
:dataSource="dataSource"
:pagination="false"
:loading="loading">
:pagination="ipagination"
:loading="loading"
@change="handleTableChange">
<!-- 起草人 -->
<!--<template slot="user" slot-scope="{record, text}">-->
<!-- <a-tooltip overlay-class-name="tooltip-style">-->
@@ -58,6 +59,18 @@ export default {
},
data () {
return {
/* 分页参数 */
ipagination: {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + total + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
columns: [
{ // 起草单位
title: this.$t('workCenter.enStandardRevision.draftingUnit'),
@@ -148,10 +161,14 @@ export default {
}
return data
},
handleTableChange (pagination) {
this.ipagination = pagination
},
// 上传企标
handleUploadStandard (record, index) {
const dataIndex = (Number(this.ipagination.current) - 1) * Number(this.ipagination.pageSize) + index
this.$refs.uploadFile.open(record.fileId)
this.uploadIndex = index
this.uploadIndex = dataIndex
},
// 上传企标后的回调
uploadFileChange (data) {