This commit is contained in:
ryanmao 2020-10-22 13:24:59 +08:00
parent a32aad12fb
commit 27b0246e46
3 changed files with 6 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -105,7 +105,7 @@ func ModelRun(c *gin.Context, req *ruisUtil.Map) {
m := &models.ModelRun{} m := &models.ModelRun{}
m.Tid = int(id) m.Tid = int(id)
m.Uid = lgusr.Xid m.Uid = lgusr.Xid
m.Tgtyps = "手动触发" m.Tgtyps = "手动执行"
if err := m.Add(); err != nil { if err := m.Add(); err != nil {
c.String(500, "add err:"+err.Error()) c.String(500, "add err:"+err.Error())
return return

View File

@ -37,7 +37,10 @@
#{{row.Id}}</el-link> #{{row.Id}}</el-link>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="Tgtyps" width="120"> <el-table-column label="触发" width="120">
<template slot-scope="{row}">
<el-tag>{{row.Tgtyps}}</el-tag>
</template>
</el-table-column> </el-table-column>
<el-table-column prop="Times1" label="运行时间" width="200" sortable> <el-table-column prop="Times1" label="运行时间" width="200" sortable>
</el-table-column> </el-table-column>