diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue
index 8fe0f3fb0..1b966f002 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue
@@ -1278,13 +1278,14 @@ export default {
}, res => {
if (this.localProTableSearch.prodectCode === 'Maintenance') {
this.localProTableList = res.data.Maintenance.records
+ this.total = res.data.Maintenance.total
}
else if (this.localProTableSearch.prodectCode === 'notMaintenance')
{
this.localProTableList = res.data.notMaintenance.records
+ this.total = res.data.notMaintenance.total
}
- this.total = res.data.count
// this.localProTableList.map((item) => {
// this.xmztOptions.map((opr) => {
// if (item.productBrand === opr.value) {
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
index d50c934ca..9cf6991c4 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
@@ -78,47 +78,56 @@
>
+
+ {{ scope.row.ssrq ? $moment(scope.row.ssrq).format('YYYY-MM-DD') : '-' }}
+
+
+ {{scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '-' }}
+
+
+ {{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format('YYYY-MM-DD') : '-' }}
+
@@ -451,10 +460,8 @@ export default {
_this: this
}, res => {
if (res.ok) {
- this.$message.success(res.message)
+ // this.$message.success(res.message)
this.getDataList()
- }else {
- this.$message.warning(res.message)
}
}, e => {
});
@@ -502,6 +509,17 @@ export default {
this.$message.warning("请选择一条数据进行带入");
}
},
+ // 点击查看
+ handlePreview (item) {
+ let routeUrl = this.$router.resolve({
+ name: 'OtherStandardDetails',
+ params: {
+ id: item.id,
+ pageType: 'INLAND_STAND'
+ }
+ })
+ window.open(routeUrl.href, '_blank')
+ },
back () {
this.$router.push(this.$store.state.detailMap)
this.$store.commit('setDetailMap', '')
@@ -568,6 +586,7 @@ export default {
}
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName
+ console.log(exportURL + "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM")
window.open(exportURL)
this.$message.success('导出信息成功')
}
@@ -575,6 +594,7 @@ export default {
console.log(this.selectList);
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
'exportType' + this.saveExportType + '&ids=' + this.selectList.join(',') + '&exportName=' + this.exportName
+ console.log(exportURL + "MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM")
window.open(exportURL)
this.$message.success('导出信息成功')
}