You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
158 lines
6.4 KiB
HTML
158 lines
6.4 KiB
HTML
<extend name="Public/base" />
|
|
<block name="css">
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/admin_table.css" media="all">
|
|
<link rel="stylesheet" type="text/css" href="__STATIC__/webuploader/webuploader.css" media="all">
|
|
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
|
|
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
|
|
<style>
|
|
#form .txt_area.download_url {width:400px;}
|
|
.tabcon1711 .table_radio2 .table_btn {width:215px;}
|
|
</style>
|
|
</block>
|
|
<block name="body">
|
|
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
|
|
|
|
<script src="__STATIC__/md5.js" type="text/javascript" charset="utf-8"></script>
|
|
<script type="text/javascript" src="__STATIC__/webuploader/webuploader.js"></script>
|
|
<script src="__STATIC__/layer/layer.js" type="text/javascript"></script>
|
|
<script type="text/javascript" src="__STATIC__/layer/extend/layer.ext.js"></script>
|
|
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
|
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"charset="UTF-8"></script>
|
|
<script src="__STATIC__/juicer-min.js" type="text/javascript"></script>
|
|
<script src="__STATIC__/czinputcheck.js?v=1.29" type="text/javascript"></script>
|
|
<style>
|
|
.coin-detail{
|
|
display: block;
|
|
float: left;
|
|
text-align: center;
|
|
line-height: 35px;
|
|
width: 100px;
|
|
height: 35px;
|
|
font-size: 14px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
</style>
|
|
|
|
<!-- 标签页导航 -->
|
|
<div class="tab-wrap">
|
|
<div class="cf main-place top_nav_list navtab_list">
|
|
<h3 class="page_title">业务配置</h3>
|
|
</div>
|
|
|
|
<div class="tab-content tabcon1711">
|
|
<!-- 表单 -->
|
|
<!-- <form id="form" action="{:U('add')}" method="post" class="form-horizontal"> -->
|
|
<!-- 基础 -->
|
|
<div id="tab1" class="tab-pane in tab1 ">
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr>
|
|
<td class="l">联盟分发订单归属:</td>
|
|
<td class="r" >
|
|
<div class="input-list input-list-server search_label_rehab" style="margin:0;">
|
|
<select id="admin_type" name="admin_type" class="select_gallery" style="width: 215px;">
|
|
<option value="1" <if condition="$old_change_promote_account eq 1"> selected </if>>无</option>
|
|
<option value="2" <if condition="$old_change_promote_account neq 1"> selected </if>>市场专员</option>
|
|
</select>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="l">聚合平台订单归属:</td>
|
|
<td class="r" >
|
|
<div class="input-list input-list-server search_label_rehab" style="margin:0;">
|
|
<select id="together_type" name="together_type" class="select_gallery" style="width: 215px;">
|
|
<option value="1">无</option>
|
|
<option value="2">市场专员</option>
|
|
</select>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table border="1" style="width: 600px;text-align: center;" cellspacing="0" cellpadding="0" id="docShow">
|
|
|
|
</table>
|
|
</div>
|
|
<div class="form-item cf" style="margin-bottom: 40px;">
|
|
<button class="submit_btn " id="submit" style="margin-left:210px;">
|
|
保存
|
|
</button>
|
|
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:history.back(-1);" >
|
|
返回
|
|
</a>
|
|
</div>
|
|
<!-- </form> -->
|
|
</div>
|
|
</div>
|
|
|
|
</block>
|
|
|
|
<block name="script">
|
|
<script type="text/javascript">
|
|
//导航高亮
|
|
highlight_subnav("{:U('PromoteCompany/promoteDataConfigIndex')}");
|
|
$('#submit').click(function(){
|
|
$('#form').submit();
|
|
});
|
|
</script>
|
|
<script>
|
|
var doc = [];
|
|
function addFile(info) {
|
|
doc.push(info);
|
|
layer.closeAll();
|
|
PROMOTE.juicerFun();
|
|
// window.parent.addFile(info);
|
|
}
|
|
$('#contact_begin').datetimepicker({
|
|
format: 'yyyy-mm-dd',
|
|
language: "zh-CN",
|
|
minView: 2,
|
|
autoclose: true
|
|
});
|
|
|
|
$('#datetimepicker').datetimepicker({
|
|
format: 'yyyy-mm-dd',
|
|
language: "zh-CN",
|
|
minView: 2,
|
|
autoclose: true,
|
|
pickerPosition: 'bottom-left'
|
|
})
|
|
$(".coin-detail").click(function () {
|
|
var url = $(this).data('url');
|
|
var title = '文档添加';
|
|
layer.open({
|
|
type: 2,
|
|
title: title,
|
|
shadeClose: true,
|
|
shade: 0.8,
|
|
area: ['40%', '60%'],
|
|
content: url
|
|
});
|
|
});
|
|
$("#submit").on("click",function(){
|
|
var cres = {admin_type:$("#admin_type").val(),together_type:$("#together_type").val()};
|
|
|
|
layer.confirm('是否确认更改业务配置',{title:''} , function () {
|
|
|
|
$.ajax({
|
|
url: "{:U('PromoteCompany/promoteDataConfigIndex')}",
|
|
type: "post",
|
|
data: cres,
|
|
dataType: "json",
|
|
success: function (data) {
|
|
layer.msg(data.info);
|
|
window.location.reload();
|
|
},
|
|
error: function (e) {
|
|
|
|
}
|
|
});
|
|
});
|
|
|
|
})
|
|
|
|
</script>
|
|
</block>
|