重新初始化

This commit is contained in:
2020-02-17 20:47:06 +08:00
parent 5c320206fb
commit 58d999ed73
4016 changed files with 1271 additions and 302396 deletions

View File

@@ -1,62 +0,0 @@
{extend name="admin/base"/}
{block name="body"}
<div class="box box-primary">
<header class="box-header with-border">
<h3 class="box-title">{$meta_title|default='新功能'}</h3>
<div class="pull-right">
<a class="btn btn-danger" href="{:url('addattr',array('form_id'=>$form_id))}"><i class="fa fa-plus"></i> 新 增</a>
<!-- <button class="btn btn-danger ajax-post confirm" url="{:url('del')}" target-form="ids"><i class="fa fa-remove"></i> 删 除</button> -->
<a class="btn btn-warning" href="{:url('Form/index')}"><i class="fa fa-reply"></i> 返回</a>
</div>
</header>
<div class="box-body">
<div class="table-responsive clearfix">
<table class="table table-hover">
<thead>
<tr>
<th><input class="checkbox check-all" type="checkbox"></th>
<th>表单标题</th>
<th>字段名</th>
<th>字段类型</th>
<th>字段长度</th>
<th>默认值</th>
<th>操作</th>
</tr>
</thead>
<tbody>
{volist name="list" id="item"}
<tr>
<td><input class="ids row-selected" type="checkbox" name="id[]" value="{$item['id']}"></td>
<td>{$item['title']}</td>
<td>{$item['name']}</td>
<td>{$item['type_text']}</td>
<td>{$item['length']}</td>
<td>{$item['value']}</td>
<td>
<a href="{:url('editattr',array('id'=>$item['id'], 'form_id'=>$form_id))}">编辑</a>
<a href="{:url('delattr',array('id'=>$item['id'], 'form_id'=>$form_id))}" class="confirm ajax-get">删除</a>
</td>
</tr>
{/volist}
</tbody>
</table>
{$page|raw}
</div>
</div>
</div>
{/block}
{block name="script"}
<script type="text/javascript" src="__PUBLIC__/plugs/layer/layer.js"></script>
<script type="text/javascript">
$(function(){
$('.openDilog').click(function(){
layer.open({
type: 2,
title: false,
area: ['900px', '560px'],
content: $('.openDilog').attr('url')
});
});
})
</script>
{/block}

View File

@@ -1,60 +0,0 @@
{extend name="admin/base"/}
{block name="body"}
<div class="box box-primary">
<header class="box-header with-border">
<h3 class="box-title">{$meta_title|default='新功能'}</h3>
<div class="pull-right">
</div>
</header>
<div class="box-body">
<div class="table-responsive clearfix">
<table class="table table-hover table-bordered">
<tr>
<th width="120" style="text-align: right;">姓名</th>
<td>{$info['name']}</td>
<th width="120" style="text-align: right;">性别</th>
<td>{if $info['sex'] == 0}保密{elseif $info['sex'] == 1}男{elseif $info['sex'] == 2}女{/if}</td>
<th width="120" style="text-align: right;">出生年月</th>
<td>{$info['birthday']|date='Y-m-d',###}</td>
</tr>
<tr>
<th width="120" style="text-align: right;">从事行业</th>
<td>{$info['industry']}</td>
<th width="120" style="text-align: right;">所在单位</th>
<td colspan="3">{$info['company']}</td>
</tr>
<tr>
<th width="120" style="text-align: right;">单位职务</th>
<td>{$info['duties']}</td>
<th width="120" style="text-align: right;">入学年份</th>
<td>{$info['en_year']}</td>
<th width="120" style="text-align: right;">所学专业</th>
<td>{$info['major']}</td>
</tr>
<tr>
<th width="120" style="text-align: right;">联系电话</th>
<td>{$info['mobile']}</td>
<th width="120" style="text-align: right;">QQ</th>
<td>{$info['qq']}</td>
<th width="120" style="text-align: right;">微信</th>
<td>{$info['wechat']}</td>
</tr>
<tr>
<th width="120" style="text-align: right;">个人简历</th>
<td colspan="5">
{$info['profile']}
</td>
</tr>
<tr>
<td colspan="6">
说明:个人简历中,您可以添加任何您愿意提供的信息,例如您可以为校友提供何种帮助,有何特长,获得的主要荣誉,是否参加其他社团组织等等。
</td>
</tr>
</table>
</div>
</div>
</div>
{/block}
{block name="script"}
{/block}

View File

@@ -1,88 +0,0 @@
{extend name="admin/base"/}
{block name="body"}
<div class="box box-primary">
<header class="box-header with-border">
<h3 class="box-title">{$meta_title|default='新功能'}</h3>
<div class="pull-right">
</div>
</header>
<div class="box-body">
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()">
<i class="fa fa-plus"></i> 新增
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()">
<i class="fa fa-remove"></i> 删除
</a>
</div>
<div class="table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
{/block}
{block name="script"}
<!-- bootstrap-table 表格插件 -->
<script src="__static__/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="__static__/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="__static__/plugins/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js"></script>
<script src="__static__/plugins/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.min.js"></script>
<script src="__static__/plugins/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js"></script>
<script type="text/javascript">
$(function(){
var editFlag = "";
var removeFlag = "";
var resetPwdFlag = "";
$.table.init({
url: "/admin/form/index",
createUrl: "/admin/form/add",
updateUrl: "/admin/form/edit/id/{id}",
removeUrl: "/admin/form/del",
uniqueId: "id",
sortName: "id",
sortOrder: "desc",
modalName: "客户端",
columns: [
{
checkbox: true
},
{
field: 'title',
title: '客户端名称'
},
{
field: 'appid',
title: 'APPID'
},
{
field: 'appsecret',
title: 'APP秘钥'
},
{
field: 'create_time',
title: '创建时间',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
return actions.join('');
}
}
]
});
})
</script>
{/block}

View File

@@ -1,60 +0,0 @@
{extend name="admin/base"/}
{block name="body"}
<div class="box box-primary">
<header class="box-header with-border">
<h3 class="box-title">{$meta_title|default='新功能'}</h3>
<div class="pull-right">
<a class="btn btn-primary" href="{:url('admin/form/outxls?form_id='.$form_id)}" target="_blank">导出</a>
</div>
</header>
<div class="box-body">
<div class="table-responsive clearfix">
<table class="table table-hover">
<thead>
<tr>
<th><input class="checkbox check-all" type="checkbox"></th>
<th>姓名</th>
<th>性别</th>
<th>生日</th>
<th>从事行业</th>
<th>所在单位</th>
<th>职务</th>
<th>入学年份</th>
<th>所学专业</th>
<th>电话</th>
<th>QQ</th>
<th>微信</th>
<th>操作</th>
</tr>
</thead>
<tbody>
{volist name="list" id="item"}
<tr>
<td><input class="ids row-selected" type="checkbox" name="id[]" value="{$item['id']}"></td>
<td>{$item['name']}</td>
<td>{if $item['sex'] == 0}保密{elseif $item['sex'] == 1}男{elseif $item['sex'] == 2}女{/if}</td>
<td>{$item['birthday']|date='Y-m-d',###}</td>
<td>{$item['industry']}</td>
<td>{$item['company']}</td>
<td>{$item['duties']}</td>
<td>{$item['en_year']}</td>
<td>{$item['major']}</td>
<td>{$item['mobile']}</td>
<td>{$item['qq']}</td>
<td>{$item['wechat']}</td>
<td>
<a href="{:url('detail',array('id'=>$item['id'], 'form_id'=>$form_id))}">详情</a>
<a href="{:url('deldata',array('id'=>$item['id'], 'form_id'=>$form_id))}" class="confirm ajax-get">删除</a>
</td>
</tr>
{/volist}
</tbody>
</table>
{$page|raw}
</div>
</div>
</div>
{/block}
{block name="script"}
{/block}