You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
429 B
23 lines
429 B
1 year ago
|
|
||
|
export default {
|
||
|
sourceFormat(data, type){
|
||
|
let data1 = _.cloneDeep(data);
|
||
|
data1.stopTime = data1.stopTime*0.1
|
||
|
if(type=='template'){
|
||
|
|
||
|
} else {
|
||
|
|
||
|
}
|
||
|
return data1
|
||
|
},
|
||
|
saveFormat(data, type) {
|
||
|
let data1 = _.cloneDeep(data);
|
||
|
data1.stopTime = data1.stopTime * 10 + "";
|
||
|
if (type == 'template') {
|
||
|
|
||
|
} else {
|
||
|
|
||
|
}
|
||
|
return data1;
|
||
|
}
|
||
|
}
|