|
@@ -127,7 +127,7 @@
|
|
import {
|
|
import {
|
|
chemicalUserecordDetail,
|
|
chemicalUserecordDetail,
|
|
systemWarningNoticeDetail,
|
|
systemWarningNoticeDetail,
|
|
- systemWarningNoticeList,
|
|
|
|
|
|
+ systemWarningNoticeList, systemWarningNoticeWarningDetail,
|
|
systemWarningNoticeWarningList
|
|
systemWarningNoticeWarningList
|
|
} from '@/api/chemicalManage'
|
|
} from '@/api/chemicalManage'
|
|
export default {
|
|
export default {
|
|
@@ -219,7 +219,7 @@
|
|
obj.startTime = "";
|
|
obj.startTime = "";
|
|
obj.endTime = "";
|
|
obj.endTime = "";
|
|
}
|
|
}
|
|
- systemWarningNoticeWarningList(obj).then(response => {
|
|
|
|
|
|
+ systemWarningNoticeList(obj).then(response => {
|
|
this.$set(this,'loading',false);
|
|
this.$set(this,'loading',false);
|
|
this.$set(this,'dataList',response.data.records);
|
|
this.$set(this,'dataList',response.data.records);
|
|
this.$set(this,'total',response.data.total);
|
|
this.$set(this,'total',response.data.total);
|
|
@@ -233,7 +233,7 @@
|
|
this.$set(this,'pageType',2);
|
|
this.$set(this,'pageType',2);
|
|
}else if(type == 2 || type == 3){
|
|
}else if(type == 2 || type == 3){
|
|
//详情
|
|
//详情
|
|
- systemWarningNoticeDetail({id:row.noticeId}).then(response => {
|
|
|
|
|
|
+ systemWarningNoticeWarningDetail({id:row.noticeId}).then(response => {
|
|
this.$set(this,'propsData',JSON.parse(JSON.stringify(response.data)));
|
|
this.$set(this,'propsData',JSON.parse(JSON.stringify(response.data)));
|
|
this.$set(this,'pageType',3);
|
|
this.$set(this,'pageType',3);
|
|
});
|
|
});
|