123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580 |
- {extend name="common/base"/}
- <!-- 主体 -->
- {block name="body"}
- <form class="layui-form p-4">
- {if condition="$id eq 0"}
- <div class="layui-form-bar">
- <h3 class="pb-3">属性设置</h3>
- </div>
- <table class="layui-table layui-table-form">
- <tr>
- <td class="layui-td-gray">可见范围</td>
- <td>
- <input type="radio" name="see_auth" value="1" title="全部" checked>
- <input type="radio" name="see_auth" value="0" title="与自己有关">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">项目状态</td>
- <td>
- <input type="radio" name="project_status" value="1" title="可见" checked>
- <input type="radio" name="project_status" value="0" title="不可见">
- </td>
- <td class="layui-td-gray">项目编号</td>
- <td>
- <input type="radio" name="project_num" value="1" title="可见" checked>
- <input type="radio" name="project_num" value="0" title="不可见">
- </td>
-
- <td class="layui-td-gray">项目名称</td>
- <td>
- <input type="radio" name="project_name" value="1" title="可见" checked>
- <input type="radio" name="project_name" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">项目周期</td>
- <td>
- <input type="radio" name="project_time" value="1" title="可见" checked>
- <input type="radio" name="project_time" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">委托单位</td>
- <td>
- <input type="radio" name="entrust_unit" value="1" title="可见" checked>
- <input type="radio" name="entrust_unit" value="0" title="不可见">
- </td>
- <td class="layui-td-gray">委托单位负责人</td>
- <td>
- <input type="radio" name="entrust_head" value="1" title="可见" checked>
- <input type="radio" name="entrust_head" value="0" title="不可见">
- </td>
-
- <td class="layui-td-gray">委托单位负责人电话</td>
- <td>
- <input type="radio" name="entrust_phone" value="1" title="可见" checked>
- <input type="radio" name="entrust_phone" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">评审单位</td>
- <td>
- <input type="radio" name="review_unit" value="1" title="可见" checked>
- <input type="radio" name="review_unit" value="0" title="不可见">
- </td>
-
- <td class="layui-td-gray">评审单位联系人</td>
- <td>
- <input type="radio" name="review_head" value="1" title="可见" checked>
- <input type="radio" name="review_head" value="0" title="不可见">
- </td>
- <td class="layui-td-gray">评审单位联系人电话</td>
- <td>
- <input type="radio" name="review_head_phone" value="1" title="可见" checked>
- <input type="radio" name="review_head_phone" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">送审单位</td>
- <td>
- <input type="radio" name="sent_review_unit" value="1" title="可见" checked>
- <input type="radio" name="sent_review_unit" value="0" title="不可见">
- </td>
-
- <td class="layui-td-gray">送审单位联系人</td>
- <td>
- <input type="radio" name="sent_review_head" value="1" title="可见" checked>
- <input type="radio" name="sent_review_head" value="0" title="不可见">
- </td>
- <td class="layui-td-gray">送审单位联系人电话</td>
- <td>
- <input type="radio" name="sent_review_phone" value="1" title="可见" checked>
- <input type="radio" name="sent_review_phone" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">施工单位</td>
- <td>
- <input type="radio" name="construction_unit" value="1" title="可见" checked>
- <input type="radio" name="construction_unit" value="0" title="不可见">
- </td>
-
- <td class="layui-td-gray">施工单位联系人</td>
- <td>
- <input type="radio" name="construction_head" value="1" title="可见" checked>
- <input type="radio" name="construction_head" value="0" title="不可见">
- </td>
- <td class="layui-td-gray">施工单位联系人电话s</td>
- <td>
- <input type="radio" name="construction_phone" value="1" title="可见" checked>
- <input type="radio" name="construction_phone" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">项目规模</td>
- <td>
- <input type="radio" name="project_scale" value="1" title="可见" checked>
- <input type="radio" name="project_scale" value="0" title="不可见">
- </td>
-
- <td class="layui-td-gray">项目区域</td>
- <td>
- <input type="radio" name="project_region" value="1" title="可见" checked>
- <input type="radio" name="project_region" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">工程类别</td>
- <td>
- <input type="radio" name="engineering_category" value="1" title="可见" checked>
- <input type="radio" name="engineering_category" value="0" title="不可见">
- </td>
-
- <td class="layui-td-gray">工程类型</td>
- <td>
- <input type="radio" name="engineering_type" value="1" title="可见" checked>
- <input type="radio" name="engineering_type" value="0" title="不可见">
- </td>
- <td class="layui-td-gray">财政性质</td>
- <td>
- <input type="radio" name="fiscal_nature" value="1" title="可见" checked>
- <input type="radio" name="fiscal_nature" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">送审服务费</td>
- <td>
- <input type="radio" name="sent_review_cost" value="1" title="可见" checked>
- <input type="radio" name="sent_review_cost" value="0" title="不可见">
- </td>
-
- <td class="layui-td-gray">编制金额</td>
- <td>
- <input type="radio" name="preparation_amount" value="1" title="可见" checked>
- <input type="radio" name="preparation_amount" value="0" title="不可见">
- </td>
- <td class="layui-td-gray">送审金额</td>
- <td>
- <input type="radio" name="sent_review_amount" value="1" title="可见" checked>
- <input type="radio" name="sent_review_amount" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">送审单位承担审核费</td>
- <td>
- <input type="radio" name="sent_review_approver_amount" value="1" title="可见" checked >
- <input type="radio" name="sent_review_approver_amount" value="0" title="不可见" >
- </td>
- <td class="layui-td-gray">施工单位负责核减超5%评审费部分</td>
- <td>
- <input type="radio" name="construction_approver_amount" value="1" title="可见" checked>
- <input type="radio" name="construction_approver_amount" value="0" title="不可见" >
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">审定金额</td>
- <td>
- <input type="radio" name="authorize_amount" value="1" title="可见" checked>
- <input type="radio" name="authorize_amount" value="0" title="不可见">
- </td>
-
- <td class="layui-td-gray">审增减额</td>
- <td>
- <input type="radio" name="review_add_reduce_amount" value="1" title="可见" checked>
- <input type="radio" name="review_add_reduce_amount" value="0" title="不可见">
- </td>
- <td class="layui-td-gray">审增减率</td>
- <td>
- <input type="radio" name="review_add_reduce_rate" value="1" title="可见" checked>
- <input type="radio" name="review_add_reduce_rate" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">报告时间</td>
- <td>
- <input type="radio" name="report_time" value="1" title="可见" checked>
- <input type="radio" name="report_time" value="0" title="不可见">
- </td>
-
- <td class="layui-td-gray">收费标准</td>
- <td>
- <input type="radio" name="charge_standard" value="1" title="可见" checked>
- <input type="radio" name="charge_standard" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">开票金额</td>
- <td>
- <input type="radio" name="invoicing__amount" value="1" title="可见" checked>
- <input type="radio" name="invoicing__amount" value="0" title="不可见">
- </td>
- <td class="layui-td-gray">开票编号</td>
- <td>
- <input type="radio" name="invoicing__num" value="1" title="可见" checked>
- <input type="radio" name="invoicing__num" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">操作负责人</td>
- <td>
- <input type="radio" name="operate_name" value="1" title="可见" checked>
- <input type="radio" name="operate_name" value="0" title="不可见">
- </td>
-
- <td class="layui-td-gray">操作成员</td>
- <td>
- <input type="radio" name="operate_team_names" value="1" title="可见" checked>
- <input type="radio" name="operate_team_names" value="0" title="不可见">
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">项目归档日期</td>
- <td>
- <input type="radio" name="project_dead_time" value="1" title="可见" checked>
- <input type="radio" name="project_dead_time" value="0" title="不可见">
- </td>
- <td class="layui-td-gray">创建日期</td>
- <td>
- <input type="radio" name="create_time" value="1" title="可见" checked>
- <input type="radio" name="create_time" value="0" title="不可见">
- </td>
- </tr>
- </table>
-
- {else/}
- <div class="layui-form-bar">
- <h3 class="pb-3">属性设置</h3>
- <input type="hidden" name="id" value="{$id}">
- </div>
- <table class="layui-table layui-table-form">
- <tr>
- <td class="layui-td-gray">可见范围</td>
- <td>
- <input type="radio" name="see_auth" value="1" title="全部-可查看可编辑" {eq name="$field.see_auth" value="1" }checked{/eq}>
- <input type="radio" name="see_auth" value="2" title="全部-可查看" {eq name="$field.see_auth" value="2" }checked{/eq}>
- <input type="radio" name="see_auth" value="0" title="与自己有关" {eq name="$field.see_auth" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">项目状态</td>
- <td>
- <input type="radio" name="project_status" value="1" title="可见" {eq name="$field.project_status" value="1" }checked{/eq}>
- <input type="radio" name="project_status" value="0" title="不可见" {eq name="$field.project_status" value="0" }checked{/eq}>
- </td>
- <td class="layui-td-gray">项目编号</td>
- <td>
- <input type="radio" name="project_num" value="1" title="可见" {eq name="$field.project_num" value="1" }checked{/eq}>
- <input type="radio" name="project_num" value="0" title="不可见" {eq name="$field.project_num" value="0" }checked{/eq}>
- </td>
-
- <td class="layui-td-gray">项目名称</td>
- <td>
- <input type="radio" name="project_name" value="1" title="可见" {eq name="$field.project_name" value="1" }checked{/eq}>
- <input type="radio" name="project_name" value="0" title="不可见" {eq name="$field.project_name" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">项目周期</td>
- <td>
- <input type="radio" name="project_time" value="1" title="可见" {eq name="$field.project_time" value="1" }checked{/eq}>
- <input type="radio" name="project_time" value="0" title="不可见"{eq name="$field.project_time" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">委托单位</td>
- <td>
- <input type="radio" name="entrust_unit" value="1" title="可见" {eq name="$field.entrust_unit" value="1" }checked{/eq}>
- <input type="radio" name="entrust_unit" value="0" title="不可见" {eq name="$field.entrust_unit" value="0" }checked{/eq}>
- </td>
- <td class="layui-td-gray">委托单位负责人</td>
- <td>
- <input type="radio" name="entrust_head" value="1" title="可见" {eq name="$field.entrust_head" value="1" }checked{/eq}>
- <input type="radio" name="entrust_head" value="0" title="不可见" {eq name="$field.entrust_head" value="0" }checked{/eq}>
- </td>
-
- <td class="layui-td-gray">委托单位负责人电话</td>
- <td>
- <input type="radio" name="entrust_phone" value="1" title="可见" {eq name="$field.entrust_phone" value="1" }checked{/eq}>
- <input type="radio" name="entrust_phone" value="0" title="不可见" {eq name="$field.entrust_phone" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">评审单位</td>
- <td>
- <input type="radio" name="review_unit" value="1" title="可见" {eq name="$field.review_unit" value="1" }checked{/eq}>
- <input type="radio" name="review_unit" value="0" title="不可见" {eq name="$field.review_unit" value="0" }checked{/eq}>
- </td>
-
- <td class="layui-td-gray">评审单位联系人</td>
- <td>
- <input type="radio" name="review_head" value="1" title="可见" {eq name="$field.review_head" value="1" }checked{/eq}>
- <input type="radio" name="review_head" value="0" title="不可见" {eq name="$field.review_head" value="0" }checked{/eq}>
- </td>
- <td class="layui-td-gray">评审单位联系人电话</td>
- <td>
- <input type="radio" name="review_head_phone" value="1" title="可见" {eq name="$field.review_head_phone" value="1" }checked{/eq}>
- <input type="radio" name="review_head_phone" value="0" title="不可见" {eq name="$field.review_head_phone" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">送审单位</td>
- <td>
- <input type="radio" name="sent_review_unit" value="1" title="可见" {eq name="$field.sent_review_unit" value="1" }checked{/eq}>
- <input type="radio" name="sent_review_unit" value="0" title="不可见" {eq name="$field.sent_review_unit" value="0" }checked{/eq}>
- </td>
-
- <td class="layui-td-gray">送审单位联系人</td>
- <td>
- <input type="radio" name="sent_review_head" value="1" title="可见" {eq name="$field.sent_review_head" value="1" }checked{/eq}>
- <input type="radio" name="sent_review_head" value="0" title="不可见" {eq name="$field.sent_review_head" value="0" }checked{/eq}>
- </td>
- <td class="layui-td-gray">送审单位联系人电话</td>
- <td>
- <input type="radio" name="sent_review_phone" value="1" title="可见" {eq name="$field.sent_review_phone" value="1" }checked{/eq}>
- <input type="radio" name="sent_review_phone" value="0" title="不可见" {eq name="$field.sent_review_phone" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">施工单位</td>
- <td>
- <input type="radio" name="construction_unit" value="1" title="可见" {eq name="$field.construction_unit" value="1" }checked{/eq}>
- <input type="radio" name="construction_unit" value="0" title="不可见" {eq name="$field.construction_unit" value="0" }checked{/eq}>
- </td>
-
- <td class="layui-td-gray">施工单位联系人</td>
- <td>
- <input type="radio" name="construction_head" value="1" title="可见" {eq name="$field.construction_head" value="1" }checked{/eq}>
- <input type="radio" name="construction_head" value="0" title="不可见"{eq name="$field.construction_head" value="0" }checked{/eq}>
- </td>
- <td class="layui-td-gray">施工单位联系人电话</td>
- <td>
- <input type="radio" name="construction_phone" value="1" title="可见" {eq name="$field.construction_phone" value="1" }checked{/eq}>
- <input type="radio" name="construction_phone" value="0" title="不可见" {eq name="$field.construction_phone" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">项目规模</td>
- <td>
- <input type="radio" name="project_scale" value="1" title="可见" {eq name="$field.project_scale" value="1" }checked{/eq}>
- <input type="radio" name="project_scale" value="0" title="不可见" {eq name="$field.project_scale" value="0" }checked{/eq}>
- </td>
-
- <td class="layui-td-gray">项目区域</td>
- <td>
- <input type="radio" name="project_region" value="1" title="可见" {eq name="$field.project_region" value="1" }checked{/eq}>
- <input type="radio" name="project_region" value="0" title="不可见" {eq name="$field.project_region" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">工程类别</td>
- <td>
- <input type="radio" name="engineering_category" value="1" title="可见" {eq name="$field.engineering_category" value="1" }checked{/eq}>
- <input type="radio" name="engineering_category" value="0" title="不可见" {eq name="$field.engineering_category" value="0" }checked{/eq}>
- </td>
-
- <td class="layui-td-gray">工程类型</td>
- <td>
- <input type="radio" name="engineering_type" value="1" title="可见" {eq name="$field.engineering_type" value="1" }checked{/eq}>
- <input type="radio" name="engineering_type" value="0" title="不可见" {eq name="$field.engineering_type" value="0" }checked{/eq}>
- </td>
- <td class="layui-td-gray">财政性质</td>
- <td>
- <input type="radio" name="fiscal_nature" value="1" title="可见" {eq name="$field.fiscal_nature" value="1" }checked{/eq}>
- <input type="radio" name="fiscal_nature" value="0" title="不可见" {eq name="$field.fiscal_nature" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">送审服务费</td>
- <td>
- <input type="radio" name="sent_review_cost" value="1" title="可见" {eq name="$field.sent_review_cost" value="1" }checked{/eq}>
- <input type="radio" name="sent_review_cost" value="0" title="不可见" {eq name="$field.sent_review_cost" value="0" }checked{/eq}>
- </td>
-
- <td class="layui-td-gray">编制金额</td>
- <td>
- <input type="radio" name="preparation_amount" value="1" title="可见" {eq name="$field.preparation_amount" value="1" }checked{/eq}>
- <input type="radio" name="preparation_amount" value="0" title="不可见" {eq name="$field.preparation_amount" value="0" }checked{/eq}>
- </td>
- <td class="layui-td-gray">送审金额</td>
- <td>
- <input type="radio" name="sent_review_amount" value="1" title="可见" {eq name="$field.sent_review_amount" value="1" }checked{/eq}>
- <input type="radio" name="sent_review_amount" value="0" title="不可见" {eq name="$field.sent_review_amount" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">送审单位承担审核费</td>
- <td>
- <input type="radio" name="sent_review_approver_amount" value="1" title="可见" {eq name="$field.sent_review_approver_amount" value="1" }checked{/eq}>
- <input type="radio" name="sent_review_approver_amount" value="0" title="不可见" {eq name="$field.sent_review_approver_amount" value="0" }checked{/eq}>
- </td>
- <td class="layui-td-gray">施工单位负责核减超5%评审费部分</td>
- <td>
- <input type="radio" name="construction_approver_amount" value="1" title="可见" {eq name="$field.construction_approver_amount" value="1" }checked{/eq}>
- <input type="radio" name="construction_approver_amount" value="0" title="不可见" {eq name="$field.construction_approver_amount" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">审定金额</td>
- <td>
- <input type="radio" name="authorize_amount" value="1" title="可见" {eq name="$field.authorize_amount" value="1" }checked{/eq}>
- <input type="radio" name="authorize_amount" value="0" title="不可见" {eq name="$field.authorize_amount" value="0" }checked{/eq}>
- </td>
-
- <td class="layui-td-gray">审增减额</td>
- <td>
- <input type="radio" name="review_add_reduce_amount" value="1" title="可见" {eq name="$field.review_add_reduce_amount" value="1" }checked{/eq}>
- <input type="radio" name="review_add_reduce_amount" value="0" title="不可见" {eq name="$field.review_add_reduce_amount" value="0" }checked{/eq}>
- </td>
- <td class="layui-td-gray">审增减率</td>
- <td>
- <input type="radio" name="review_add_reduce_rate" value="1" title="可见" {eq name="$field.review_add_reduce_rate" value="1" }checked{/eq}>
- <input type="radio" name="review_add_reduce_rate" value="0" title="不可见" {eq name="$field.review_add_reduce_rate" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">报告时间</td>
- <td>
- <input type="radio" name="report_time" value="1" title="可见" {eq name="$field.report_time" value="1" }checked{/eq}>
- <input type="radio" name="report_time" value="0" title="不可见" {eq name="$field.report_time" value="0" }checked{/eq}>
- </td>
-
- <td class="layui-td-gray">收费标准</td>
- <td>
- <input type="radio" name="charge_standard" value="1" title="可见" {eq name="$field.charge_standard" value="1" }checked{/eq}>
- <input type="radio" name="charge_standard" value="0" title="不可见" {eq name="$field.charge_standard" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">开票金额</td>
- <td>
- <input type="radio" name="invoicing__amount" value="1" title="可见" {eq name="$field.invoicing__amount" value="1" }checked{/eq}>
- <input type="radio" name="invoicing__amount" value="0" title="不可见" {eq name="$field.invoicing__amount" value="0" }checked{/eq}>
- </td>
- <td class="layui-td-gray">开票编号</td>
- <td>
- <input type="radio" name="invoicing__num" value="1" title="可见" {eq name="$field.invoicing__num" value="1" }checked{/eq}>
- <input type="radio" name="invoicing__num" value="0" title="不可见" {eq name="$field.invoicing__num" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">操作负责人</td>
- <td>
- <input type="radio" name="operate_name" value="1" title="可见" {eq name="$field.operate_name" value="1" }checked{/eq}>
- <input type="radio" name="operate_name" value="0" title="不可见" {eq name="$field.operate_name" value="0" }checked{/eq}>
- </td>
-
- <td class="layui-td-gray">操作成员</td>
- <td>
- <input type="radio" name="operate_team_names" value="1" title="可见" {eq name="$field.operate_team_names" value="1" }checked{/eq}>
- <input type="radio" name="operate_team_names" value="0" title="不可见" {eq name="$field.operate_team_names" value="0" }checked{/eq}>
- </td>
- </tr>
- <tr>
- <td class="layui-td-gray">项目归档日期</td>
- <td>
- <input type="radio" name="project_dead_time" value="1" title="可见" {eq name="$field.project_dead_time" value="1" }checked{/eq}>
- <input type="radio" name="project_dead_time" value="0" title="不可见" {eq name="$field.project_dead_time" value="0" }checked{/eq}>
- </td>
- <td class="layui-td-gray">创建日期</td>
- <td>
- <input type="radio" name="create_time" value="1" title="可见" {eq name="$field.create_time" value="1" }checked{/eq}>
- <input type="radio" name="create_time" value="0" title="不可见"{eq name="$field.create_time" value="0"}checked{/eq}>
- </td>
- </tr>
- </table>
- {/if}
- <div class="py-3">
- <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="webform">保存</button>
- <button type="reset" class="layui-btn layui-btn-primary">重置</button>
- </div>
- </form>
- {/block}
- <!-- /主体 -->
- <!-- 脚本 -->
- {block name="script"}
- <script>
- const moduleInit = ['tool'];
- function gouguInit() {
- var form = layui.form,tool=layui.tool,upload = layui.upload;
- //监听提交
- form.on('submit(webform)', function (data) {
- let callback = function (e) {
- // console.log(e)
- parent.layui.field_id = e.data;
- layer.msg(e.msg);
- if (e.code == 0) {
- parent.layui.tool.close(1000);
- }
- }
- tool.post("/admin/field.fieldproprietor/add", data.field, callback);
- return false;
- });
- }
- </script>
- {/block}
- <!-- /脚本 -->
|