标准清单 高级检索
This commit is contained in:
+8
-9
@@ -105,12 +105,12 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="detailedListVesion"
|
||||
prop="detailedListVision"
|
||||
label="清单版本"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span
|
||||
v-if="scope.row.detailedListVesion != null && scope.row.detailedListVesion !== ''">{{ scope.row.detailedListVesion
|
||||
v-if="scope.row.detailedListVision != null && scope.row.detailedListVision !== ''">{{ scope.row.detailedListVision
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -130,7 +130,7 @@
|
||||
sortable
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div>{{ scope.row.updateTime ? scope.row.updateTime.split(" ")[0] : "" }}</div>
|
||||
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -188,7 +188,7 @@ export default {
|
||||
country: "",
|
||||
applyArctic: "",
|
||||
energyKind: "",
|
||||
accessContent: "",
|
||||
detailedListName: "",
|
||||
region: ""
|
||||
},
|
||||
drawerPage: 1, // 当前抽屉分页的页码
|
||||
@@ -200,9 +200,9 @@ export default {
|
||||
country: [
|
||||
{ required: true, message: "国家不能为空", trigger: "change" }
|
||||
],
|
||||
accessContent: [
|
||||
{ required: true, message: "表格名称不能为空", trigger: "blur" },
|
||||
{ type: "string", max: 100, message: "表格名称不能超过100个字符", trigger: "blur" }
|
||||
detailedListName: [
|
||||
{ required: true, message: "清单名称不能为空", trigger: "blur" },
|
||||
{ type: "string", max: 100, message: "清单名称不能超过100个字符", trigger: "blur" }
|
||||
]
|
||||
},
|
||||
countryOptions: [],
|
||||
@@ -262,7 +262,6 @@ export default {
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
console.log(res.data.records);
|
||||
this.sarAccessListDatas = res.data.records;
|
||||
this.sarAccessListTotal = res.data.total
|
||||
}, e => {
|
||||
@@ -338,7 +337,7 @@ export default {
|
||||
},
|
||||
// 点击 table编辑按钮 事件
|
||||
editTable(item) {
|
||||
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
||||
this.$store.commit('SET_ACCESS_STAND_REG_ROW', item)
|
||||
this.$router.push({
|
||||
name: "ListOfStandardsAndRegulationsDetails",
|
||||
query: {
|
||||
|
||||
@@ -96,12 +96,12 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="detailedListVesion"
|
||||
prop="detailedListVision"
|
||||
label="清单版本"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span
|
||||
v-if="scope.row.detailedListVesion != null && scope.row.detailedListVesion !== ''">{{ scope.row.detailedListVesion
|
||||
v-if="scope.row.detailedListVision != null && scope.row.detailedListVision !== ''">{{ scope.row.detailedListVision
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -121,7 +121,7 @@
|
||||
sortable
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div>{{ scope.row.updateTime ? scope.row.updateTime.split(" ")[0] : "" }}</div>
|
||||
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -179,7 +179,7 @@ export default {
|
||||
country: "",
|
||||
applyArctic: "",
|
||||
energyKind: "",
|
||||
accessContent: "",
|
||||
detailedListName: "",
|
||||
region: ""
|
||||
},
|
||||
drawerPage: 1, // 当前抽屉分页的页码
|
||||
@@ -191,9 +191,9 @@ export default {
|
||||
country: [
|
||||
{ required: true, message: "国家不能为空", trigger: "change" }
|
||||
],
|
||||
accessContent: [
|
||||
{ required: true, message: "表格名称不能为空", trigger: "blur" },
|
||||
{ type: "string", max: 100, message: "表格名称不能超过100个字符", trigger: "blur" }
|
||||
detailedListName: [
|
||||
{ required: true, message: "清单名称不能为空", trigger: "blur" },
|
||||
{ type: "string", max: 100, message: "清单名称不能超过100个字符", trigger: "blur" }
|
||||
]
|
||||
},
|
||||
countryOptions: [],
|
||||
@@ -344,7 +344,7 @@ export default {
|
||||
},
|
||||
// 点击 table编辑按钮 事件
|
||||
editTable(item) {
|
||||
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
||||
this.$store.commit('SET_ACCESS_STAND_REG_ROW', item)
|
||||
this.$router.push({
|
||||
name: "OtherAddEit",
|
||||
query: {
|
||||
|
||||
@@ -96,12 +96,12 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="detailedListVesion"
|
||||
prop="detailedListVision"
|
||||
label="清单版本"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span
|
||||
v-if="scope.row.detailedListVesion != null && scope.row.detailedListVesion !== ''">{{ scope.row.detailedListVesion
|
||||
v-if="scope.row.detailedListVision != null && scope.row.detailedListVision !== ''">{{ scope.row.detailedListVision
|
||||
}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -121,7 +121,7 @@
|
||||
sortable
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div>{{ scope.row.updateTime ? scope.row.updateTime.split(" ")[0] : "" }}</div>
|
||||
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -179,7 +179,7 @@ export default {
|
||||
country: "",
|
||||
applyArctic: "",
|
||||
energyKind: "",
|
||||
accessContent: "",
|
||||
detailedListName: "",
|
||||
region: ""
|
||||
},
|
||||
drawerPage: 1, // 当前抽屉分页的页码
|
||||
@@ -191,9 +191,9 @@ export default {
|
||||
country: [
|
||||
{ required: true, message: "国家不能为空", trigger: "change" }
|
||||
],
|
||||
accessContent: [
|
||||
{ required: true, message: "表格名称不能为空", trigger: "blur" },
|
||||
{ type: "string", max: 100, message: "表格名称不能超过100个字符", trigger: "blur" }
|
||||
detailedListName: [
|
||||
{ required: true, message: "清单名称不能为空", trigger: "blur" },
|
||||
{ type: "string", max: 100, message: "清单名称不能超过100个字符", trigger: "blur" }
|
||||
]
|
||||
},
|
||||
countryOptions: [],
|
||||
@@ -347,7 +347,7 @@ export default {
|
||||
},
|
||||
// 点击 table编辑按钮 事件
|
||||
editTable(item) {
|
||||
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
||||
this.$store.commit('SET_ACCESS_STAND_REG_ROW', item)
|
||||
this.$router.push({
|
||||
name: "ProjectAddEit",
|
||||
query: {
|
||||
|
||||
Reference in New Issue
Block a user