Commit 83aeb5a9 by sunchao

个人声明&合同条款待优化

parent b947e582
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
font-size: 18px; font-size: 18px;
background: #fff; background: #fff;
min-height: 100%; min-height: 100%;
padding: 10px 13px 0 13px; padding: 10px 13px 56px 13px;
select{ select{
-webkit-appearance: none; -webkit-appearance: none;
} }
......
...@@ -103,7 +103,7 @@ export class PersonalStatementComponent implements OnInit { ...@@ -103,7 +103,7 @@ export class PersonalStatementComponent implements OnInit {
}else{ }else{
personalStatements.status = 1; personalStatements.status = 1;
} }
if(personalStatements.id == '241'){ if(personalStatements.dropOptionCode == 'NO_REGISTER_SAME_TRADE'){
if(personalStatements.status == 1){ if(personalStatements.status == 1){
this.everWorkFlag = true; this.everWorkFlag = true;
//点击曾经报聘输入报聘自动获取焦点 //点击曾经报聘输入报聘自动获取焦点
...@@ -124,7 +124,7 @@ export class PersonalStatementComponent implements OnInit { ...@@ -124,7 +124,7 @@ export class PersonalStatementComponent implements OnInit {
for(let i=0;i<this.dropOptionsInfoList.length;i++){ for(let i=0;i<this.dropOptionsInfoList.length;i++){
this.dropOptionsInfoList[i]['mdDropOptionName'] = this.dropOptionsInfoList[i]['dropOptionName']; this.dropOptionsInfoList[i]['mdDropOptionName'] = this.dropOptionsInfoList[i]['dropOptionName'];
this.dropOptionsInfoList[i]['mdDropOptionId'] = this.dropOptionsInfoList[i]['id']; this.dropOptionsInfoList[i]['mdDropOptionId'] = this.dropOptionsInfoList[i]['id'];
if(this.dropOptionsInfoList[i]['id'] =='241'){ if(this.dropOptionsInfoList[i]['dropOptionCode'] =='NO_REGISTER_SAME_TRADE'){
this.dropOptionsInfoListParam.push({ this.dropOptionsInfoListParam.push({
mdDropOptionName:this.dropOptionsInfoList[i]['dropOptionName'], mdDropOptionName:this.dropOptionsInfoList[i]['dropOptionName'],
mdDropOptionId:this.dropOptionsInfoList[i]['id'], mdDropOptionId:this.dropOptionsInfoList[i]['id'],
...@@ -243,7 +243,7 @@ export class PersonalStatementComponent implements OnInit { ...@@ -243,7 +243,7 @@ export class PersonalStatementComponent implements OnInit {
for(let i=0;i<this.dropOptionsInfoList.length;i++){ for(let i=0;i<this.dropOptionsInfoList.length;i++){
this.dropOptionsInfoList[i]['dropOptionName'] = this.dropOptionsInfoList[i]['mdDropOptionName']; this.dropOptionsInfoList[i]['dropOptionName'] = this.dropOptionsInfoList[i]['mdDropOptionName'];
this.dropOptionsInfoList[i]['id'] = this.dropOptionsInfoList[i]['mdDropOptionId']; this.dropOptionsInfoList[i]['id'] = this.dropOptionsInfoList[i]['mdDropOptionId'];
if(this.dropOptionsInfoList[i]['status'] == 1 && this.dropOptionsInfoList[i]['id']== '241'){ if(this.dropOptionsInfoList[i]['status'] == 1 && this.dropOptionsInfoList[i]['dropOptionCode']== 'NO_REGISTER_SAME_TRADE'){
this.everWorkFlag = true; this.everWorkFlag = true;
this.everWork = this.dropOptionsInfoList[i]['userInput']; this.everWork = this.dropOptionsInfoList[i]['userInput'];
}else{ }else{
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
[arrow]="'horizontal'" [arrow]="'horizontal'"
[mode]="'date'" [mode]="'date'"
[minDate] ="showworkingStart" [minDate] ="showworkingStart"
[maxDate] = "maxDate"
[(ngModel)]="showworkingEnd" [(ngModel)]="showworkingEnd"
(onOk)="onOk($event,'end')" (onOk)="onOk($event,'end')"
> >
......
...@@ -70,8 +70,8 @@ ...@@ -70,8 +70,8 @@
<script src="./assets/LCalendar/LCalendar.js"></script> <script src="./assets/LCalendar/LCalendar.js"></script>
<script src="./assets/laydate/laydate.js"></script> <script src="./assets/laydate/laydate.js"></script>
<script type="text/javascript"> <script type="text/javascript">
// var api = 'https://' + window.location.host; var api = 'https://' + window.location.host;
var api = 'https://mdev.zuihuibi.cn'; // var api = 'https://mdev.zuihuibi.cn';
function getToken() { function getToken() {
$.ajax({ $.ajax({
type: "POST", type: "POST",
......
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