国家地区清单能带入提交企标和政策了(只是能带能提交,其他的需求我不知道,发现了再加)

This commit is contained in:
yanyizhou
2021-11-30 14:51:26 +08:00
parent c31ce50bf3
commit b26784d6d5
@@ -295,7 +295,7 @@
align="center"
label="标准号">
<template slot-scope="scope">
<a @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a>
<a @click="handlePreview(scope.row)">{{ scope.row.standNumber || scope.row.lawsNumber || scope.row.standCode }}</a>
</template>
</el-table-column>
<el-table-column
@@ -305,7 +305,7 @@
width="260px"
>
<template slot-scope="scope">
<a @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
<a @click="handlePreview(scope.row)">{{ scope.row.standName || scope.row.lawsName }}</a>
</template>
</el-table-column>
<el-table-column
@@ -349,7 +349,7 @@
<template slot-scope="scope">
<span v-if="scope.row.zccssrqgj === null || scope.row.zccssrqgj === ''">
</span>
<span v-else>{{ scope.row.zccssrqgj.slice(0, 10) }}</span>
<!-- <span v-else>{{ scope.row.zccssrqgj.slice(0, 10) }}</span>-->
</template>
</el-table-column>
<el-table-column
@@ -361,7 +361,7 @@
<template slot-scope="scope">
<span v-if="scope.row.xcxssrqgj === null || scope.row.xcxssrqgj === ''">
</span>
<span v-else>{{ scope.row.xcxssrqgj.slice(0, 10) }}</span>
<!-- <span v-else>{{ scope.row.xcxssrqgj.slice(0, 10) }}</span>-->
</template>
</el-table-column>
<el-table-column
@@ -1267,6 +1267,7 @@ export default {
this.$message.warning('请勿添加重复数据')
} else {
this.sarAccessInfoList.push(item)
console.log('1270',this.sarAccessInfoList)
// this.$refs.accessTypeSelect.clearSelection()
this.$refs.entryTable.clearSelection()
this.$refs.searchTable.clearSelection()
@@ -1383,17 +1384,17 @@ export default {
let rowlist3 = []
for (let i = 0; i < this.sarAccessInfoList.length; i++) {
rowlist.push(this.sarAccessInfoList[i].id)
if (this.sarAccessInfoList[i].ssrq === null) {
if (this.sarAccessInfoList[i].ssrq === null || this.sarAccessInfoList[i].ssrq === undefined) {
rowlist1.push(this.sarAccessInfoList[i].ssrq = '-')
} else {
rowlist1.push(this.sarAccessInfoList[i].ssrq.toString())
}
if (this.sarAccessInfoList[i].xcxssrqgj === null) {
if (this.sarAccessInfoList[i].xcxssrqgj === null || this.sarAccessInfoList[i].xcxssrqgj === undefined) {
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj = '-')
} else {
rowlist3.push(this.sarAccessInfoList[i].xcxssrqgj.toString())
}
if (this.sarAccessInfoList[i].zccssrqgj === null) {
if (this.sarAccessInfoList[i].zccssrqgj === null || this.sarAccessInfoList[i].zccssrqgj === undefined) {
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj = '-')
} else {
rowlist2.push(this.sarAccessInfoList[i].zccssrqgj.toString())
@@ -1719,7 +1720,8 @@ export default {
},
// 数据搜索table判断checked状态
selectable(row) {
return row.isRelateAccess === '1'
console.log('1723',row)
return row.isRelateAccess === '1' || row.isRelateAccess === undefined
},
// 数据搜索 table select事件
sarAccessInfoSearchSelect(val) {