diff --git a/src/pages/details/complianceDetails/index.vue b/src/pages/details/complianceDetails/index.vue
index 2c6b624ba..30cb0f9ab 100644
--- a/src/pages/details/complianceDetails/index.vue
+++ b/src/pages/details/complianceDetails/index.vue
@@ -1,121 +1,107 @@
-
-
不满足
-
+ 不满足
+
+
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+ >
+
+
+
+
+
+ {{ scope.row.evaluationTime ? $moment(scope.row.evaluationTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+
+
满足
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ {{ scope.row.evaluationTime ? $moment(scope.row.evaluationTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+
+
加载中...
@@ -126,45 +112,35 @@ export default {
return {
loading: false,
fit: [], // 满足
- unfit: [] // 不满足
+ unfit: [], // 不满足
+ page: 1,
+ pageSize: this.$store.getters.userInfo.configContent,
+ total: 0,
}
},
methods: {
+ pageSizeChange(pageSize){
+ this.pageSize = pageSize
+ },
+ pageChange(page){
+ this.page = page
+ },
// 查询数据
getAllList () {
- let fromPage = this.$route.query.fromPage
- console.log(fromPage);
- if (fromPage === 'product') {
- this.$http.get('lawss/sarProductStand/getAllList', {
- standId: this.$route.query.sarId,
- productId: this.$route.query.productId
+ this.$http.get('sarStandardComplianceAssessResult/productNewDetail', {
+ productId: this.$route.query.productId,
+ standId: this.$route.query.standId,
}, {
_this: this,
loading: 'loading'
}, res => {
if (res.ok) {
- this.fit = res.data.fit
- this.unfit = res.data.unfit
+ this.fit = res.data.fit.records
+ this.unfit = res.data.unfit.records
} else {
this.$message.warning(res.message)
}
})
- } else {
- this.$http.get('lawss/sarCompStatusInfo/getAllList', {
- sarId: this.$route.query.sarId,
- sarState: this.$route.query.sarState
- }, {
- _this: this,
- loading: 'loading'
- }, res => {
- if (res.ok) {
- this.fit = res.data.fit
- this.unfit = res.data.unfit
- } else {
- this.$message.warning(res.message)
- }
- })
- }
},
/**
* @Description: 跳转流程
@@ -190,5 +166,12 @@ export default {
//width: 1200px;
//margin: 0 auto;
height: 100%;
+ .content{
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ height: calc(~'50% - 30px');
+ overflow: auto;
+ }
}
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
index 37fc23c51..9c475ba22 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
@@ -161,9 +161,8 @@
@@ -519,14 +518,11 @@ export default {
},
methods: {
changeState (row) {
- console.log(row);
let routeUrl = this.$router.resolve({
name: 'ComplianceDetails',
query: {
- sarId: this.saveSarId,
- productId: row.productId,
- sarType: row.standType,
- fromPage: 'product'
+ productId: this.localProEO.projectNumber,
+ standId: row.standId,
}
})
window.open(routeUrl.href, '_blank')
@@ -858,7 +854,7 @@ export default {
this.localProEO = JSON.parse(JSON.stringify(item))
this.proId = this.localProEO.id
// 查询详情表格数据
- this.$http.get('sarStandProjectLibrary/queryStandInfo', {
+ this.$http.get('sarStandProjectLibrary/queryStandInfoNew', {
id: this.localProEO.id,
cars: "1"
}, {
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
index 92f14e75e..b68b90b2a 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
@@ -173,7 +173,7 @@
@@ -243,14 +242,11 @@ export default {
},
methods: {
changeState (row) {
- console.log(row);
let routeUrl = this.$router.resolve({
name: 'ComplianceDetails',
query: {
- sarId: this.saveSarId,
productId: row.productId,
- sarType: row.standType,
- fromPage: 'product'
+ standId: row.standId,
}
})
window.open(routeUrl.href, '_blank')
@@ -299,23 +295,20 @@ export default {
this.queryStandAndLaws();
}, // 外层清空条件查询
handleProjectCompliance(row) {
- this.sarProStateEO.type = row.type
+ this.sarProStateEO.standId = row.standId
this.productId = row.productId;
this.querySarProStateZero();
}, // 查看项目符合性
querySarProStateZero(page) {
- console.log(page)
if (page) {
this.sarProStateTotalPage = page
} else {
this.sarProStateTotalPage = 1;
}
var form = this.sarProStateEO;
- console.log('395',form)
- // form.standId = this.standId
form.current = this.sarProStateTotalPage;
form.size = this.sarProStatePageSize;
- this.$http.get("sarStandardComplianceAssessResult/product", form, {
+ this.$http.get("sarStandardComplianceAssessResult/productNew", form, {
_this: this
}, res => {
if (res.ok) {