切换导航条
此项目
正在载入...
登录
root
/
chengxiang
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王晓刚
6 years ago
提交
90199400ec4e5e97aea966b1ac2c913175b70235
1 个父辈
a2fcaaba
1 个管道 的构建
通过
耗费 2 秒
代理人注册
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
157 行增加
和
24 行删除
app/admin/controller/OrderController.php
public/themes/admin_simpleboot3/admin/order/edit.html
app/admin/controller/OrderController.php
查看文件 @
9019940
...
...
@@ -96,8 +96,6 @@ class OrderController extends AdminBaseController
->
find
();
$subjoin
=
Db
::
name
(
'subjoin_insurance'
)
->
where
(
'collocation_id'
,
$id
)
->
select
()
->
toArray
();
$data
[
'subjoin'
]
=
$subjoin
;
dump
(
$data
);
exit
();
$this
->
assign
([
'data'
=>
$data
,
]);
...
...
public/themes/admin_simpleboot3/admin/order/edit.html
查看文件 @
9019940
...
...
@@ -8,49 +8,62 @@
</ul>
<form
action=
"{:url('Order/edit')}"
method=
"post"
class=
"form-horizontal js-ajax-form margin-top-20"
>
<div
class=
"row"
>
<div
class=
"col-md-
9
"
>
<div
class=
"col-md-
6
"
>
<table
class=
"table table-bordered"
>
<tr>
<th
width=
"100"
>
用户昵称
</th>
<th
width=
"100"
>
保险公司
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
id=
"user_nickname"
value=
"{$data.user_nickname}"
placeholder=
"请输入用户昵称"
/>
<input
type=
"hidden"
name=
"id"
value=
"{$data.id}"
>
value=
"{$data.insurance_company_name}"
placeholder=
"请输入保险公司"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
姓名
</th>
<th
width=
"100"
>
产品名称
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
id=
"title"
value=
"{$data.name}"
placeholder=
"请输入姓名
"
/>
value=
"{$data.product_name}"
placeholder=
"请输入产品名称
"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
手机号
</th>
<th
width=
"100"
>
保单类型
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
id=
"phone"
value=
"{$data.phone}"
placeholder=
"请输入手机号
"
/>
value=
"<if condition='$data.insurance_type_id eq 1'>重疾<elseif condition='$data.insurance_type_id eq 2'/>人寿<elseif condition='$data.insurance_type_id eq 3'/>出行<elseif condition='$data.insurance_type_id eq 4'/>医疗<elseif condition='$data.insurance_type_id eq 5'/>理财<elseif condition='$data.insurance_type_id eq 6'/>其它</if>"
placeholder=
"请输入保单类型
"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
生日
</th>
<th
width=
"100"
>
保险金额
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
id=
"date"
value=
"{$data.date}"
placeholder=
"请输入生日
"
/>
value=
"{$data.insurance_price}"
placeholder=
"请输入保险金额
"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
身份证号
</th>
<th
width=
"100"
>
缴费方式
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
id=
"card_id"
value=
"{$data.card_id}"
placeholder=
"请输入身份证号
"
/>
value=
"{$data.pay_method_id}"
placeholder=
"请输入缴费方式
"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
公司
</th>
<th
width=
"100"
>
缴费期限
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
id=
"company"
value=
"{$data.company}"
placeholder=
"请输入公司"
/>
value=
"{$data.payment_time}"
placeholder=
"请输入缴费期限"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
期缴保费
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.pay_method_price}"
placeholder=
"请输入期缴保费"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
保障期限
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.guarantee_deadline_time}"
placeholder=
"请输入保障期限"
/>
</td>
</tr>
</table>
...
...
@@ -61,28 +74,150 @@
</div>
</div>
</div>
<div
class=
"col-md-
3
"
>
<div
class=
"col-md-
6
"
>
<table
class=
"table table-bordered"
>
<tr>
<th>
状态
</th>
<th
width=
"100"
>
保险单号
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.insurance_num}"
placeholder=
"请输入保险单号"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
投保人
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.application}"
placeholder=
"请输入投保人"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
被保人
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.insurer}"
placeholder=
"请输入被保人"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
与被保人关系
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.relation}"
placeholder=
"请输入与被保人关系"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
保险人生日
</th>
<td>
<div
class=
"radio"
>
<label><input
type=
"radio"
name=
"status"
value=
"2"
<
eq
name=
"$data.status"
value=
"2"
>
checked
</eq>
>审核通过
</label>
</div>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.insurer_birthday}"
placeholder=
"请输入保险人生日"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
投保日期
</th>
<td>
<div
class=
"radio"
>
<label><input
type=
"radio"
name=
"status"
value=
"3"
<
eq
name=
"$data.status"
value=
"3"
>
checked
</eq>
>审核未通过
</label>
</div>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.insurer_time}"
placeholder=
"请输入投保日期"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
合同生效日期
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.take_time}"
placeholder=
"请输入合同生效日期"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
保险时间
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.insure_time}"
placeholder=
"请输入保险时间"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
投保人豁免
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.remit}"
placeholder=
"请输入投保人豁免"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
备注
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.remark}"
placeholder=
"请输入备注"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
代理人姓名
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.agent_name}"
placeholder=
"请输入代理人姓名"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
代理人联系方式
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$data.agent_phone}"
placeholder=
"请输入代理人联系方式"
/>
</td>
</tr>
</table>
</div>
</div>
<div
class=
"row"
>
<foreach
name=
"$data.subjoin"
item=
"s"
>
<table
class=
"table table-bordered"
>
<tr>
<th
width=
"100"
>
产品名称
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$s.subjoin_product_name}"
placeholder=
"请输入产品名称"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
保单类型
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"<if condition='$s.insurance_type_id eq 1'>重疾<elseif condition='$s.insurance_type_id eq 2'/>人寿<elseif condition='$s.insurance_type_id eq 3'/>出行<elseif condition='$s.insurance_type_id eq 4'/>医疗<elseif condition='$s.insurance_type_id eq 5'/>理财<elseif condition='$s.insurance_type_id eq 6'/>其它</if>"
placeholder=
"请输入保单类型"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
保险金额
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$s.subjoin_price}"
placeholder=
"请输入保险金额"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
保险时间
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$s.subjoin_time}"
placeholder=
"请输入保险时间"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
缴费期限
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$s.payment_time}"
placeholder=
"请输入缴费期限"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
期缴保费
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$s.subjoin_pay_method_price}"
placeholder=
"请输入期缴保费"
/>
</td>
</tr>
<tr>
<th
width=
"100"
>
保障期限
</th>
<td>
<input
class=
"form-control"
type=
"text"
name=
""
value=
"{$s.subjoin_guarantee_deadline_time}"
placeholder=
"请输入保障期限"
/>
</td>
</tr>
</table>
</foreach>
</div>
</form>
</div>
<script
type=
"text/javascript"
src=
"__STATIC__/js/admin.js"
></script>
...
...
请
注册
或
登录
后发表评论