|
|
@@ -100,6 +100,7 @@ export default {
|
|
|
...mapMutations([]),
|
|
|
reset() {
|
|
|
return {
|
|
|
+ thresholdId: null,
|
|
|
thresholdCode: null,
|
|
|
thresholdName: null,
|
|
|
timeRange: ['00:00:00', '23:59:59'],
|
|
|
@@ -112,6 +113,7 @@ export default {
|
|
|
this.isEdit=false;
|
|
|
if (param.thresholdCode){
|
|
|
this.formData = {
|
|
|
+ thresholdId: param.thresholdId,
|
|
|
thresholdCode: param.thresholdCode,
|
|
|
thresholdName: param.thresholdName,
|
|
|
timeRange: [param.beginTime,param.endTime],
|