ID | {{"方案名"|T}} | {{"数据库"|T}} | {{"数据表"|T}} | {{"可删"|T}} | {{"创建/更新时间"|T}} | {{"操作"|T}} |
---|---|---|---|---|---|---|
{{$v.Id}} | {{$v.Name}} |
{{- if $v.SrcAccount -}}
{{- $v.SrcAccount.Title -}}
{{- else -}}
{{- $v.DsnSource -}}
{{- end -}}
{{- if $v.DstAccount -}} {{- $v.DstAccount.Title -}} {{- else -}} {{- $v.DsnDestination -}} {{- end -}} |
{{if $v.Tables}}{{"同步"|T}}: {{$v.Tables}}{{else if not $v.SkipTables}}{{"全部"|T}}{{end}}
{{if $v.SkipTables}} {{"跳过"|T}}: {{$v.SkipTables}}{{end}} |
{{if gt $v.Drop 0}}{{"开启"|T}}{{else}}{{"关闭"|T}}{{end}} | {{(Date $v.Created).Format "2006-01-02 15:04:05"}} {{if gt $v.Updated 0}}{{(Date $v.Updated).Format "2006-01-02 15:04:05"}}{{else}}None{{end}} |