提交修改

pull/1/head
袁野 4 years ago
parent 87095cc97a
commit bfef05c788
  1. 28
      src/app/admin/cms/cms-category/cms-category.component.html
  2. 33
      src/app/admin/company/company-detail/company-detail.component.html
  3. 25
      src/app/admin/company/company-detail/company-detail.component.spec.ts
  4. 25
      src/app/admin/company/company-detail/company-detail.component.ts
  5. 20
      src/app/admin/company/company-edit/company-edit.component.html
  6. 19
      src/app/admin/company/company-edit/company-edit.component.ts
  7. 14
      src/app/admin/company/company-list/company-list.component.html
  8. 50
      src/app/admin/company/company-list/company-list.component.ts
  9. 2
      src/app/admin/system/system-organization/system-organization.component.html
  10. 8
      src/app/login/login.component.html
  11. 21
      src/app/services/company.service.ts
  12. 2
      src/assets/json/jobType.json

@ -66,7 +66,7 @@
</div>--> </div>-->
<div nz-col [nzSpan]="24"> <div nz-col [nzSpan]="24">
<nz-form-item nzFlex> <nz-form-item nzFlex>
<nz-form-label >单位名称</nz-form-label> <nz-form-label >公司名称</nz-form-label>
<nz-form-control> <nz-form-control>
<input nz-input style="width: 300px;" disabled="disabled" [(ngModel)]="ext1.unitName" placeholder="暂无数据" nzSize="default" /> <input nz-input style="width: 300px;" disabled="disabled" [(ngModel)]="ext1.unitName" placeholder="暂无数据" nzSize="default" />
</nz-form-control> </nz-form-control>
@ -74,7 +74,7 @@
</div> </div>
<div nz-col [nzSpan]="24"> <div nz-col [nzSpan]="24">
<nz-form-item nzFlex> <nz-form-item nzFlex>
<nz-form-label >单位地址</nz-form-label> <nz-form-label >公司地址</nz-form-label>
<nz-form-control> <nz-form-control>
<input nz-input style="width: 300px;" disabled="disabled" [(ngModel)]="ext1.address" placeholder="暂无数据" nzSize="default" /> <input nz-input style="width: 300px;" disabled="disabled" [(ngModel)]="ext1.address" placeholder="暂无数据" nzSize="default" />
</nz-form-control> </nz-form-control>
@ -187,23 +187,23 @@
</nz-form-control> </nz-form-control>
</nz-form-item>--> </nz-form-item>-->
<!--单位名称--> <!--公司名称-->
<nz-form-item> <nz-form-item>
<nz-form-label [nzSm]="6" [nzXs]="24"> <nz-form-label [nzSm]="6" [nzXs]="24">
<span>单位名称<i nz-icon nz-tooltip nzTitle="单位名称,招商政策类填写" type="question-circle" nzTheme="outline"></i></span> <span>公司名称<i nz-icon nz-tooltip nzTitle="公司名称,招商政策类填写" type="question-circle" nzTheme="outline"></i></span>
</nz-form-label> </nz-form-label>
<nz-form-control [nzSm]="14" [nzXs]="24"> <nz-form-control [nzSm]="14" [nzXs]="24">
<input nz-input [(ngModel)]="ext1.unitName" placeholder="请输入单位名称,招商政策类填写" /> <input nz-input [(ngModel)]="ext1.unitName" placeholder="请输入公司名称,招商政策类填写" />
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
<!--单位地址--> <!--公司地址-->
<nz-form-item> <nz-form-item>
<nz-form-label [nzSm]="6" [nzXs]="24"> <nz-form-label [nzSm]="6" [nzXs]="24">
<span>单位地址<i nz-icon nz-tooltip nzTitle="单位地址,招商政策类填写" type="question-circle" nzTheme="outline"></i></span> <span>公司地址<i nz-icon nz-tooltip nzTitle="公司地址,招商政策类填写" type="question-circle" nzTheme="outline"></i></span>
</nz-form-label> </nz-form-label>
<nz-form-control [nzSm]="14" [nzXs]="24"> <nz-form-control [nzSm]="14" [nzXs]="24">
<input nz-input [(ngModel)]="ext1.address" placeholder="请输入单位地址,招商政策类填写" /> <input nz-input [(ngModel)]="ext1.address" placeholder="请输入公司地址,招商政策类填写" />
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
@ -295,23 +295,23 @@
</nz-form-item> </nz-form-item>
--> -->
<!--单位名称--> <!--公司名称-->
<nz-form-item> <nz-form-item>
<nz-form-label [nzSm]="6" [nzXs]="24"> <nz-form-label [nzSm]="6" [nzXs]="24">
<span>单位名称<i nz-icon nz-tooltip nzTitle="单位名称,招商政策类填写" type="question-circle" nzTheme="outline"></i></span> <span>公司名称<i nz-icon nz-tooltip nzTitle="公司名称,招商政策类填写" type="question-circle" nzTheme="outline"></i></span>
</nz-form-label> </nz-form-label>
<nz-form-control [nzSm]="14" [nzXs]="24"> <nz-form-control [nzSm]="14" [nzXs]="24">
<input nz-input [(ngModel)]="ext1.unitName" placeholder="请输入单位名称,招商政策类填写" /> <input nz-input [(ngModel)]="ext1.unitName" placeholder="请输入公司名称,招商政策类填写" />
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
<!--单位地址--> <!--公司地址-->
<nz-form-item> <nz-form-item>
<nz-form-label [nzSm]="6" [nzXs]="24"> <nz-form-label [nzSm]="6" [nzXs]="24">
<span>单位地址<i nz-icon nz-tooltip nzTitle="单位地址,招商政策类填写" type="question-circle" nzTheme="outline"></i></span> <span>公司地址<i nz-icon nz-tooltip nzTitle="公司地址,招商政策类填写" type="question-circle" nzTheme="outline"></i></span>
</nz-form-label> </nz-form-label>
<nz-form-control [nzSm]="14" [nzXs]="24"> <nz-form-control [nzSm]="14" [nzXs]="24">
<input nz-input [(ngModel)]="ext1.address" placeholder="请输入单位地址,招商政策类填写" /> <input nz-input [(ngModel)]="ext1.address" placeholder="请输入公司地址,招商政策类填写" />
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>

@ -1 +1,32 @@
<p>company-detail works!</p> <!--<div class="inner-content">-->
<!-- <nz-descriptions nzBordered>-->
<!-- <nz-descriptions-item nzTitle="商户logo" [nzSpan]="3">-->
<!-- <img class="head_img" src="{{data.merchantLogo}}" onerror="this.src='../../../../assets/admin/navigation/icon.png'" alt="">-->
<!-- </nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="登录账户">{{data['secUser']['loginName']}}</nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="商户编号">{{data['merchantKey']}}</nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="商户名称">{{data.merchantName}}</nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="联系电话">{{data.secUser.telephone}}</nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="商户地址">{{data.address}}</nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="状态">{{data.status ===1 ? '正常' : '禁用'}}</nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="银行名称">-->
<!-- {{data.bankName == null ? '未上传' : data.bankName}}-->
<!-- </nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="银行账号">-->
<!-- {{data.bankAccount == null ? '未上传' : data.bankAccount}}-->
<!-- </nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="开户人">-->
<!-- {{data.bankHolder == null ? '未上传' : data.bankHolder}}-->
<!-- </nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="创建时间">-->
<!-- {{data.createTime | date: 'yyyy-MM-dd'}}-->
<!-- </nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="更新时间">-->
<!-- {{data.updateTime | date: 'yyyy-MM-dd'}}-->
<!-- </nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="操作人员">{{data.operatorName }}</nz-descriptions-item>-->
<!-- <nz-descriptions-item nzTitle="简介" [nzSpan]="3">-->
<!-- {{data.merchantDesc}}-->
<!-- </nz-descriptions-item>-->
<!-- </nz-descriptions>-->
<!--</div>-->

@ -1,25 +0,0 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CompanyDetailComponent } from './company-detail.component';
describe('CompanyDetailComponent', () => {
let component: CompanyDetailComponent;
let fixture: ComponentFixture<CompanyDetailComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ CompanyDetailComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(CompanyDetailComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

@ -1,4 +1,8 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import {MerchantService} from '../../../services/merchant.service';
import {NzMessageService} from 'ng-zorro-antd';
import {ActivatedRoute} from '@angular/router';
import {CompanyService} from '../../../services/company.service';
@Component({ @Component({
selector: 'app-company-detail', selector: 'app-company-detail',
@ -7,9 +11,28 @@ import { Component, OnInit } from '@angular/core';
}) })
export class CompanyDetailComponent implements OnInit { export class CompanyDetailComponent implements OnInit {
constructor() { } data: any = {};
id: number;
constructor(
private company: CompanyService,
private message: NzMessageService, // 信息提示
private activatedRoute: ActivatedRoute,
) { }
ngOnInit(): void { ngOnInit(): void {
this.activatedRoute.queryParams.subscribe(queryParams => {
if (queryParams.companyId != null) {
this.id = queryParams.companyId;
this.getDetails(queryParams.companyId);
}
});
} }
// 查询详情
public getDetails(id: number) {
this.company.companyView(id , data => {
console.log(data);
this.data = data['return_data'];
});
}
} }

@ -4,7 +4,7 @@
系统管理 系统管理
</nz-breadcrumb-item> </nz-breadcrumb-item>
<nz-breadcrumb-item> <nz-breadcrumb-item>
增加单位 增加公司
</nz-breadcrumb-item> </nz-breadcrumb-item>
</nz-breadcrumb> </nz-breadcrumb>
<!-- end 面包屑 --> <!-- end 面包屑 -->
@ -46,35 +46,35 @@
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
</div> </div>
<nz-divider nzText="单位信息"></nz-divider> <nz-divider nzText="公司信息"></nz-divider>
<div nz-col [nzSpan]="8"> <div nz-col [nzSpan]="8">
<nz-form-item> <nz-form-item>
<nz-form-label [nzFor]="'telephone'" nzRequired>所属地区</nz-form-label> <nz-form-label [nzFor]="'telephone'" nzRequired>所属地区</nz-form-label>
<nz-form-control nzErrorTip="请输入所属地区!"> <nz-form-control nzErrorTip="请输入所属地区!">
<app-region-selector *ngIf="!editFlag" [selectLevel]="2" (selectedRegionIdChange)="regionChange($event)"></app-region-selector> <app-region-selector *ngIf="!editFlag" [selectLevel]="2" (selectedRegionIdChange)="regionChange($event)"></app-region-selector>
<input *ngIf="editFlag" nz-input [formControlName]="'regionName'" /> <input readonly="readonly" *ngIf="editFlag" nz-input [formControlName]="'regionName'" />
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
</div> </div>
<div nz-col [nzSpan]="8"> <div nz-col [nzSpan]="8">
<nz-form-item> <nz-form-item>
<nz-form-label [nzFor]="'name'" nzRequired>单位名称</nz-form-label> <nz-form-label [nzFor]="'name'" nzRequired>公司名称</nz-form-label>
<nz-form-control nzErrorTip="请输入单位名称!"> <nz-form-control nzErrorTip="请输入公司名称!">
<input nz-input placeholder="请输入单位名称..." [formControlName]="'name'" id="'name'" /> <input nz-input placeholder="请输入公司名称..." [formControlName]="'name'" id="'name'" />
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
</div> </div>
<div nz-col [nzSpan]="8"> <div nz-col [nzSpan]="8">
<nz-form-item> <nz-form-item>
<nz-form-label [nzFor]="'address'" nzRequired>单位地址</nz-form-label> <nz-form-label [nzFor]="'address'" nzRequired>公司地址</nz-form-label>
<nz-form-control nzErrorTip="请输入单位地址!"> <nz-form-control nzErrorTip="请输入公司地址!">
<input nz-input placeholder="请输入单位地址..." [formControlName]="'address'" id="'address'" /> <input nz-input placeholder="请输入公司地址..." [formControlName]="'address'" id="'address'" />
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
</div> </div>
<div nz-col [nzSpan]="20"> <div nz-col [nzSpan]="20">
<nz-form-item> <nz-form-item>
<nz-form-label>单位LOGO</nz-form-label> <nz-form-label>公司LOGO</nz-form-label>
<nz-form-control> <nz-form-control>
<nz-upload <nz-upload
nzAction="{{WEB_SERVE_URL}}/fileUpload/uploadfile" nzAction="{{WEB_SERVE_URL}}/fileUpload/uploadfile"

@ -33,6 +33,8 @@ export class CompanyEditComponent implements OnInit {
previewImage: string | undefined = ''; previewImage: string | undefined = '';
previewVisible = false; previewVisible = false;
regionId; regionId;
userId: number;
time;
constructor( constructor(
private fb: FormBuilder, private fb: FormBuilder,
private company: CompanyService, private company: CompanyService,
@ -51,14 +53,12 @@ export class CompanyEditComponent implements OnInit {
}); });
this.validateForm = this.fb.group({ this.validateForm = this.fb.group({
loginName: [null, [Validators.required, ValidatorsService.maxLength(20)]], loginName: [null, [Validators.required, ValidatorsService.maxLength(20)]],
password: [null, [Validators.required, ValidatorsService.maxLength(20)]], password: [null, [Validators.required]],
phone: [null, [Validators.required, ValidatorsService.mobile]], phone: [null, [Validators.required, ValidatorsService.mobile]],
regionId: [null], regionId: [null],
name: [null, [Validators.required, ValidatorsService.maxLength(50)]], name: [null, [Validators.required, ValidatorsService.maxLength(50)]],
address: [null, [Validators.required, ValidatorsService.maxLength(80)]], address: [null, [Validators.required, ValidatorsService.maxLength(80)]],
logo: [null], logo: [null],
status: [null],
createTime: [null],
regionName: [null], regionName: [null],
company: {}, company: {},
user: {}, user: {},
@ -101,9 +101,11 @@ export class CompanyEditComponent implements OnInit {
this.validateForm.value['company']['logo'] = this.validateForm.value.logo; this.validateForm.value['company']['logo'] = this.validateForm.value.logo;
this.validateForm.value['user']['loginName'] = this.validateForm.value.loginName; this.validateForm.value['user']['loginName'] = this.validateForm.value.loginName;
this.validateForm.value['user']['password'] = this.validateForm.value.password; this.validateForm.value['user']['password'] = this.validateForm.value.password;
console.log(this.validateForm.value);
if (this.editFlag) { if (this.editFlag) {
this.validateForm.value.id = this.id; this.validateForm.value['company'].id = this.id;
this.validateForm.value['company'].status = 1;
this.validateForm.value['company'].createTime = this.time;
this.validateForm.value['user'].id = this.userId;
this.company.updateCompany(this.validateForm.value, data => { this.company.updateCompany(this.validateForm.value, data => {
if (data['return_code'] === '000000') { if (data['return_code'] === '000000') {
this.getBack(); this.getBack();
@ -137,11 +139,13 @@ export class CompanyEditComponent implements OnInit {
} }
public getDetails(id) { public getDetails(id) {
this.company.getMerchantById(id, data => { this.company.companyView(id, data => {
if (data['return_code'] === '000000') { if (data['return_code'] === '000000') {
console.log(data);
data['return_data']['company'].loginName = data['return_data'].user.loginName; data['return_data']['company'].loginName = data['return_data'].user.loginName;
data['return_data']['company'].password = data['return_data'].user.password; data['return_data']['company'].password = data['return_data'].user.password;
this.regionId = data['return_data'].company.regionId;
this.userId = data['return_data'].user.id;
this.time = data['return_data'].company.createTime;
if (data['return_data']['company']['logo'] != null && data['return_data']['company']['logo'] !== '') { if (data['return_data']['company']['logo'] != null && data['return_data']['company']['logo'] !== '') {
const logo = String(data['return_data']['company']['logo']); const logo = String(data['return_data']['company']['logo']);
const logoArray = []; const logoArray = [];
@ -155,7 +159,6 @@ export class CompanyEditComponent implements OnInit {
this.logoFile = logoArray; this.logoFile = logoArray;
} }
this.validateForm.patchValue(data['return_data']['company']); this.validateForm.patchValue(data['return_data']['company']);
console.log(this.validateForm.value);
} else { } else {
this.message.create('error', data['return_msg']); this.message.create('error', data['return_msg']);
} }

@ -9,7 +9,7 @@
<div nz-col nzSpan="6"> <div nz-col nzSpan="6">
<nz-form-item> <nz-form-item>
<nz-form-label [nzSpan]="6">单位名称</nz-form-label> <nz-form-label [nzSpan]="6">公司名称</nz-form-label>
<nz-form-control [nzSpan]="16"> <nz-form-control [nzSpan]="16">
<input nz-input formControlName="name"/> <input nz-input formControlName="name"/>
</nz-form-control> </nz-form-control>
@ -51,6 +51,7 @@
<th nzWidth="50px">编号</th> <th nzWidth="50px">编号</th>
<th nzWidth="80px">所属地区</th> <th nzWidth="80px">所属地区</th>
<th nzWidth="80px">公司名称</th> <th nzWidth="80px">公司名称</th>
<th nzWidth="80px">公司LOGO</th>
<th nzWidth="70px">联系方式</th> <th nzWidth="70px">联系方式</th>
<th nzWidth="100px">地址</th> <th nzWidth="100px">地址</th>
<th nzWidth="100px">创建时间</th> <th nzWidth="100px">创建时间</th>
@ -63,6 +64,9 @@
<td>{{i+1}}</td> <td>{{i+1}}</td>
<td>{{data.regionName}}</td> <td>{{data.regionName}}</td>
<td>{{data.name}}</td> <td>{{data.name}}</td>
<td>
<img class="head_img" src="{{data.logo}}" onerror="this.src='../../../../assets/admin/navigation/icon.png'" alt="">
</td>
<td>{{data.phone}}</td> <td>{{data.phone}}</td>
<td>{{data.address}}</td> <td>{{data.address}}</td>
<td>{{data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td> <td>{{data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td>
@ -70,12 +74,10 @@
<td nzRight="0px" class="table-td-operation"> <td nzRight="0px" class="table-td-operation">
<a (click)="getEdit(data.id)"><i nz-icon nzType="form" nzTheme="outline" nz-tooltip="编辑"></i></a> <a (click)="getEdit(data.id)"><i nz-icon nzType="form" nzTheme="outline" nz-tooltip="编辑"></i></a>
<nz-divider nzType="vertical"></nz-divider> <nz-divider nzType="vertical"></nz-divider>
<a (click)="getDetail(data.id)"><i nz-icon [nzIconfont]="'icon-xiangqing'" nz-tooltip="商户详情"></i></a> <a (click)="getDetail(data.id)"><i nz-icon [nzIconfont]="'icon-xiangqing'" nz-tooltip="公司详情"></i></a>
<nz-divider nzType="vertical"></nz-divider>
<a (click)="getList(data.id , data.merchantName)"><i nz-icon nzType="unordered-list" nzTheme="outline" nz-tooltip="门店列表"></i></a>
<nz-divider nzType="vertical"></nz-divider> <nz-divider nzType="vertical"></nz-divider>
<a *ngIf="data.status === 1" (click)='disableMerchant(data.id)'><i nz-icon nzType="stop" nzTheme="outline" nz-tooltip="禁用"></i></a> <a (click)='getForbiddenUser(data.id , data.status)'><i nz-icon nzType="{{data.status === 1 ? 'stop': 'check-circle'}}" nzTheme="outline" nz-tooltip="{{data.status === 1 ? '禁用': '启用'}}"></i></a>
<a *ngIf="data.status !== 1" (click)='enableMerchant(data.id)'><i nz-icon nzType="check-circle" nzTheme="outline" nz-tooltip="启用"></i></a>
</td> </td>
</tbody> </tbody>
</nz-table> </nz-table>

@ -37,9 +37,7 @@ export class CompanyListComponent implements OnInit {
public init(): void { public init(): void {
this.searchForm = this.form.group({ this.searchForm = this.form.group({
merchantKey: [null], name: [null],
merchantName: [null],
telephone: [null],
status: [null], status: [null],
}); });
this.getRequest(true, this.searchForm.value); this.getRequest(true, this.searchForm.value);
@ -69,35 +67,15 @@ export class CompanyListComponent implements OnInit {
this.searchForm.reset(); this.searchForm.reset();
} }
// 禁用商户 public getForbiddenUser(id, status: any): void {
public disableMerchant(id): void { const message = (status === 1 ? '是否禁用当前公司' : '是否启用当前公司');
const message = '是否禁用商户';
this.common.showConfirm(message, data => { const s = status === 1 ? 0 : 1;
if (data) {
this.company.disableMerchant(id, dataReturn => {
if (dataReturn['return_code'] === '000000') {
this.message.success('操作成功');
this.getRequest(false , this.searchForm.value);
} else {
this.message.warning(dataReturn['return_msg']);
}
});
}
});
}
// 启动商户
public enableMerchant(id): void {
const message = '是否启用商户';
this.common.showConfirm(message, data => { this.common.showConfirm(message, data => {
if (data) { if (data) {
this.company.enableMerchant(id, dataReturn => { this.company.editStatus(id, s , dataUser => {
if (dataReturn['return_code'] === '000000') { this.getRequest(false , this.searchForm.value);
this.message.success('操作成功');
this.getRequest(false , this.searchForm.value);
} else {
this.message.warning(dataReturn['return_msg']);
}
}); });
} }
}); });
@ -115,21 +93,13 @@ export class CompanyListComponent implements OnInit {
// 查看详情 // 查看详情
public getDetail(id: number): void { public getDetail(id: number): void {
this.router.navigate(['/admin/merchant/merchant-detail'], { this.router.navigate(['/admin/company/company-detail'], {
queryParams: { queryParams: {
merchantId: id companyId: id
} }
}).then(r => console.log(r)); }).then(r => console.log(r));
} }
// 查看门店列表
public getList(id: number , merchantName: string): void {
this.router.navigate(['/admin/merchantStore/store-list'], {
queryParams: {
merchantId: id,
name: merchantName,
}
}).then(r => console.log(r));
}
} }

@ -10,7 +10,7 @@
</div> </div>
<div class="details"> <div class="details">
<div class="title"> <div class="title">
<span>单位详情信息</span> <span>公司详情信息</span>
</div> </div>
<div style="padding: 10px;" nz-row [nzGutter]="24"> <div style="padding: 10px;" nz-row [nzGutter]="24">

@ -93,7 +93,7 @@
<h3>一、服务描述及定义</h3> <h3>一、服务描述及定义</h3>
<p> <p>
本网站是连接候选人与用人者的中介信息平台及职业社区。“本网站”“本平台”“瑞职”“瑞职招聘”:指四川信华腾科技有限公司全权所有并运营的瑞职网。“用户”:指具有完全民事行为能力的瑞职网使用者。用户身份包括“用人者”、“候选人”等。“用人者”:指有用人需求,具有用人资格,在本网站上发布招聘及相关信息的企事业单位或其他组织。“候选人”:指利用本网站进行职位浏览、投递等等行为的个人。“账号”:指用户为使用本网站及相关服务而登记注册的用户身份识别信息;用户只有注册账号才能使用本网站的服务。 本网站是连接候选人与用人者的中介信息平台及职业社区。“本网站”“本平台”“瑞职”“瑞职招聘”:指四川信华腾科技有限公司全权所有并运营的瑞职网。“用户”:指具有完全民事行为能力的瑞职网使用者。用户身份包括“用人者”、“候选人”等。“用人者”:指有用人需求,具有用人资格,在本网站上发布招聘及相关信息的企事业公司或其他组织。“候选人”:指利用本网站进行职位浏览、投递等等行为的个人。“账号”:指用户为使用本网站及相关服务而登记注册的用户身份识别信息;用户只有注册账号才能使用本网站的服务。
</p> </p>
<h3>二、成为注册用户</h3> <h3>二、成为注册用户</h3>
<h4>(一)用户主体适格</h4> <h4>(一)用户主体适格</h4>
@ -103,7 +103,7 @@
<ul> <ul>
<li>具备完全民事行为能力的自然人。</li> <li>具备完全民事行为能力的自然人。</li>
<li> <li>
符合中华人民共和国法律、行政法规、部门规章等规范性文件要求,合法设立并存续的企业、机关、社团、事业单位和其他组织,并且具有合法用人资格及真实招聘需求(统称为“用人者”);代表用人者进行注册的自然人需具备用人者的有效授权、并保证为职务行为。 符合中华人民共和国法律、行政法规、部门规章等规范性文件要求,合法设立并存续的企业、机关、社团、事业公司和其他组织,并且具有合法用人资格及真实招聘需求(统称为“用人者”);代表用人者进行注册的自然人需具备用人者的有效授权、并保证为职务行为。
</li> </li>
</ul> </ul>
<h4>(二)用户信息完备</h4> <h4>(二)用户信息完备</h4>
@ -176,7 +176,7 @@
<h4 class="text-bold">(三)用人者的特别保证</h4> <h4 class="text-bold">(三)用人者的特别保证</h4>
<ul> <ul>
<li class="text-bold"> <li class="text-bold">
对于用人者及其关联单位(包括但不限于分公司、子公司、独立事业部等)入驻本网站并使用招聘相关服务事宜,用人者承诺并担保如下: 对于用人者及其关联公司(包括但不限于分公司、子公司、独立事业部等)入驻本网站并使用招聘相关服务事宜,用人者承诺并担保如下:
用人者使用瑞职网服务仅限用于招聘,承诺不利用服务从事其他事宜,包括但不限于收集求职者数据、简历用作他用,以自身招聘为名招收学员或办理贷款,使用平台服务从事公司业务经营活动,利用平台服务中聊天沟通等功能进行广告营销等情形。用人者成功入驻后,不得出现本协议“禁止入驻情形”条款中所列举的禁止情形。用人者使用本网站服务,保证严格遵守平台用户协议、平台规则及与本网站签署的一切合同文件(如有)。在使用服务期间,保证不从事任何违反平台规则的业务、不发布任何违反平台规则的信息。 用人者使用瑞职网服务仅限用于招聘,承诺不利用服务从事其他事宜,包括但不限于收集求职者数据、简历用作他用,以自身招聘为名招收学员或办理贷款,使用平台服务从事公司业务经营活动,利用平台服务中聊天沟通等功能进行广告营销等情形。用人者成功入驻后,不得出现本协议“禁止入驻情形”条款中所列举的禁止情形。用人者使用本网站服务,保证严格遵守平台用户协议、平台规则及与本网站签署的一切合同文件(如有)。在使用服务期间,保证不从事任何违反平台规则的业务、不发布任何违反平台规则的信息。
</li> </li>
<li class="text-bold underline"> <li class="text-bold underline">
@ -195,7 +195,7 @@
</ul> </ul>
<h4>(五)招聘行为</h4> <h4>(五)招聘行为</h4>
<ul> <ul>
<li>用户(用人者)通过本平台审核,并依据法律法规及本协议第二条第(二)款规定提供招聘简章、营业执照或有关部门批准设立的文件、经办人身份证件、用人单位的委托证明等资料后,方可发布招聘信息、进行招聘活动。 <li>用户(用人者)通过本平台审核,并依据法律法规及本协议第二条第(二)款规定提供招聘简章、营业执照或有关部门批准设立的文件、经办人身份证件、用人公司的委托证明等资料后,方可发布招聘信息、进行招聘活动。
</li> </li>
<li>用户在本网站指定位置(包括本网站各级页面、为用人者生成的公司主页等)发布招聘相关信息,包括但不限于职位信息、公司简介(包含公司商标、名称、Logo、文字说明等)、配图等。上述行为均为用户自行操作。 <li>用户在本网站指定位置(包括本网站各级页面、为用人者生成的公司主页等)发布招聘相关信息,包括但不限于职位信息、公司简介(包含公司商标、名称、Logo、文字说明等)、配图等。上述行为均为用户自行操作。
</li> </li>

@ -57,7 +57,7 @@ export class CompanyService {
* @param companyId id * @param companyId id
* @param callBack * @param callBack
*/ */
public getMerchantById(companyId: number, callBack) { public companyView(companyId: number, callBack) {
this.http.get(environment.baseUrl + 'bsCompany/companyView?companyId=' + companyId).subscribe(data => { this.http.get(environment.baseUrl + 'bsCompany/companyView?companyId=' + companyId).subscribe(data => {
callBack(data); callBack(data);
}); });
@ -65,25 +65,14 @@ export class CompanyService {
/** /**
* *
* *
* @param id id * @param id id
* @param status status
* @param callBack * @param callBack
*/ */
public disableMerchant(id: number, callBack) { public editStatus(id: number, status: number , callBack) {
this.http.get(environment.baseUrl + 'highMerchant/disableMerchant?id=' + id).subscribe(data => { this.http.get(environment.baseUrl + 'bsCompany/editStatus?companyId=' + id + '&status=' + status).subscribe(data => {
callBack(data);
});
}
/**
*
*
* @param id id
* @param callBack
*/
public enableMerchant(id: number, callBack) {
this.http.get(environment.baseUrl + 'highMerchant/enableMerchant?id=' + id).subscribe(data => {
callBack(data); callBack(data);
}); });
} }

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save