Browse Source

信息表单收集

master
wanghongjun 2 years ago
parent
commit
ea62399529
  1. 112
      addons/weliam_smartcity/api/Enroll.php
  2. 51
      addons/weliam_smartcity/core/class/FormTemplate.class.php
  3. 12
      addons/weliam_smartcity/core/class/Menus_store.class.php
  4. 8
      addons/weliam_smartcity/core/class/Menus_sys.class.php
  5. 41
      addons/weliam_smartcity/core/model/MerchantDataEnt.mod.php
  6. 33
      addons/weliam_smartcity/sys/controller/member/campusActivities.ctrl.php
  7. 4
      addons/weliam_smartcity/sys/view/default/member/campus_activities/commentIndex.html
  8. 102
      addons/weliam_smartcity/sys/view/default/member/campus_activities/enroll_list.html
  9. 3
      addons/weliam_smartcity/sys/view/default/member/campus_activities/index.html
  10. 6
      addons/weliam_smartcity/web/controller/agentset/diyForm.ctrl.php
  11. 1
      addons/weliam_smartcity/web/view/default/agentset/diy_form/edit.html
  12. 14
      addons/weliam_smartcity/web/view/default/agentset/diy_form/list.html
  13. 204
      addons/weliam_smartcity/web/view/default/agentset/diy_form/template_config.html

112
addons/weliam_smartcity/api/Enroll.php

@ -0,0 +1,112 @@
<?php
defined('IN_IA') or exit('Access Denied');
class EnrollModuleUniapp extends Uniapp
{
/**
* 获取报名模板
*/
public function getDiyForm()
{
global $_W, $_GPC;
$template_type = $_GPC['template_type'] ?: 1;
$where = ['template_type' => $template_type, 'uniacid' => $_W['uniacid'], 'aid' => $_W['aid']];
$diyFrom = pdo_getall(PDO_NAME . 'diyform' , $where , ['id','info'],'','create_time desc',1);
if (!$diyFrom) $this->renderError('未设置报名表单');
$diyFromInfo = json_decode(base64_decode($diyFrom[0]['info']) , true);
$data = [
'diyform' => $diyFromInfo, //页面的配置信息
'template_type' => $template_type,
'diyformid' => $diyFrom[0]['id']
];
$this->renderSuccess('数据返回成功',$data);
}
/**
* 保存填写模板数据
*/
public function saveDiyForm()
{
global $_W, $_GPC;
try {
$mid = $_W['mid'];
$diyformid = $_GPC['diyformid'];
$form_data = $_GPC['form_data'];
$template_type = $_GPC['template_type'];
$activities_id = $_GPC['activities_id'];
if (empty($diyformid) || !is_numeric($diyformid)) throw new Exception('表单id不能为空');
if (empty($form_data)) throw new Exception('表单数据不能为空');
if (empty($template_type)) throw new Exception('模板类型不能为空');
if (!in_array($template_type,array_keys(FormTemplate::$template_type))) throw new Exception('模板类型数据错误');
if (empty($activities_id) || !is_numeric($activities_id)) throw new Exception('活动id不能为空');
$activitiesData = FormTemplate::getTemplateTableData($template_type,$activities_id);
if (empty($activitiesData)) throw new Exception('该活动不存在');
$query = pdo_get(PDO_NAME . 'member_enroll',['template_type' => $template_type,'mid' => $mid,'activities_id' => $activities_id],'id');
if ($query) throw new Exception('已报名该活动');
$diyFormInfo = html_entity_decode($form_data);
$diyFormInfo = base64_encode($diyFormInfo);
$insert = [
'uniacid' => $_W['uniacid'],
'mid' => $mid,
'diyformid' => $diyformid,
'form_data' => $diyFormInfo,
'template_type' => $template_type,
'activities_id' => $activities_id,
'create_time' => date("Y-m-d H:i:s",time())
];
pdo_insert(PDO_NAME . 'member_enroll',$insert);
$this->renderSuccess('报名成功');
} catch (Exception $e) {
$this->renderError($e->getMessage());
}
}
/**
* 取消报名
*/
public function cancelEnroll()
{
global $_W, $_GPC;
$mid = $_W['mid'];
$enroll_id = $_GPC['enroll_id'];
if (empty($enroll_id)) $this->renderError('enroll_id is null');
$query = pdo_get(PDO_NAME . 'member_enroll',['id' => $enroll_id, 'mid' => $mid]);
if (!$query) $this->renderError('报名信息不存在');
pdo_delete(PDO_NAME . 'member_enroll',$enroll_id);
$this->renderSuccess('已取消');
}
/**
* 报名列表
*/
public function getUserEnrollList()
{
global $_W, $_GPC;
$mid = $_W['mid'];
}
}

51
addons/weliam_smartcity/core/class/FormTemplate.class.php

@ -0,0 +1,51 @@
<?php
defined('IN_IA') or exit('Access Denied');
class FormTemplate
{
/**
* 模板类型
* @var string[]
*/
public static $template_type = [
1 => '校园活动',
2 => '培训体验课',
3 => '平台活动'
];
/**
* 模板关联数据表
* @var string[]
*/
public static $template_relation = [
1 => 'member_campus_activities',
2 => '',
3 => ''
];
/**
* 获取活动关联id
* @param $template_type
* @param $activities_id
* @return array|false|mixed
*/
public static function getTemplateTableData($template_type,$activities_id)
{
$table_name = self::$template_relation[$template_type];
if (empty($table_name)) return [];
$res = pdo_get(PDO_NAME . $table_name,['id' => $activities_id]);
return $res ?: [];
}
/**
* 返回模板信息
* @param $id
* @param $template_type
* @return array|false|mixed
*/
public static function getDiyFormData($id,$template_type = 1)
{
$res = pdo_get(PDO_NAME . 'diyform',['id' => $id,'template_type' => $template_type]);
return $res ? : [];
}
}

12
addons/weliam_smartcity/core/class/Menus_store.class.php

@ -119,12 +119,12 @@ class Menus_store extends Menus {
} }
} }
$frames['setting']['title'] = '<i class="fa fa-globe"></i>&nbsp;&nbsp; 设置'; // $frames['setting']['title'] = '<i class="fa fa-globe"></i>&nbsp;&nbsp; 设置';
$frames['setting']['items'] = array(); // $frames['setting']['items'] = array();
$frames['setting']['items']['divform']['url'] = web_url('agentset/diyForm/index'); // $frames['setting']['items']['divform']['url'] = web_url('agentset/diyForm/index');
$frames['setting']['items']['divform']['title'] = '自定义表单'; // $frames['setting']['items']['divform']['title'] = '自定义表单';
$frames['setting']['items']['divform']['actions'] = ['ac' , 'diyForm' , 'do' , ['index' ,'add', 'edit']]; // $frames['setting']['items']['divform']['actions'] = ['ac' , 'diyForm' , 'do' , ['index' ,'add', 'edit']];
$frames['setting']['items']['divform']['active'] = ''; // $frames['setting']['items']['divform']['active'] = '';

8
addons/weliam_smartcity/core/class/Menus_sys.class.php

@ -568,10 +568,10 @@ class Menus_sys extends Menus {
// $frames['setting']['items']['tags']['actions'] = array('ac', 'agentSetTags', 'do', 'tags'); // $frames['setting']['items']['tags']['actions'] = array('ac', 'agentSetTags', 'do', 'tags');
// $frames['setting']['items']['tags']['active'] = ''; // $frames['setting']['items']['tags']['active'] = '';
// $frames['setting']['items']['divform']['url'] = web_url('agentset/diyForm/index'); $frames['setting']['items']['divform']['url'] = web_url('agentset/diyForm/index');
// $frames['setting']['items']['divform']['title'] = '自定义表单'; $frames['setting']['items']['divform']['title'] = '自定义表单';
// $frames['setting']['items']['divform']['actions'] = ['ac' , 'diyForm' , 'do' , ['index' ,'add', 'edit']]; $frames['setting']['items']['divform']['actions'] = ['ac' , 'diyForm' , 'do' , ['index' ,'add', 'edit']];
// $frames['setting']['items']['divform']['active'] = ''; $frames['setting']['items']['divform']['active'] = '';
// if(IMS_FAMILY == 'wl'){ // if(IMS_FAMILY == 'wl'){
// $frames['setting']['items']['enclosure']['url'] = web_url('setting/shopset/enclosure'); // $frames['setting']['items']['enclosure']['url'] = web_url('setting/shopset/enclosure');

41
addons/weliam_smartcity/core/model/MerchantDataEnt.mod.php

@ -0,0 +1,41 @@
<?php
defined('IN_IA') or exit('Access Denied');
class MerchantDataEnt
{
/**
* 新增编辑企业信息
* @param $data
* @param $storeid
*/
public static function saveData($data,$storeid)
{
$save_data = ['storeid' => $storeid];
if (!empty($data['cc_id'])) {
$save_data['cc_id'] = $data['cc_id'];
}
if (!empty($data['introduction'])) {
$save_data['introduction'] = $data['introduction'];
}
if (!empty($data['business'])) {
$save_data['business'] = $data['business'];
}
if (!empty($data['advantage'])) {
$save_data['advantage'] = $data['advantage'];
}
$query = pdo_get(PDO_NAME . 'wlmerchant_merchantdataent',['storeid' => $storeid]);
if ($query) {
$save_data['update_time'] = date("Y-m-d H:i:s",time());
pdo_update(PDO_NAME . 'wlmerchant_merchantdataent',$save_data,['id' => $query['id']]);
} else {
$save_data['create_time'] = date("Y-m-d H:i:s",time());
pdo_insert(PDO_NAME . 'wlmerchant_merchantdataent',$save_data);
}
}
}

33
addons/weliam_smartcity/sys/controller/member/campusActivities.ctrl.php

@ -198,4 +198,37 @@ class campusActivities_WeliamController {
wl_message('删除失败', referer(), 'error'); wl_message('删除失败', referer(), 'error');
} }
public function enrollList()
{
global $_W, $_GPC;
$where = [];
$where = [];
$pindex = max(1, intval($_GPC['page']));
$psize = 10;
if (!empty($_GPC['activities_id'])) $where['activities_id'] = $_GPC['activities_id'];
if (!empty($_GPC['template_type'])) $where['template_type'] = $_GPC['template_type'];
if (!empty($_GPC['title'])) {
$formIdArr = [];
$diyFormData = pdo_getall(PDO_NAME . 'diyform',['title%' => $_GPC['title']],'id');
foreach ($diyFormData as $diyFormRow) $formIdArr[] = $diyFormRow['id'];
$where['diyformid#'] = $formIdArr ? implode(",",$formIdArr) : '0';
}
$enrollData = Util::getNumData("*", PDO_NAME . 'member_enroll', $where, 'id desc', $pindex, $psize, 1);
$list = $enrollData[0];
$pager = $enrollData[1];
foreach ($list as &$item) {
Member::getMemberInfo($item,$item['mid']);
$item['temp_type_str'] = FormTemplate::$template_type[$item['template_type']];
$diyForm = FormTemplate::getDiyFormData($item['diyformid'],$item['template_type']);
$item['template_title'] = $diyForm ? $diyForm['title'] : '';
}
include wl_template('member/campus_activities/enroll_list');
}
} }

4
addons/weliam_smartcity/sys/view/default/member/campus_activities/commentIndex.html

@ -2,6 +2,7 @@
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li {if $_GPC['active'] == 1}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/index',array('active' => 1))}">校园活动</a></li> <li {if $_GPC['active'] == 1}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/index',array('active' => 1))}">校园活动</a></li>
<li {if $_GPC['active'] == 2}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/commentIndex',array('active' => 2))}">评论审核</a></li> <li {if $_GPC['active'] == 2}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/commentIndex',array('active' => 2))}">评论审核</a></li>
<li {if $_GPC['active'] == 3}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/enrollList',array('active' => 3))}">报名记录</a></li>
</ul> </ul>
<div class="app-content"> <div class="app-content">
<div class="app-filter"> <div class="app-filter">
@ -15,7 +16,8 @@
<input type="hidden" name="m" value="{MODULE_NAME}"/> <input type="hidden" name="m" value="{MODULE_NAME}"/>
<input type="hidden" name="p" value="member"/> <input type="hidden" name="p" value="member"/>
<input type="hidden" name="ac" value="campusActivities"/> <input type="hidden" name="ac" value="campusActivities"/>
<input type="hidden" name="do" value="index"/> <input type="hidden" name="do" value="commentIndex"/>
<input type="hidden" name="active" value="2"/>
<div class="form-group"> <div class="form-group">
<label class="col-sm-2 control-label">审核状态</label> <label class="col-sm-2 control-label">审核状态</label>
<div class="col-sm-9"> <div class="col-sm-9">

102
addons/weliam_smartcity/sys/view/default/member/campus_activities/enroll_list.html

@ -0,0 +1,102 @@
{php include wl_template('common/header');}
<style>
.content-clamp {
display:-webkit-box;
overflow:hidden;
text-overflow:ellipsis;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
word-break: break-word;
}
.content-clamp img {
display: none;
}
.content-clamp p {
width: 400px;
}
</style>
<ul class="nav nav-tabs">
<li {if $_GPC['active'] == 1}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/index',array('active' => 1))}">校园活动</a></li>
<li {if $_GPC['active'] == 2}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/commentIndex',array('active' => 2))}">评论审核</a></li>
<li {if $_GPC['active'] == 3}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/enrollList',array('active' => 3))}">报名记录</a></li>
</ul>
<div class="app-content">
<div class="app-filter">
<div class="filter-action">
<a href="{php echo web_url('member/campusActivities/edit')}" class="btn btn-primary">添加活动</a>
</div>
<div class="filter-list">
<form action="" method="get" class="form-horizontal" role="form" id="form1">
<input type="hidden" name="c" value="site"/>
<input type="hidden" name="a" value="entry"/>
<input type="hidden" name="m" value="{MODULE_NAME}"/>
<input type="hidden" name="p" value="member"/>
<input type="hidden" name="ac" value="campusActivities"/>
<input type="hidden" name="do" value="enrollList"/>
<input type="hidden" name="active" value="3"/>
<div class="form-group form-inline">
<label class="col-sm-2 control-label">活动id</label>
<div class="col-sm-9">
<input type="text" name="activities_id" class="form-control" value="{$_GPC['activities_id']}"
placeholder="请输入活动id"/>
</div>
</div>
<div class="form-group form-inline">
<label class="col-sm-2 control-label">模板标题</label>
<div class="col-sm-9">
<input type="text" name="title" class="form-control" value="{$_GPC['title']}"
placeholder="请输入模板标题"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label"></label>
<div class="col-sm-9">
<button class="btn btn-primary" type="submit">筛选</button>
</div>
</div>
</form>
</div>
</div>
<div class="app-table-list">
<div class="table-responsive">
<table class="table table-responsive">
<thead>
<tr>
<th style="width: 10%;">活动id</th>
<th style="width: 15%;">参与用户</th>
<th style="width: 15%;">模板标题</th>
<th style="width: 40%;">填写内容</th>
<th style="width: 20%;">报名时间</th>
</tr>
</thead>
<tbody>
{loop $list $row}
<tr>
<td style="overflow: visible"><span style="word-break: break-word;">{php echo $row['activities_id'];}</span></td>
<td style="overflow: visible">
{if $row['avatar']}
<img class="scrollLoading" src="{$row['avatar']}" data-url="{php echo $row['avatar'];}" height="50" width="50"/>
{/if}
{$row['nickname']}
</td>
<td style="overflow: visible"><span style="word-break: break-word;">{php echo $row['template_title'];}</span></td>
<td style="overflow: visible"><span style="word-break: break-word;">{php echo $row['form_data'];}</span></td>
<td style="overflow: visible"><span style="word-break: break-word;">{php echo $row['create_time'];}</span></td>
</tr>
{/loop}
</tbody>
</table>
</div>
<div class="app-table-foot clearfix">
<div class="pull-left">
</div>
<div class="pull-right">
{$pager}
</div>
</div>
</div>
</div>
<script>
</script>
{php include wl_template('common/footer');}

3
addons/weliam_smartcity/sys/view/default/member/campus_activities/index.html

@ -18,6 +18,7 @@
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li {if $_GPC['active'] == 1}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/index',array('active' => 1))}">校园活动</a></li> <li {if $_GPC['active'] == 1}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/index',array('active' => 1))}">校园活动</a></li>
<li {if $_GPC['active'] == 2}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/commentIndex',array('active' => 2))}">评论审核</a></li> <li {if $_GPC['active'] == 2}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/commentIndex',array('active' => 2))}">评论审核</a></li>
<li {if $_GPC['active'] == 3}class="active"{/if} ><a href="{php echo web_url('member/campusActivities/enrollList',array('active' => 3))}">报名记录</a></li>
</ul> </ul>
<div class="app-content"> <div class="app-content">
<div class="app-filter"> <div class="app-filter">
@ -32,6 +33,7 @@
<input type="hidden" name="p" value="member"/> <input type="hidden" name="p" value="member"/>
<input type="hidden" name="ac" value="campusActivities"/> <input type="hidden" name="ac" value="campusActivities"/>
<input type="hidden" name="do" value="index"/> <input type="hidden" name="do" value="index"/>
<input type="hidden" name="active" value="1"/>
<div class="form-group form-inline"> <div class="form-group form-inline">
<label class="col-sm-2 control-label">活动标题</label> <label class="col-sm-2 control-label">活动标题</label>
<div class="col-sm-9"> <div class="col-sm-9">
@ -129,6 +131,7 @@
<a href="#" class="btn btn-danger btn-sm" data-toggle="modal" data-target="#modal-reject{$row['id']}" data-placement="top" title="驳回">驳回</a> <a href="#" class="btn btn-danger btn-sm" data-toggle="modal" data-target="#modal-reject{$row['id']}" data-placement="top" title="驳回">驳回</a>
{/if} {/if}
{/if} {/if}
<a class="btn btn-success btn-sm" href="{php echo web_url('member/campusActivities/enrollList',array('activities_id' => $row['id'],'active' => 3));}" title="">报名记录</a>
<a class="btn btn-primary btn-sm" href="{php echo web_url('member/campusActivities/edit',array('id' => $row['id']));}" title="">编辑</a> <a class="btn btn-primary btn-sm" href="{php echo web_url('member/campusActivities/edit',array('id' => $row['id']));}" title="">编辑</a>
<a class="btn btn-danger btn-sm" href="#" onclick="deleteInfo(this,{php echo $row['id'];},{php echo $row['status'];})" title="">删除</a> <a class="btn btn-danger btn-sm" href="#" onclick="deleteInfo(this,{php echo $row['id'];},{php echo $row['status'];})" title="">删除</a>
</td> </td>

6
addons/weliam_smartcity/web/controller/agentset/diyForm.ctrl.php

@ -23,11 +23,14 @@ class DiyForm_WeliamController{
if(is_store()) $where .= " AND a.sid = {$_W['storeid']} "; if(is_store()) $where .= " AND a.sid = {$_W['storeid']} ";
if($title) $where .= " AND a.title LIKE '%{$title}%'"; if($title) $where .= " AND a.title LIKE '%{$title}%'";
//列表信息获取 //列表信息获取
$field = "a.id,a.title,a.create_time,a.update_time,b.storename"; $field = "a.id,a.title,a.create_time,a.update_time,a.template_type,b.storename";
$sql = "SELECT {$field} FROM ".tablename(PDO_NAME."diyform") $sql = "SELECT {$field} FROM ".tablename(PDO_NAME."diyform")
." as a LEFT JOIN ".tablename(PDO_NAME."merchantdata") ." as a LEFT JOIN ".tablename(PDO_NAME."merchantdata")
." as b ON a.sid = b.id {$where}"; ." as b ON a.sid = b.id {$where}";
$list = pdo_fetchall($sql." ORDER BY a.update_time DESC,a.create_time DESC limit {$pageStart},{$pageIndex}"); $list = pdo_fetchall($sql." ORDER BY a.update_time DESC,a.create_time DESC limit {$pageStart},{$pageIndex}");
foreach ($list as &$itemVal) {
$itemVal['template_type_title'] = FormTemplate::$template_type[$itemVal['template_type']];
}
//总数信息获取 //总数信息获取
$countSql = str_replace($field,"count(*)",$sql); $countSql = str_replace($field,"count(*)",$sql);
$total = pdo_fetchcolumn($countSql); $total = pdo_fetchcolumn($countSql);
@ -64,6 +67,7 @@ class DiyForm_WeliamController{
//信息拼装 //信息拼装
$params = [ $params = [
'title' => $data['base']['title'] ? : '自定义表单', 'title' => $data['base']['title'] ? : '自定义表单',
'template_type' => $data['base']['template_type'] ? : 1,
'info' => base64_encode(json_encode($data,JSON_UNESCAPED_UNICODE)), 'info' => base64_encode(json_encode($data,JSON_UNESCAPED_UNICODE)),
'update_time' => time() 'update_time' => time()
]; ];

1
addons/weliam_smartcity/web/view/default/agentset/diy_form/edit.html

@ -475,6 +475,7 @@
base:{ base:{
title: '自定义表单',//表单名称 title: '自定义表单',//表单名称
align: 'left', align: 'left',
template_type: 1,
}, },
list:{}, list:{},
}, },

14
addons/weliam_smartcity/web/view/default/agentset/diy_form/list.html

@ -33,7 +33,8 @@
<tr> <tr>
<th class="text-center" width="5%">ID</th> <th class="text-center" width="5%">ID</th>
<th class="text-center" width="20%">标题</th> <th class="text-center" width="20%">标题</th>
<th class="text-center" width="20%">所属商户</th> <!-- <th class="text-center" width="20%">所属商户</th>-->
<th class="text-center" width="20%">模板类型</th>
<th class="text-center" width="20%">创建时间</th> <th class="text-center" width="20%">创建时间</th>
<th class="text-center" width="20%">最近编辑</th> <th class="text-center" width="20%">最近编辑</th>
<th class="text-center" width="35%">操作</th> <th class="text-center" width="35%">操作</th>
@ -46,9 +47,16 @@
<td>{$item['title']}</td> <td>{$item['title']}</td>
<td> <td>
{if $item['storename']} {if $item['storename']}
<label class="label label-primary">{$item['storename']}</label> <!-- <label class="label label-primary">{$item['storename']}</label>-->
{else} {else}
<label class="label label-info">当前代理</label> <!-- <label class="label label-info">当前代理</label>-->
{/if}
{if $item['template_type'] == 1}
<label class="label label-primary">{$item['template_type_title']}</label>
{elseif $item['template_type'] == 2}
<label class="label label-info">{$item['template_type_title']}</label>
{elseif $item['template_type'] == 3}
<label class="label label-success">{$item['template_type_title']}</label>
{/if} {/if}
</td> </td>
<td>{php echo date("Y-m-d H:i:s",$item['create_time']);}</td> <td>{php echo date("Y-m-d H:i:s",$item['create_time']);}</td>

204
addons/weliam_smartcity/web/view/default/agentset/diy_form/template_config.html

@ -9,6 +9,18 @@
</div> </div>
</div> </div>
</div> </div>
<div class="form-group">
<div class="col-sm-2 control-label">模板类型</div>
<div class="col-sm-9">
<div class="form-group">
<select v-model="params.template_type" name="template_type" class="form-control">
<option value="1">校园活动</option>
<!-- <option value="2">培训体验课</option>-->
<!-- <option value="3">平台活动</option>-->
</select>
</div>
</div>
</div>
<div class="form-group"> <div class="form-group">
<div class="col-sm-2 control-label">标题对齐</div> <div class="col-sm-2 control-label">标题对齐</div>
<div class="col-sm-9"> <div class="col-sm-9">
@ -64,18 +76,18 @@
</label> </label>
</div> </div>
</div> </div>
<div class="form-group" v-if="attflag"> <!-- <div class="form-group" v-if="attflag">-->
<div class="col-sm-2 control-label">认证内容显示</div> <!-- <div class="col-sm-2 control-label">认证内容显示</div>-->
<div class="col-sm-9"> <!-- <div class="col-sm-9">-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="info.att_show" value="0"> 显示 <!-- <input type="radio" v-model="info.att_show" value="0"> 显示-->
</label> <!-- </label>-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="info.att_show" value="1"> 隐藏 <!-- <input type="radio" v-model="info.att_show" value="1"> 隐藏-->
</label> <!-- </label>-->
<span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span> <!-- <span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> </div>
</template> </template>
<!-- 文本域 --> <!-- 文本域 -->
@ -126,18 +138,18 @@
</label> </label>
</div> </div>
</div> </div>
<div class="form-group" v-if="attflag"> <!-- <div class="form-group" v-if="attflag">-->
<div class="col-sm-2 control-label">认证内容显示</div> <!-- <div class="col-sm-2 control-label">认证内容显示</div>-->
<div class="col-sm-9"> <!-- <div class="col-sm-9">-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="0"> 显示 <!-- <input type="radio" v-model="params.att_show" value="0"> 显示-->
</label> <!-- </label>-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="1"> 隐藏 <!-- <input type="radio" v-model="params.att_show" value="1"> 隐藏-->
</label> <!-- </label>-->
<span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span> <!-- <span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> </div>
</template> </template>
<!-- 下拉框 --> <!-- 下拉框 -->
@ -165,18 +177,18 @@
</div> </div>
</div> </div>
</div> </div>
<div class="form-group" v-if="attflag"> <!-- <div class="form-group" v-if="attflag">-->
<div class="col-sm-2 control-label">认证内容显示</div> <!-- <div class="col-sm-2 control-label">认证内容显示</div>-->
<div class="col-sm-9"> <!-- <div class="col-sm-9">-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="0"> 显示 <!-- <input type="radio" v-model="params.att_show" value="0"> 显示-->
</label> <!-- </label>-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="1"> 隐藏 <!-- <input type="radio" v-model="params.att_show" value="1"> 隐藏-->
</label> <!-- </label>-->
<span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span> <!-- <span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> </div>
</template> </template>
<!-- 多选框 --> <!-- 多选框 -->
@ -204,18 +216,18 @@
</div> </div>
</div> </div>
</div> </div>
<div class="form-group" v-if="attflag"> <!-- <div class="form-group" v-if="attflag">-->
<div class="col-sm-2 control-label">认证内容显示</div> <!-- <div class="col-sm-2 control-label">认证内容显示</div>-->
<div class="col-sm-9"> <!-- <div class="col-sm-9">-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="0"> 显示 <!-- <input type="radio" v-model="params.att_show" value="0"> 显示-->
</label> <!-- </label>-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="1"> 隐藏 <!-- <input type="radio" v-model="params.att_show" value="1"> 隐藏-->
</label> <!-- </label>-->
<span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span> <!-- <span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> </div>
</template> </template>
<!-- 图片 --> <!-- 图片 -->
@ -241,18 +253,18 @@
</div> </div>
</div> </div>
</div> </div>
<div class="form-group" v-if="attflag"> <!-- <div class="form-group" v-if="attflag">-->
<div class="col-sm-2 control-label">认证内容显示</div> <!-- <div class="col-sm-2 control-label">认证内容显示</div>-->
<div class="col-sm-9"> <!-- <div class="col-sm-9">-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="0"> 显示 <!-- <input type="radio" v-model="params.att_show" value="0"> 显示-->
</label> <!-- </label>-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="1"> 隐藏 <!-- <input type="radio" v-model="params.att_show" value="1"> 隐藏-->
</label> <!-- </label>-->
<span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span> <!-- <span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
<div class="form-group"> <div class="form-group">
<div class="col-sm-2 control-label">是否必传</div> <div class="col-sm-2 control-label">是否必传</div>
<div class="col-sm-9"> <div class="col-sm-9">
@ -300,18 +312,18 @@
</div> </div>
</div> </div>
</div> </div>
<div class="form-group" v-if="attflag"> <!-- <div class="form-group" v-if="attflag">-->
<div class="col-sm-2 control-label">认证内容显示</div> <!-- <div class="col-sm-2 control-label">认证内容显示</div>-->
<div class="col-sm-9"> <!-- <div class="col-sm-9">-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="0"> 显示 <!-- <input type="radio" v-model="params.att_show" value="0"> 显示-->
</label> <!-- </label>-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="1"> 隐藏 <!-- <input type="radio" v-model="params.att_show" value="1"> 隐藏-->
</label> <!-- </label>-->
<span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span> <!-- <span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> </div>
</template> </template>
<!-- 时间范围 --> <!-- 时间范围 -->
@ -368,18 +380,18 @@
</div> </div>
</div> </div>
</div> </div>
<div class="form-group" v-if="attflag"> <!-- <div class="form-group" v-if="attflag">-->
<div class="col-sm-2 control-label">认证内容显示</div> <!-- <div class="col-sm-2 control-label">认证内容显示</div>-->
<div class="col-sm-9"> <!-- <div class="col-sm-9">-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="0"> 显示 <!-- <input type="radio" v-model="params.att_show" value="0"> 显示-->
</label> <!-- </label>-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="1"> 隐藏 <!-- <input type="radio" v-model="params.att_show" value="1"> 隐藏-->
</label> <!-- </label>-->
<span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span> <!-- <span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> </div>
</template> </template>
<!-- 城市 --> <!-- 城市 -->
@ -407,17 +419,17 @@
</label> </label>
</div> </div>
</div> </div>
<div class="form-group" v-if="attflag"> <!-- <div class="form-group" v-if="attflag">-->
<div class="col-sm-2 control-label">认证内容显示</div> <!-- <div class="col-sm-2 control-label">认证内容显示</div>-->
<div class="col-sm-9"> <!-- <div class="col-sm-9">-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="0"> 显示 <!-- <input type="radio" v-model="params.att_show" value="0"> 显示-->
</label> <!-- </label>-->
<label class="radio-inline"> <!-- <label class="radio-inline">-->
<input type="radio" v-model="params.att_show" value="1"> 隐藏 <!-- <input type="radio" v-model="params.att_show" value="1"> 隐藏-->
</label> <!-- </label>-->
<span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span> <!-- <span class="help-block">当此表单作为商户认证表单时,是否显示把此项内容显示在商户资质中。</span>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> </div>
</template> </template>
Loading…
Cancel
Save