创建版本

This commit is contained in:
2021-02-22 12:17:00 +08:00
commit af555f49c3
2332 changed files with 369202 additions and 0 deletions
@@ -0,0 +1,34 @@
<style>
.modal-body { overflow:hidden; }
</style>
<form method="post" action="{{url()}}" id="item-form" name="item-form">
<div class="panel m-b-none">
<table class="table table-form m-b-none">
<tr>
<td align="right" width="10%">名称</td>
<td align="left">
<input type="text" name="name" value="{{$task['name']}}" class="form-control input-sm">
</td>
</tr>
<tr>
<td align="right">备注</td>
<td>
<textarea class="form-control" type="text" name="remark"></textarea>
</td>
</tr>
</table>
</div>
</div>
<input type="hidden" name="type" value="{{$type}}">
<input type="hidden" name="parent_id" value="{{$parent_id}}">
<input type="hidden" name="project_id" value="{{$project_id}}">
<input type="hidden" name="is_item" value="1">
</form>
@@ -0,0 +1,42 @@
<style>
.modal-body { overflow:hidden; }
</style>
<form method="post" class="project-form" action="{{url()}}" id="item-form-{{$task->id}}" name="item-form-{{$task->id}}">
<div class="panel m-b-none">
<table class="table table-form m-b-none">
<tr>
<td align="right" width="10%">名称</td>
<td align="left">
@if($permission['name'])
<input type="text" name="name" value="{{$task['name']}}" class="form-control input-sm">
@else
{{$task['name']}}
@endif
</td>
</tr>
<tr>
<td align="right">备注</td>
<td>
@if($permission['remark'])
<textarea class="form-control" type="text" name="remark">{{$task->remark}}</textarea>
@else
{{$task->remark}}
@endif
</td>
</tr>
</table>
</div>
</div>
<input type="hidden" name="type" value="{{$type}}">
<input type="hidden" name="project_id" value="{{$task->project_id}}">
<input type="hidden" name="id" value="{{$task->id}}">
<input type="hidden" name="is_item" value="1">
</form>