198 lines
7.3 KiB
Plaintext
198 lines
7.3 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_Member_company_add.aspx.cs" Inherits="Mtxfw.WebSite._Admin.Admin_Member_company_add" %>
|
||
<!DOCTYPE html>
|
||
<html>
|
||
<head id="Head1" runat="server">
|
||
<title></title>
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||
|
||
|
||
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||
<script src="/Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
|
||
<script src="/Scripts/jquery-migrate-1.1.1.min.js" type="text/javascript"></script>
|
||
<script src="/Scripts/common.js" type="text/javascript"></script>
|
||
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
|
||
|
||
<!-- Basic Styles -->
|
||
|
||
<meta name="description" content="">
|
||
<meta name="author" content="">
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||
|
||
<link rel="stylesheet" type="text/css" media="screen" href="/css/bootstrap.css">
|
||
<!--[if IE 7]>
|
||
<link rel="stylesheet" type="text/css" media="screen" href="/css/font-awesome-ie7.min.css">
|
||
<![endif]-->
|
||
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-production.css">
|
||
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-skins.css">
|
||
|
||
|
||
<link rel="stylesheet" type="text/css" media="screen" href="/css/your_style.css">
|
||
|
||
<!-- Demo purpose only: goes with demo.js, you can delete this css when designing your own WebApp -->
|
||
<link rel="stylesheet" type="text/css" media="screen" href="/css/demo.css">
|
||
|
||
|
||
<!-- FAVICONS -->
|
||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
||
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
||
|
||
|
||
<link rel="stylesheet" type="text/css" href="/css/cjadd.css?t=1">
|
||
<link href="artDialog/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
|
||
<script type="text/javascript" charset="utf-8" src="/artDialog/umeditor.config.js"></script>
|
||
<script type="text/javascript" charset="utf-8" src="/artDialog/umeditor.min.js"> </script>
|
||
<!--建议手动加在语言,避免在ie下有时因为加载语言失败导致编辑器加载失败-->
|
||
<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型,比如你在配置项目里配置的是英文,这里加载的中文,那最后就是中文-->
|
||
<script type="text/javascript" charset="utf-8" src="/artDialog/lang/zh-cn/zh-cn.js"></script>
|
||
<script type="text/javascript">
|
||
var cityID = '<%=CityID %>';
|
||
var countyID = '<%=CountyID %>';
|
||
$(document).ready(function () {
|
||
$('#Drop_Province').change(function () {//获取城市
|
||
getCity();
|
||
});
|
||
|
||
$('#Drop_City').change(function () {//获取县区
|
||
getCounty();
|
||
});
|
||
|
||
getCity();
|
||
});
|
||
|
||
function getCity() {
|
||
if ($('#Drop_Province').val() != '-1') {
|
||
$.post("/Ajax.ashx", { action: 'GetCity', ProvinceID: $('#Drop_Province').val(), cityIDs: cityID }, function (data) {
|
||
if (data != 'false') {
|
||
$('#Drop_City').html(data); getCounty();
|
||
}
|
||
});
|
||
}
|
||
}
|
||
|
||
function getCounty() {
|
||
if ($('#Drop_City').val() != '-1') {
|
||
$.post("/Ajax.ashx", { action: 'GetCounty', CityID: $('#Drop_City').val(), countyIDs: countyID }, function (data) {
|
||
if (data != 'false')
|
||
$('#Drop_County').html(data);
|
||
});
|
||
}
|
||
}
|
||
|
||
|
||
var checkForm = function () {
|
||
if ($('#Text_CompanyName').val() == '') {
|
||
alert('请输入门店名称'); return false;
|
||
}
|
||
if ($('#Drop_Province').val() == '-1') {
|
||
alert('请选择所在省份'); return false;
|
||
}
|
||
return true;
|
||
}
|
||
|
||
</script>
|
||
<script src="/artDialog/artDialog.js?skin=default" type="text/javascript"></script>
|
||
<script src="/artDialog/iframeTools.js" type="text/javascript"></script>
|
||
<script type="text/javascript">
|
||
var open = function (url) {
|
||
art.dialog.open(url, {
|
||
title: '标注地图',
|
||
width: '700px',
|
||
height: '460px',
|
||
lock: true,
|
||
id: 'dg_test34243'
|
||
});
|
||
};
|
||
</script>
|
||
</head>
|
||
<body>
|
||
<form id="Form1" runat="server">
|
||
<!-- RIBBON -->
|
||
<div id="ribbon">
|
||
|
||
<span class="ribbon-button-alignment"> <span id="refresh" class="btn btn-ribbon" data-title="refresh" rel="tooltip" data-placement="bottom" data-original-title="<i class='text-warning fa fa-warning'></i> 注意!这会重新设置小工具的排位." data-html="true" data-reset-msg="刷新网站?"><i class="fa fa-refresh"></i></span> </span>
|
||
|
||
<!-- breadcrumb -->
|
||
<ol class="breadcrumb">
|
||
<li><a href="/" target="_top">主页</a></li>
|
||
<li><a href="/Member_Index.aspx">会员中心首页</a></li>
|
||
<li><a href="/Admin_Member_config.aspx">后台管理</a></li>
|
||
<li>视频管理</li>
|
||
</ol>
|
||
<!-- end breadcrumb -->
|
||
</div>
|
||
<!-- END RIBBON -->
|
||
<!-- MAIN CONTENT -->
|
||
<div style="opacity: 1;" id="content">
|
||
<div class="frontMain">
|
||
|
||
<h1 class="title01"><span class="semi-bold"><%=TitName %></span></h1>
|
||
<div class="MainContent">
|
||
|
||
<table width="100%" class=" data_table2">
|
||
<tr>
|
||
<th width="12%">公司名称:</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_CompanyName" runat="server" Width="400px"></asp:TextBox>
|
||
<asp:HiddenField ID="Hidd_CompanyId" runat="server" />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>联系方式:</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_ContactPhone" runat="server" Width="400px"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>所属地区:</th>
|
||
<td>
|
||
<asp:DropDownList ID="Drop_Province" runat="server">
|
||
<asp:ListItem Value="-1">--省--</asp:ListItem>
|
||
</asp:DropDownList>
|
||
<select name="select2" id="Drop_City" runat="server" class="k2">
|
||
<option value="-1">--市--</option>
|
||
</select>
|
||
<select name="select2" id="Drop_County" runat="server" class="k3">
|
||
<option value="-1">--县区--</option>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>详细地址:</th>
|
||
<td>
|
||
<asp:TextBox ID="Text_CompanyAddress" runat="server" Width="400px"></asp:TextBox>
|
||
</td>
|
||
</tr>
|
||
|
||
|
||
<tr>
|
||
<th>标注地图:</th>
|
||
<td>
|
||
<a href="javascript:open('Admin_Member_business_map.aspx')">开始标注</a>
|
||
<input id="xcoo" type="hidden" runat="server" /><input id="ycoo" type="hidden" runat="server" />
|
||
</td>
|
||
</tr>
|
||
|
||
|
||
|
||
|
||
<tr><th></th>
|
||
<td>
|
||
<asp:Button ID="Btn_Insert" runat="server" Text="添加" OnClientClick="return checkForm()" CssClass="abtn" />
|
||
<asp:Button ID="Btn_Update" runat="server" Text="修改" OnClientClick="return checkForm()" CssClass="abtn" />
|
||
<input id="btn_back" type="button" value="返回" class="abtn" onclick="history.go(-1)" />
|
||
<asp:HiddenField ID="Hidd_Url" runat="server" />
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</form>
|
||
|
||
</body></html>
|