Commit 3e29d018 by Sweet Zhang

文件更新

parent 1ac68250
......@@ -14,7 +14,49 @@
</component>
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
<component name="FileEditorManager">
<leaf />
<leaf>
<file leaf-file-name="index.html" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-536">
<caret line="15" column="6" lean-forward="true" selection-start-line="15" selection-start-column="6" selection-end-line="15" selection-end-column="6" />
<folding>
<element signature="n#style#0;n#table#0;n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="base.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/js/base.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="364">
<caret line="14" column="24" lean-forward="true" selection-start-line="14" selection-start-column="24" selection-end-line="14" selection-end-column="24" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="style.css" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/css/style.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="426">
<caret line="53" column="27" lean-forward="true" selection-start-line="53" selection-start-column="27" selection-end-line="53" selection-end-column="27" />
<folding />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/index.html" />
<option value="$PROJECT_DIR$/js/base.js" />
</list>
</option>
</component>
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
......@@ -43,7 +85,6 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<PATH>
......@@ -70,8 +111,23 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="occupationQry" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="occupationQry" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="css" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane id="Scope" />
<pane id="Scratches" />
</panes>
</component>
......@@ -111,30 +167,32 @@
<option name="presentableId" value="Default" />
<updated>1553498376977</updated>
<workItem from="1553498378342" duration="82000" />
<workItem from="1554257124712" duration="164000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="82000" />
<option name="totallyTimeSpent" value="246000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.12908325" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.12908325" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
</layout>
</component>
......@@ -149,18 +207,29 @@
<watches-manager />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-536">
<caret line="15" column="6" lean-forward="true" selection-start-line="15" selection-start-column="6" selection-end-line="15" selection-end-column="6" />
<folding>
<element signature="n#style#0;n#table#0;n#div#1;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/js/base.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<state relative-caret-position="364">
<caret line="14" column="24" lean-forward="true" selection-start-line="14" selection-start-column="24" selection-end-line="14" selection-end-column="24" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/index.html">
<entry file="file://$PROJECT_DIR$/css/style.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-198">
<caret line="26" column="70" lean-forward="false" selection-start-line="26" selection-start-column="70" selection-end-line="26" selection-end-column="70" />
<state relative-caret-position="426">
<caret line="53" column="27" lean-forward="true" selection-start-line="53" selection-start-column="27" selection-end-line="53" selection-end-column="27" />
<folding />
</state>
</provider>
......
name String 姓名
idTypeId Long 证件类型《通用代码7.0》
idNo String 证件号码
birthdate String 出生年月
gender Integer 性别
mobileNo String 手机号码
wechatId String 微信号
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<title>职业类别查询</title>
<link rel="stylesheet" href="./css/bootstrap.min.css">
<!-- <link rel="stylesheet" href="./css/style.css"> -->
<link rel="shortcut icon" href="https://www.ydinsurance.cn/wp-content/uploads/2018/04/favicon.gif" />
</head>
<body>
<div class="container">
<div class="wrapper">
<h1 class="row title">
<div class="col-md-4"> <img src="images/ydinsurance_logo.jpg" /></div>
<div class="col-md-8"> <span> 职业类别查询</span> </div>
</h1>
<div class="condition row">
<div class='title2'>查询条件</div>
<div class="content">
<div class="category">
<select class="form-control" id="chose" value="null">
</select>
<select class="form-control" id="choseTwo" class="disabled" disabled>
</select>
</div>
<div class="search">
<input type="text" class="form-control" placeholder="请输入职业名称"/>
<div class="reset">重置</div>
</div>
<div class="searchBtn"></div>
</div>
<div class="total">查询结果:共<span>0</span></div>
</div>
<div class="table-responsive">
<table id='table' border="1" cellspacing="0" style="display: none;" class="table text-nowrap">
<thead>
<tr>
<th>行业</th>
<th>职业类别</th>
<th>职业名称</th>
<th>职业代码</th>
<th>职业分类</th>
</tr>
</thead>
<tbody>
<span [ngSwitch]="upDate.customerIdTypeId">
<input type="text" class="form-control" *ngSwitchCase="1" readonly value="身份证">
<input type="text" class="form-control" *ngSwitchCase="2" readonly value="护照">
<input type="text" class="form-control" *ngSwitchCase="3" readonly value="港澳通行证">
<input type="text" class="form-control" *ngSwitchCase="4" readonly value="台胞证">
<input type="text" class="form-control" *ngSwitchCase="5" readonly value="香港身份证">
<input type="text" class="form-control" *ngSwitchCase="9" readonly value="其他">
<input type="text" class="form-control" *ngSwitchCase="20" readonly value="统一社会信用代码">
<input type="text" class="form-control" *ngSwitchDefault readonly value="">
</span>
</tbody>
</table>
</div>
</div>
<div class="noResult" style="display: none;text-align: center">无搜索结果</div>
</div>
<span [ngSwitch]="cus.customer['idTypeId']">
<span *ngSwitchCase="1">身份证</span>
<span *ngSwitchCase="2">护照</span>
<span *ngSwitchCase="3">港澳通行证</span>
<span *ngSwitchCase="4">台胞证</span>
<span *ngSwitchCase="5">香港身份证</span>
<span *ngSwitchCase="9">其他</span>
<span *ngSwitchCase="20">统一社会信用代码</span>
<span *ngSwitchDefault>/</span>
</span>
requestor
customer
payTo
report_unpaid ---record-payment
\ No newline at end of file
<script src="./js/jquery.min.js"></script>
<script src="./js/bootstrap.min.js"></script>
<script src="./js/base.js"></script>
</body>
</html>
\ No newline at end of file
$(function(){
var api = 'https://mdev.zuihuibi.cn/api';
//初始化参?
var api = 'https://m.zuihuibi.cn/api';
//初始化参
var param = {"insurerId":2,"accurateOccupationFlag":1,"industryId":null,"occupationTypeId":null,"occupationName":null}
var optionListOrigin = "<option value='null' disabled selected hidden>请选择行业</option>"
var optionListOriginTwo = "<option value='null' disabled selected hidden>请选择职业类别</option>"
var industryList = '';
var occupationTypesList = ''
function getToken(){
$.ajax({
type:"POST",
url:api + '/authorize/obtainToken',
contentType: "application/json",
data:JSON.stringify({ticket: 'job'}),
async:false,
success:function(res){
token = res.data.token
}
})
return token;
}
var token = getToken()
//初始化职业类别为请选择
$("#choseTwo").html(optionListOriginTwo)
getData();
......@@ -15,22 +30,23 @@ $(function(){
url:api+'/metadata/occupationQry',
contentType: "application/json",
data:JSON.stringify(param),
headers:{"X-Authorization":token},
success:function(res){
if(res.success){
var industryData = res.data.industry;
for(var i=0;i<industryData.length;i++){
for(var i=0;i<industryData.length;i++){
industryList += "<option value="+industryData[i].industryId+">"+industryData[i].industryName+"</option>"
}
$("#chose").html(optionListOrigin+industryList)
$("#chose").html(optionListOrigin+industryList)
}
}
})
}
$("#chose").change(function(){
$("#chose").attr("value",this.value)
//给行业赋?
//给行业赋值
param.industryId= this.value;
param.occupationTypeId=null;
param.occupationName=null;
......@@ -39,27 +55,28 @@ $(function(){
if(this.value !=null){
$("#choseTwo").removeAttr("disabled");
$("#choseTwo").removeClass("disabled");
$.ajax({
type:"POST",
url:api+'/metadata/occupationQry',
contentType: "application/json",
data:JSON.stringify(param),
success:function(res){
if(res.success){
if(res.data.industry.length>0){
var getoccupationTypesData = res.data.industry[0].occupationTypes;
occupationTypesList='';
for(var i=0;i<getoccupationTypesData.length;i++){
occupationTypesList += "<option value="+getoccupationTypesData[i].occupationTypeId+">"+getoccupationTypesData[i].occupationTypeName+"</option>"
}
$("#choseTwo").html(optionListOriginTwo+occupationTypesList)
}else{
$("#choseTwo").html(optionListOriginTwo)
$.ajax({
type:"POST",
url:api+'/metadata/occupationQry',
contentType: "application/json",
data:JSON.stringify(param),
headers:{"X-Authorization":token},
success:function(res){
if(res.success){
if(res.data.industry.length>0){
var getoccupationTypesData = res.data.industry[0].occupationTypes;
occupationTypesList='';
for(var i=0;i<getoccupationTypesData.length;i++){
occupationTypesList += "<option value="+getoccupationTypesData[i].occupationTypeId+">"+getoccupationTypesData[i].occupationTypeName+"</option>"
}
}
$("#choseTwo").html(optionListOriginTwo+occupationTypesList)
}else{
$("#choseTwo").html(optionListOriginTwo)
}
}
})
}
})
}
}else{
param.occupationTypeId=null;
......@@ -68,7 +85,7 @@ $(function(){
}
})
//给职业类别赋?
//给职业类别赋
$("#choseTwo").change(function(){
$("#choseTwo").attr("value",this.value)
param.occupationTypeId= this.value;
......@@ -86,6 +103,7 @@ $(function(){
url:api+'/metadata/occupationQry',
contentType: "application/json",
data:JSON.stringify(param),
headers:{"X-Authorization":token},
success:function(res){
if(res.success){
$("#table").show();
......@@ -97,11 +115,11 @@ $(function(){
for(var i=0;i<occupationTypesData.length;i++){
for(var j=0;j<occupationTypesData[i].occupations.length;j++){
contentList +="<tr><td>"
+industryName+"</td><td>"
+occupationTypesData[i].occupationTypeName+"</td><td>"
+occupationTypesData[i].occupations[j].occupationName+"</td><td>"
+occupationTypesData[i].occupations[j].occupationCode+"</td><td>"
+occupationTypesData[i].occupations[j].occupationClass+"</td></tr>"
+industryName+"</td><td>"
+occupationTypesData[i].occupationTypeName+"</td><td>"
+occupationTypesData[i].occupations[j].occupationName+"</td><td>"
+occupationTypesData[i].occupations[j].occupationCode+"</td><td>"
+occupationTypesData[i].occupations[j].occupationClass+"</td></tr>"
}
}
}else{
......@@ -114,16 +132,16 @@ $(function(){
for(var j=0;j<allData[i].occupationTypes.length;j++){
for(var k=0;k<allData[i].occupationTypes[j].occupations.length;k++){
contentList +="<tr><td>"
+allData[i].industryName+"</td><td>"
+allData[i].occupationTypes[j].occupationTypeName+"</td><td>"
+allData[i].occupationTypes[j].occupations[k].occupationName+"</td><td>"
+allData[i].occupationTypes[j].occupations[k].occupationCode+"</td><td>"
+allData[i].occupationTypes[j].occupations[k].occupationClass+"</td></tr>"
+allData[i].industryName+"</td><td>"
+allData[i].occupationTypes[j].occupationTypeName+"</td><td>"
+allData[i].occupationTypes[j].occupations[k].occupationName+"</td><td>"
+allData[i].occupationTypes[j].occupations[k].occupationCode+"</td><td>"
+allData[i].occupationTypes[j].occupations[k].occupationClass+"</td></tr>"
}
}
}
}
$("#table tbody").html(contentList)
$('.total span').html(res.data.industryNum)
}else{
......@@ -147,19 +165,19 @@ $(function(){
})
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) {
loadStyle('./css/mstyle.css')
} else {
loadStyle('./css/mstyle.css')
} else {
loadStyle('./css/style.css');
}
}
function loadStyle(url){
var link = document.createElement('link');
link.type = 'text/css';
link.rel = 'stylesheet';
link.href = url;
var head = document.getElementsByTagName('head')[0];
head.appendChild(link);
}
function loadStyle(url){
var link = document.createElement('link');
link.type = 'text/css';
link.rel = 'stylesheet';
link.href = url;
var head = document.getElementsByTagName('head')[0];
head.appendChild(link);
}
})
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment