阶段性提交

This commit is contained in:
刘祥超
2020-08-21 21:09:42 +08:00
parent 145f0580fb
commit d7e3cefa4d
161 changed files with 3520 additions and 219 deletions

View File

@@ -0,0 +1,21 @@
{$layout "layout_popup"}
<h3>添加IP地址</h3>
<form class="ui form" data-tea-action="$" data-tea-success="success">
<table class="ui table definition selectable">
<tr>
<td>IP地址 *</td>
<td>
<input type="text" name="ip" maxlength="128" ref="focus"/>
</td>
</tr>
<tr>
<td class="title">简介</td>
<td>
<input type="text" name="name" maxlength="50"/>
</td>
</tr>
</table>
<submit-btn></submit-btn>
</form>

View File

@@ -0,0 +1,3 @@
Tea.context(function (){
this.success = NotifyPopup;
});

View File

@@ -0,0 +1,22 @@
{$layout "layout_popup"}
<h3>修改IP地址</h3>
<form class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="addressId" :value="address.id"/>
<table class="ui table definition selectable">
<tr>
<td>IP地址 *</td>
<td>
<input type="text" name="ip" maxlength="128" ref="focus" v-model="address.ip"/>
</td>
</tr>
<tr>
<td class="title">简介</td>
<td>
<input type="text" name="name" maxlength="50" v-model="address.name"/>
</td>
</tr>
</table>
<submit-btn></submit-btn>
</form>

View File

@@ -0,0 +1,3 @@
Tea.context(function (){
this.success = NotifyPopup;
});