标准清单数据列表清空按钮,新增、编辑页的删除
This commit is contained in:
@@ -51,20 +51,12 @@
|
|||||||
prop="showNumber"
|
prop="showNumber"
|
||||||
label="标准号/政策号"
|
label="标准号/政策号"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
|
||||||
<div v-if=" scope.row.splitStatus === '0'">{{ scope.row.standNumSplit }}</div>
|
|
||||||
<div v-else>{{ scope.row.showNumber }}</div>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称/政策名称"
|
label="标准名称/政策名称"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
|
||||||
<span v-if=" scope.row.splitStatus === '0'">{{ scope.row.standNameSplit }}</span>
|
|
||||||
<span v-else>{{ scope.row.standName }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="fileTypeShow"
|
prop="fileTypeShow"
|
||||||
@@ -77,20 +69,14 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
|
||||||
prop="splitStatus"
|
|
||||||
label="拆分状态"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<div>{{ scope.row.splitStatus == '0' ? '编辑中' : (scope.row.splitStatus == '1' ? '审核中' : '已完成' +
|
|
||||||
'') }}</div>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="creationTime"
|
prop="creationTime"
|
||||||
label="拆分时间"
|
label="拆分时间"
|
||||||
sortable
|
sortable
|
||||||
align="center">
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.creationTime ? $moment(scope.row.creationTime).format('YYYY-MM-DD') : '' }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="result"
|
prop="result"
|
||||||
@@ -102,28 +88,12 @@
|
|||||||
<el-tag type="danger" size="small" v-else>失败</el-tag>
|
<el-tag type="danger" size="small" v-else>失败</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="50" fixed="right">
|
<el-table-column label="操作" align="center" width="50">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="''">查看</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="''">查看</el-dropdown-item>
|
||||||
<!-- <el-dropdown-item-->
|
|
||||||
<!-- v-if="scope.row.collectBtn"-->
|
|
||||||
<!-- :command="[scope.row, '收藏']"-->
|
|
||||||
<!-- v-btn-permission="''"-->
|
|
||||||
<!-- >-->
|
|
||||||
<!-- 收藏-->
|
|
||||||
<!-- </el-dropdown-item>-->
|
|
||||||
<!-- <el-dropdown-item-->
|
|
||||||
<!-- v-else-->
|
|
||||||
<!-- :command="[scope.row, '取消收藏']"-->
|
|
||||||
<!-- v-btn-permission="''"-->
|
|
||||||
<!-- >-->
|
|
||||||
<!-- 取消收藏-->
|
|
||||||
<!-- </el-dropdown-item>-->
|
|
||||||
<!-- <el-dropdown-item :command="[scope.row, '分享']" v-btn-permission="''">分享</el-dropdown-item>-->
|
|
||||||
<!-- <el-dropdown-item :command="[scope.row, '关联']">关联</el-dropdown-item>-->
|
|
||||||
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="''">删除</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="''">删除</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
|
|||||||
@@ -2245,15 +2245,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
jurisdictionCheck() {
|
jurisdictionCheck() {
|
||||||
if (this.jurisdiction === '0') {
|
return true
|
||||||
this.$message.warning('审核中,不可操作')
|
|
||||||
return false
|
|
||||||
} else if (this.jurisdiction === '1') {
|
|
||||||
this.$message.warning('编辑中,不可操作')
|
|
||||||
return false
|
|
||||||
} else {
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {},
|
props: {},
|
||||||
|
|||||||
@@ -291,158 +291,158 @@ export default {
|
|||||||
label: "关联文件",
|
label: "关联文件",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
// standRecoColumn: [
|
/* standRecoColumn: [
|
||||||
// {
|
{
|
||||||
// type: 'selection',
|
type: 'selection',
|
||||||
// width: 60,
|
width: 60,
|
||||||
// align: 'center'
|
align: 'center'
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// title: '序号',
|
title: '序号',
|
||||||
// type: 'index',
|
type: 'index',
|
||||||
// align: 'center'
|
align: 'center'
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// title: '资料类型',
|
title: '资料类型',
|
||||||
// key: 'fileType',
|
key: 'fileType',
|
||||||
// align: 'center',
|
align: 'center',
|
||||||
// render: (h, params) => {
|
render: (h, params) => {
|
||||||
// let texts
|
let texts
|
||||||
// if (params.row.fileType === '1') {
|
if (params.row.fileType === '1') {
|
||||||
// texts = '国内标准法规'
|
texts = '国内标准法规'
|
||||||
// } else if (params.row.fileType === '2') {
|
} else if (params.row.fileType === '2') {
|
||||||
// texts = '海外标准法规'
|
texts = '海外标准法规'
|
||||||
// } else if (params.row.fileType === '3') {
|
} else if (params.row.fileType === '3') {
|
||||||
// texts = '政策'
|
texts = '政策'
|
||||||
// } else if (params.row.fileType === '4') {
|
} else if (params.row.fileType === '4') {
|
||||||
// texts = '企业标准'
|
texts = '企业标准'
|
||||||
// } else {
|
} else {
|
||||||
// texts = '标准'
|
texts = '标准'
|
||||||
// }
|
}
|
||||||
// return h('div', {
|
return h('div', {
|
||||||
// class: {
|
class: {
|
||||||
// 'text-overflow-hidden': true
|
'text-overflow-hidden': true
|
||||||
// },
|
},
|
||||||
// attrs: {
|
attrs: {
|
||||||
// title: texts
|
title: texts
|
||||||
// }
|
}
|
||||||
// }, texts)
|
}, texts)
|
||||||
// }
|
}
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// title: '标准号/政策号',
|
title: '标准号/政策号',
|
||||||
// key: 'standNumber',
|
key: 'standNumber',
|
||||||
// align: 'center'
|
align: 'center'
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// title: '标准名称/政策名称',
|
title: '标准名称/政策名称',
|
||||||
// key: 'standName',
|
key: 'standName',
|
||||||
// align: 'center'
|
align: 'center'
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// title: '文本状态',
|
title: '文本状态',
|
||||||
// key: 'fileStatus',
|
key: 'fileStatus',
|
||||||
// align: 'center',
|
align: 'center',
|
||||||
// render: (h, params) => {
|
render: (h, params) => {
|
||||||
// let texts
|
let texts
|
||||||
// if (params.row.fileType === 'STAND_FILE') {
|
if (params.row.fileType === 'STAND_FILE') {
|
||||||
// texts = '标准文本'
|
texts = '标准文本'
|
||||||
// } else if (params.row.fileType === 'DRAFT_FILE') {
|
} else if (params.row.fileType === 'DRAFT_FILE') {
|
||||||
// texts = '草案'
|
texts = '草案'
|
||||||
// } else if (params.row.fileType === 'OPINION_FILE') {
|
} else if (params.row.fileType === 'OPINION_FILE') {
|
||||||
// texts = '征求意见稿'
|
texts = '征求意见稿'
|
||||||
// } else if (params.row.fileType === 'SENT_SCREEN_FILE') {
|
} else if (params.row.fileType === 'SENT_SCREEN_FILE') {
|
||||||
// texts = '送审稿'
|
texts = '送审稿'
|
||||||
// } else if (params.row.fileType === 'APPROVAL_FILE') {
|
} else if (params.row.fileType === 'APPROVAL_FILE') {
|
||||||
// texts = '报批稿'
|
texts = '报批稿'
|
||||||
// } else if (params.row.fileType === 'RELEVANCE_FILE') {
|
} else if (params.row.fileType === 'RELEVANCE_FILE') {
|
||||||
// texts = '关联文件'
|
texts = '关联文件'
|
||||||
// }
|
}
|
||||||
// return h('div', {
|
return h('div', {
|
||||||
// class: {
|
class: {
|
||||||
// 'text-overflow-hidden': true
|
'text-overflow-hidden': true
|
||||||
// },
|
},
|
||||||
// attrs: {
|
attrs: {
|
||||||
// title: texts
|
title: texts
|
||||||
// }
|
}
|
||||||
// }, texts)
|
}, texts)
|
||||||
// }
|
}
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// title: '转换结果',
|
title: '转换结果',
|
||||||
// key: 'resultContent',
|
key: 'resultContent',
|
||||||
// align: 'center'
|
align: 'center'
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// title: '消耗时间',
|
title: '消耗时间',
|
||||||
// key: 'spendTime',
|
key: 'spendTime',
|
||||||
// align: 'center'
|
align: 'center'
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// title: '操作',
|
title: '操作',
|
||||||
// key: 'action',
|
key: 'action',
|
||||||
// width: 200,
|
width: 200,
|
||||||
// align: 'center',
|
align: 'center',
|
||||||
// render: (h, params) => {
|
render: (h, params) => {
|
||||||
// return h('div', [
|
return h('div', [
|
||||||
// h('Button', {
|
h('Button', {
|
||||||
// props: {
|
props: {
|
||||||
// type: 'primary',
|
type: 'primary',
|
||||||
// size: 'small'
|
size: 'small'
|
||||||
// },
|
},
|
||||||
// style: {
|
style: {
|
||||||
// marginRight: '5px'
|
marginRight: '5px'
|
||||||
// },
|
},
|
||||||
// on: {
|
on: {
|
||||||
// click: () => {
|
click: () => {
|
||||||
// this.downloadFile(params.row)
|
this.downloadFile(params.row)
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// }, '获取文件'),
|
}, '获取文件'),
|
||||||
// h('Button', {
|
h('Button', {
|
||||||
// props: {
|
props: {
|
||||||
// type: 'warning',
|
type: 'warning',
|
||||||
// size: 'small'
|
size: 'small'
|
||||||
// },
|
},
|
||||||
// style: {
|
style: {
|
||||||
// marginRight: '5px'
|
marginRight: '5px'
|
||||||
// },
|
},
|
||||||
// on: {
|
on: {
|
||||||
// click: () => {
|
click: () => {
|
||||||
// this.editOcrRecord(params.row)
|
this.editOcrRecord(params.row)
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// }, '编辑'),
|
}, '编辑'),
|
||||||
// h('Dropdown', {
|
h('Dropdown', {
|
||||||
// props: {
|
props: {
|
||||||
// trigger: 'click'
|
trigger: 'click'
|
||||||
// },
|
},
|
||||||
// on: {
|
on: {
|
||||||
// 'on-click': (value) => {}
|
'on-click': (value) => {}
|
||||||
// }
|
}
|
||||||
// }, [
|
}, [
|
||||||
// h('Button', {
|
h('Button', {
|
||||||
// props: {
|
props: {
|
||||||
// type: 'primary',
|
type: 'primary',
|
||||||
// size: 'small'
|
size: 'small'
|
||||||
// }
|
}
|
||||||
// }, '更多'),
|
}, '更多'),
|
||||||
// h('DropdownMenu', {
|
h('DropdownMenu', {
|
||||||
// slot: 'list'
|
slot: 'list'
|
||||||
// },
|
},
|
||||||
// this.dropdownItems.map(function (type) {
|
this.dropdownItems.map(function (type) {
|
||||||
// return h('DropdownItem', {
|
return h('DropdownItem', {
|
||||||
// props: {
|
props: {
|
||||||
// name: type.val
|
name: type.val
|
||||||
// }
|
}
|
||||||
// }, type.val)
|
}, type.val)
|
||||||
// })
|
})
|
||||||
// )
|
)
|
||||||
// ])
|
])
|
||||||
// ])
|
])
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// ],
|
],*/
|
||||||
modalType: "",
|
modalType: "",
|
||||||
standRecoList: [],
|
standRecoList: [],
|
||||||
selectTableData: [],
|
selectTableData: [],
|
||||||
@@ -759,7 +759,7 @@ export default {
|
|||||||
(res) => {
|
(res) => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.standRecoList = res.data.list;
|
this.standRecoList = res.data.list;
|
||||||
this.total = res.data.count;
|
this.total = res.data.list.length;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
e => {}
|
e => {}
|
||||||
|
|||||||
+3
-3
@@ -267,16 +267,16 @@ export default {
|
|||||||
},
|
},
|
||||||
pageChange(page) {
|
pageChange(page) {
|
||||||
this.sarSarAccessEOSearch.page = page;
|
this.sarSarAccessEOSearch.page = page;
|
||||||
this.searchSarAccess();
|
// this.searchSarAccess();
|
||||||
},
|
},
|
||||||
pageSizeChange(pageSize) {
|
pageSizeChange(pageSize) {
|
||||||
this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent;
|
this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent;
|
||||||
this.searchSarAccess();
|
// this.searchSarAccess();
|
||||||
},
|
},
|
||||||
clearSearch() {
|
clearSearch() {
|
||||||
this.sarSarAccessEOSearch.countryArea = ''
|
this.sarSarAccessEOSearch.countryArea = ''
|
||||||
this.sarSarAccessEOSearch.detailedListName = ''
|
this.sarSarAccessEOSearch.detailedListName = ''
|
||||||
this.searchSarAccess();
|
// this.searchSarAccess();
|
||||||
},
|
},
|
||||||
// 新增相关
|
// 新增相关
|
||||||
openModal(row, optType) {
|
openModal(row, optType) {
|
||||||
|
|||||||
@@ -283,16 +283,16 @@ export default {
|
|||||||
},
|
},
|
||||||
pageChange(page) {
|
pageChange(page) {
|
||||||
this.sarSarAccessEOSearch.page = page;
|
this.sarSarAccessEOSearch.page = page;
|
||||||
this.searchSarAccess();
|
// this.searchSarAccess();
|
||||||
},
|
},
|
||||||
pageSizeChange(pageSize) {
|
pageSizeChange(pageSize) {
|
||||||
this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent;
|
this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent;
|
||||||
this.searchSarAccess();
|
// this.searchSarAccess();
|
||||||
},
|
},
|
||||||
clearSearch() {
|
clearSearch() {
|
||||||
this.sarSarAccessEOSearch.detailedList = ''
|
this.sarSarAccessEOSearch.detailedList = ''
|
||||||
this.sarSarAccessEOSearch.detailedListName = ''
|
this.sarSarAccessEOSearch.detailedListName = ''
|
||||||
this.searchSarAccess();
|
// this.searchSarAccess();
|
||||||
},
|
},
|
||||||
// 新增相关
|
// 新增相关
|
||||||
openModal(row, optType) {
|
openModal(row, optType) {
|
||||||
|
|||||||
@@ -283,17 +283,17 @@ export default {
|
|||||||
},
|
},
|
||||||
pageChange(page) {
|
pageChange(page) {
|
||||||
this.sarSarAccessEOSearch.page = page;
|
this.sarSarAccessEOSearch.page = page;
|
||||||
this.searchSarAccess();
|
// this.searchSarAccess();
|
||||||
},
|
},
|
||||||
pageSizeChange(pageSize) {
|
pageSizeChange(pageSize) {
|
||||||
this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent;
|
this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent;
|
||||||
this.searchSarAccess();
|
// this.searchSarAccess();
|
||||||
},
|
},
|
||||||
//清空
|
//清空
|
||||||
clearSearch() {
|
clearSearch() {
|
||||||
this.sarSarAccessEOSearch.projectName = ''
|
this.sarSarAccessEOSearch.projectName = ''
|
||||||
this.sarSarAccessEOSearch.detailedListName = ''
|
this.sarSarAccessEOSearch.detailedListName = ''
|
||||||
this.searchSarAccess()
|
// this.searchSarAccess()
|
||||||
|
|
||||||
},
|
},
|
||||||
// 新增相关
|
// 新增相关
|
||||||
|
|||||||
@@ -1176,6 +1176,7 @@ export default {
|
|||||||
// this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
|
this.$message.warning('请勿添加重复数据')
|
||||||
} else{
|
} else{
|
||||||
this.sarAccessInfoList.push(item)
|
this.sarAccessInfoList.push(item)
|
||||||
// this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
@@ -1183,7 +1184,6 @@ export default {
|
|||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.$message.warning('请勿添加重复数据')
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
|
||||||
}
|
}
|
||||||
@@ -1295,17 +1295,17 @@ export default {
|
|||||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||||
rowlist.push(this.sarAccessInfoList[i].id)
|
rowlist.push(this.sarAccessInfoList[i].id)
|
||||||
if (this.sarAccessInfoList[i].putTime === null) {
|
if (this.sarAccessInfoList[i].putTime === null) {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime = '')
|
rowlist1.push(this.sarAccessInfoList[i].putTime = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
||||||
}
|
}
|
||||||
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '')
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
||||||
}
|
}
|
||||||
if (this.sarAccessInfoList[i].zccssrqgj === null) {
|
if (this.sarAccessInfoList[i].zccssrqgj === null) {
|
||||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj = '')
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -381,7 +381,7 @@ export default {
|
|||||||
heightShow: true,
|
heightShow: true,
|
||||||
dataLoading: false,
|
dataLoading: false,
|
||||||
standardForm: {
|
standardForm: {
|
||||||
|
zrbm: '',
|
||||||
standNumber: "",
|
standNumber: "",
|
||||||
standName: "",
|
standName: "",
|
||||||
responseUnit: "",
|
responseUnit: "",
|
||||||
@@ -389,6 +389,10 @@ export default {
|
|||||||
Size: this.$store.getters.userInfo.configContent
|
Size: this.$store.getters.userInfo.configContent
|
||||||
},
|
},
|
||||||
standardFormList: {
|
standardFormList: {
|
||||||
|
zrbm: '',
|
||||||
|
typeApplicable: '',
|
||||||
|
nylx: '',
|
||||||
|
sycpx: '',
|
||||||
standNumber: '',
|
standNumber: '',
|
||||||
standName: '',
|
standName: '',
|
||||||
responseUnit: '',
|
responseUnit: '',
|
||||||
@@ -493,8 +497,14 @@ export default {
|
|||||||
},
|
},
|
||||||
// 重置搜索
|
// 重置搜索
|
||||||
resetSelect() {
|
resetSelect() {
|
||||||
|
this.standardForm.zrbm = ''
|
||||||
this.standardForm.standName = ''
|
this.standardForm.standName = ''
|
||||||
this.standardForm.responseUnit = ''
|
this.standardForm.responseUnit = ''
|
||||||
|
this.standardFormList.standName = ''
|
||||||
|
this.standardFormList.typeApplicable = ''
|
||||||
|
this.standardFormList.nylx = ''
|
||||||
|
this.standardFormList.zrbm = ''
|
||||||
|
this.standardFormList.sycpx = ''
|
||||||
this.selectInfobyAccid()
|
this.selectInfobyAccid()
|
||||||
},
|
},
|
||||||
exportStandard() {
|
exportStandard() {
|
||||||
|
|||||||
@@ -1145,6 +1145,7 @@ export default {
|
|||||||
// this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
|
this.$message.warning('请勿添加重复数据')
|
||||||
} else{
|
} else{
|
||||||
this.sarAccessInfoList.push(item)
|
this.sarAccessInfoList.push(item)
|
||||||
// this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
@@ -1152,7 +1153,6 @@ export default {
|
|||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.$message.warning('请勿添加重复数据')
|
|
||||||
this.selectedAccInfoSearchList = []
|
this.selectedAccInfoSearchList = []
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
@@ -1264,17 +1264,17 @@ export default {
|
|||||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||||
rowlist.push(this.sarAccessInfoList[i].id)
|
rowlist.push(this.sarAccessInfoList[i].id)
|
||||||
if (this.sarAccessInfoList[i].putTime === null) {
|
if (this.sarAccessInfoList[i].putTime === null) {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime = '')
|
rowlist1.push(this.sarAccessInfoList[i].putTime = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
||||||
}
|
}
|
||||||
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '')
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
||||||
}
|
}
|
||||||
if (this.sarAccessInfoList[i].zccssrqgj === null) {
|
if (this.sarAccessInfoList[i].zccssrqgj === null) {
|
||||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj = '')
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-4
@@ -1144,6 +1144,7 @@ export default {
|
|||||||
// this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
|
this.$message.warning('请勿添加重复数据')
|
||||||
} else{
|
} else{
|
||||||
this.sarAccessInfoList.push(item)
|
this.sarAccessInfoList.push(item)
|
||||||
// this.$refs.accessTypeSelect.clearSelection()
|
// this.$refs.accessTypeSelect.clearSelection()
|
||||||
@@ -1151,7 +1152,6 @@ export default {
|
|||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.$message.warning('请勿添加重复数据')
|
|
||||||
this.selectedAccInfoSearchList = []
|
this.selectedAccInfoSearchList = []
|
||||||
this.$refs.entryTable.clearSelection()
|
this.$refs.entryTable.clearSelection()
|
||||||
this.$refs.searchTable.clearSelection()
|
this.$refs.searchTable.clearSelection()
|
||||||
@@ -1263,17 +1263,17 @@ export default {
|
|||||||
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
|
||||||
rowlist.push(this.sarAccessInfoList[i].id)
|
rowlist.push(this.sarAccessInfoList[i].id)
|
||||||
if (this.sarAccessInfoList[i].putTime === null) {
|
if (this.sarAccessInfoList[i].putTime === null) {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime = '')
|
rowlist1.push(this.sarAccessInfoList[i].putTime = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
rowlist1.push(this.sarAccessInfoList[i].putTime.toString())
|
||||||
}
|
}
|
||||||
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
|
||||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '')
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
|
||||||
}
|
}
|
||||||
if (this.sarAccessInfoList[i].zccssrqgj === null) {
|
if (this.sarAccessInfoList[i].zccssrqgj === null) {
|
||||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj = '')
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj = '-')
|
||||||
}else {
|
}else {
|
||||||
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user