Browse Source

update

tags/v1.21.12.1^2
zhoupzh 4 years ago
parent
commit
521be8dd42
2 changed files with 18 additions and 4 deletions
  1. +17
    -3
      templates/repo/modelmanage/showinfo.tmpl
  2. +1
    -1
      web_src/js/components/Model.vue

+ 17
- 3
templates/repo/modelmanage/showinfo.tmpl View File

@@ -34,7 +34,7 @@
模型管理
</a>
<div class="divider"> / </div>
<div class="active section">{{$.Name}}</div>
<div class="active section">{{.name}}</div>
</div>
</h4>
<div style="border:1px solid #e2e2e2;padding: 20px 60px;margin-top:24px">
@@ -51,7 +51,6 @@
</td>
</tr>
</tbody>

</table>
</div>
<div style="width: 50%;float: left;">
@@ -61,4 +60,19 @@
</div>
</div>
</div>
</div>

<script>
let url = location.href.split('show_model')[0]
let ID = location.search.slice(6,8)
console.log("-----------",ID)

$(document).ready(loadInfo);
function loadInfo(version){
$.get(`${url}show_model_info_api?ID=${ID}`,(data)=>{
console.log("data",data)
})
}


</script>

+ 1
- 1
web_src/js/components/Model.vue View File

@@ -22,7 +22,7 @@
<i class="el-icon-arrow-right"></i>
</div>
<!-- <i class="el-icon-time"></i> -->
<a class="text-over" :href="showinfoHref+scope.row.Name+'?ID='+scope.row.ID" :title="scope.row.Name">{{ scope.row.Name }}</a>
<a class="text-over" :href="showinfoHref+scope.row.Name" :title="scope.row.Name">{{ scope.row.Name }}</a>
</template>
</el-table-column>
<el-table-column


Loading…
Cancel
Save