|
@@ -613,14 +613,16 @@ export default {
|
|
var form = JSON.parse(JSON.stringify(row))
|
|
var form = JSON.parse(JSON.stringify(row))
|
|
this.$set(form,'associateReportName',row.volumeNumber?row.volumeNumber:row.name)
|
|
this.$set(form,'associateReportName',row.volumeNumber?row.volumeNumber:row.name)
|
|
this.$set(form,'associateReportId',row.id)
|
|
this.$set(form,'associateReportId',row.id)
|
|
|
|
+ this.$set(form,'status',2)
|
|
this.$set(form,'cronIds',[])
|
|
this.$set(form,'cronIds',[])
|
|
|
|
+ this.$set(form,'cronDescription','')
|
|
if(isNaN((row.name).substring((row.name).length-1))){
|
|
if(isNaN((row.name).substring((row.name).length-1))){
|
|
form.name = row.name + '-V1'
|
|
form.name = row.name + '-V1'
|
|
}else{
|
|
}else{
|
|
var a= Number((row.name).substring((row.name).length-1)) + 1
|
|
var a= Number((row.name).substring((row.name).length-1)) + 1
|
|
form.name = (row.name).substring(0,(row.name).length-1) + a
|
|
form.name = (row.name).substring(0,(row.name).length-1) + a
|
|
}
|
|
}
|
|
- form.status = 1
|
|
|
|
|
|
+ // form.status = 1
|
|
form.id = null
|
|
form.id = null
|
|
form.track = true
|
|
form.track = true
|
|
this.$refs.ReportForm.open(form)
|
|
this.$refs.ReportForm.open(form)
|