commit
This commit is contained in:
@@ -9,13 +9,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="menu-wrap">
|
<div class="menu-wrap">
|
||||||
<enter-card label="国内法规" path="/domesticStandardsAndRegulations" style="margin-left:0px;"></enter-card>
|
<enter-card label="国内法规" path="/domesticStandardsAndRegulations" style="margin-left:0px;"></enter-card>
|
||||||
<enter-card label="国外法规" path="/"></enter-card>
|
<enter-card label="国外法规" path="/foreignStandardsAndRegulations"></enter-card>
|
||||||
<enter-card label="标准清单" path="/"></enter-card>
|
<enter-card label="标准清单" path="/accessStandardsAndRegulations"></enter-card>
|
||||||
</div>
|
</div>
|
||||||
<div class="menu-wrap">
|
<div class="menu-wrap">
|
||||||
<enter-card label="国内外政策" path="/" style="margin-left:0px;"></enter-card>
|
<enter-card label="国内外政策" path="/" style="margin-left:0px;"></enter-card>
|
||||||
<enter-card label="企业标准" path="/"></enter-card>
|
<enter-card label="企业标准" path="/"></enter-card>
|
||||||
<enter-card label="标准预警" path="/"></enter-card>
|
<enter-card label="标准预警" path="/standardWarning"></enter-card>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -540,7 +540,7 @@ export default {
|
|||||||
applyType: this.dynamic.keyword
|
applyType: this.dynamic.keyword
|
||||||
},{
|
},{
|
||||||
_this: this,
|
_this: this,
|
||||||
}, res=> {
|
}, res => {
|
||||||
const result = res.data[0]
|
const result = res.data[0]
|
||||||
for(const type in result) {
|
for(const type in result) {
|
||||||
this[type] = result[type].records
|
this[type] = result[type].records
|
||||||
@@ -558,6 +558,28 @@ export default {
|
|||||||
//取消预警
|
//取消预警
|
||||||
cancelWarning (index, row) {
|
cancelWarning (index, row) {
|
||||||
console.log(index, row)
|
console.log(index, row)
|
||||||
|
this.$confirm('确认取消预警?','提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
confirmButtonClass: 'common-button-primary',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
type: 'warning',
|
||||||
|
roundButton: false
|
||||||
|
}).then(() => {
|
||||||
|
this.$http.get('sys/EarlyWarning/ChangePermissions', {
|
||||||
|
id: row.id,
|
||||||
|
}, res => {
|
||||||
|
this.pageConfig.newItemsPage = 1
|
||||||
|
this.pageConfig.oldItemsPage = 1
|
||||||
|
this.pageConfig.newStandPage = 1
|
||||||
|
this.pageConfig.oldStandPage = 1
|
||||||
|
this.pageConfig.newPolicyPage = 1
|
||||||
|
this.pageConfig.oldPolicyPage = 1
|
||||||
|
this.activeName === 'STANDARD' ? this.getEarlyDate() : this.getPolicyDate()
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}).catch(() => {
|
||||||
|
this.$message.warning('取消事件')
|
||||||
|
})
|
||||||
},
|
},
|
||||||
showStandDetails(item) {
|
showStandDetails(item) {
|
||||||
let getStandId = item.sarId;
|
let getStandId = item.sarId;
|
||||||
@@ -614,28 +636,28 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
queryProductionVehicleByPage() {
|
// queryProductionVehicleByPage() {
|
||||||
this.$http.get("sys/EarlyWarning/StandWarning", {
|
// this.$http.get("sys/EarlyWarning/StandWarning", {
|
||||||
sarPutType: "ZCCSSRQ",
|
// sarPutType: "ZCCSSRQ",
|
||||||
pageSize: 5
|
// pageSize: 5
|
||||||
}, {
|
// }, {
|
||||||
_this: this
|
// _this: this
|
||||||
}, res => {
|
// }, res => {
|
||||||
this.productionVehicleDatas = res.data.list;
|
// this.productionVehicleDatas = res.data.list;
|
||||||
}, e => {
|
// }, e => {
|
||||||
});
|
// });
|
||||||
},
|
// },
|
||||||
queryNewTypeByPage() {
|
// queryNewTypeByPage() {
|
||||||
this.$http.get("sys/EarlyWarning/StandWarning", {
|
// this.$http.get("sys/EarlyWarning/StandWarning", {
|
||||||
sarPutType: "XCXSSRQ",
|
// sarPutType: "XCXSSRQ",
|
||||||
pageSize: 5
|
// pageSize: 5
|
||||||
}, {
|
// }, {
|
||||||
_this: this
|
// _this: this
|
||||||
}, res => {
|
// }, res => {
|
||||||
// this.newTypeDatas = res.data.list;
|
// // this.newTypeDatas = res.data.list;
|
||||||
}, e => {
|
// }, e => {
|
||||||
});
|
// });
|
||||||
},
|
// },
|
||||||
/**
|
/**
|
||||||
* @description: 日期转换
|
* @description: 日期转换
|
||||||
* @author: chenxiaoxi
|
* @author: chenxiaoxi
|
||||||
@@ -707,8 +729,8 @@ export default {
|
|||||||
window.onresize = () => {
|
window.onresize = () => {
|
||||||
this.height = $(".content").height() * 0.4;
|
this.height = $(".content").height() * 0.4;
|
||||||
};
|
};
|
||||||
this.queryNewTypeByPage();
|
// this.queryNewTypeByPage();
|
||||||
this.queryProductionVehicleByPage();
|
// this.queryProductionVehicleByPage();
|
||||||
// 四个预警同时查询,loading全部打开
|
// 四个预警同时查询,loading全部打开
|
||||||
for (const loading in this.loading) { this.loading[loading] = true }
|
for (const loading in this.loading) { this.loading[loading] = true }
|
||||||
this.getEarlyDate();
|
this.getEarlyDate();
|
||||||
|
|||||||
Reference in New Issue
Block a user