Commit 69d1cfe5 authored by wangqinghua's avatar wangqinghua

权限新增

parent 3a011617
import * as Mock from 'mockjs'; export const SERVER_API_URL = '/shfrdj';// export const SERVER_API_URL = 'http://218.242.131.175/shfrdj'; export const SERVER_API_WEB = 'shfrdjweb'; // export const SERVER_API_WEB = 'http://218.242.131.175/shfrdjweb'; export const SERVER_API_BBWX = '/bbwx'; // export const SERVER_API_WEB = 'http://218.242.131.175/shfrdjweb'; Mock.setup( { timeout: 50, } ); export const institutionalNature = [ {label: '挂牌机构', value: '8'}, {label: '内设机构', value: '7'}, {label: '派驻机关', value: '6'}, {label: '派出机构', value: '5'}, {label: '分支机构', value: '4'}, {label: '临时机构', value: '3'}, {label: '议事协调机构', value: '2'}, {label: '挂靠机构', value: '1'}, ]
\ No newline at end of file
import * as Mock from 'mockjs'; // export const SERVER_API_URL = '/shfrdj'; export const SERVER_API_URL = 'http://218.242.131.175/shfrdj'; // export const SERVER_API_WEB = 'shfrdjweb'; export const SERVER_API_WEB = 'http://218.242.131.175/shfrdjweb'; // export const SERVER_API_BBWX = '/bbwx'; export const SERVER_API_BBWX = 'http://218.242.131.175/shfrdjweb'; Mock.setup( { timeout: 50, } ); export const institutionalNature = [ {label: '挂牌机构', value: '8'}, {label: '内设机构', value: '7'}, {label: '派驻机关', value: '6'}, {label: '派出机构', value: '5'}, {label: '分支机构', value: '4'}, {label: '临时机构', value: '3'}, {label: '议事协调机构', value: '2'}, {label: '挂靠机构', value: '1'}, ]
\ No newline at end of file
......
<ion-header>
<ion-navbar>
<ion-title>年度报告</ion-title>
</ion-navbar>
</ion-header>
<ion-content>
<div class="content">
<div class="item-box">
<div class="left">统一社会信用代码:</div>
<div class="right">
<span>{{ reportObj?.xydm || '-'}}</span>
</div>
</div>
<div class="item-box">
<div class="left">名称:</div>
<div class="right">
<span>{{ reportObj?.mc || '-'}}</span>
</div>
</div>
<div class="item-box">
<div class="left">宗旨和业务范围:</div>
<div class="right">
<span>{{ reportObj?.zzyw || '-'}}</span>
</div>
</div>
<div class="item-box">
<div class="left">住所:</div>
<div class="right">
<span>{{ reportObj?.txdz || '-'}}</span>
</div>
</div>
<div class="item-box">
<div class="left">法定代表人:</div>
<div class="right">
<span>{{ reportObj?.fr_name || '-'}}</span>
</div>
</div>
<div class="item-box">
<div class="left">经费来源:</div>
<div class="right">
<span>{{ reportObj?.jfxsLabel || '-'}}</span>
</div>
</div>
<div class="item-box">
<div class="left">开办资金:</div>
<div class="right">
<span>{{ reportObj?.kbzj || '-'}}万元</span>
</div>
</div>
<div class="item-box">
<div class="left">举办单位:</div>
<div class="right">
<span>{{ reportObj?.zgbm || '-'}}</span>
</div>
</div>
<div class="item-box">
<div class="left">《条例》、《细则》、《规定》有关变更登记规定执行情况:</div>
<div class="right">
<span>{{ reportObj?.bgzxqk }}</span>
</div>
</div>
<div class="item-box">
<div class="left">开展业务活动情况:</div>
<div class="right">
<span [innerHTML]="reportObj?.kzywqk"></span>
</div>
</div>
<div class="item-box">
<div class="left">相关资质认可或执业许可证明文件及有效期:</div>
<div class="right">
<span *ngFor="let item of reportObj?.ndbgLicensesList">
{{item.filename}};
证书编号:{{item.zsbh}};
发证日期:{{item.fzdateLabel}};
有效期:{{item.starttimeLabel}}至{{item.endtimeLabel}};
发证机关:{{item.fzjg}}。
</span>
<span *ngIf="reportObj?.ndbgLicensesList.length == 0"></span>
</div>
</div>
<div class="item-box">
<div class="left">资产损益情况:</div>
<div class="table right">
<table border="1">
<thead>
<tr>
<th colspan="2">
所有者权益合计(净资产合计)
</th>
</tr>
<tr>
<th>年初数(万元)</th>
<th>期末数(万元)</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{reportObj?.zksy_nc || '无'}}</td>
<td>{{reportObj?.zksy_nm || '无'}}</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="item-box">
<div class="left">受奖惩评估及诉讼投诉情况:</div>
<div class="right">
<span>{{ reportObj?.jctsqk || '无'}}</span>
</div>
</div>
<div class="item-box">
<div class="left">接受捐赠资助及其使用情况:</div>
<div class="right">
<span>{{ reportObj?.jszcqk || '无'}}</span>
</div>
</div>
</div>
</ion-content>
page-year-report {
table {
width: 100%;
td, th {
text-align: center;
height: 30px;
padding: 2px;
}
}
}
import {Component} from '@angular/core';
import {IonicPage, NavController, NavParams} from 'ionic-angular';
import {HomeService} from "../../home.service";
@Component({
selector: 'page-year-report',
templateUrl: 'year-report.html',
})
export class YearReportPage {
ndbg_id;
unit_id;
reportObj;
constructor(public navCtrl: NavController, public navParams: NavParams,
private homeSer: HomeService) {
this.unit_id = this.navParams.get('unit_id');
this.ndbg_id = this.navParams.get('ndbg_id');
}
ionViewDidLoad() {
const data = {
openid: '1',
ndbg_id: this.ndbg_id,
unit_id: this.unit_id
}
this.homeSer.yearreportdetail(data).subscribe(
(res) => {
this.reportObj = res.page.object;
}
)
}
}
......@@ -22,8 +22,8 @@ export class LoginPage {
codeNum;
user = {
mobilePhone: "13321810809",
password: "qweasd123",
mobilePhone: "",
password: "",
captcha: ""
};
loading;
......@@ -45,14 +45,14 @@ export class LoginPage {
}
login() {
// if (!this.user.mobilePhone || !this.user.password || !this.user.captcha) {
// this.commonSer.toast('请填写完整的登录信息');
// return
// }
// if (this.user.captcha != this.codeNum) {
// this.commonSer.toast("验证码错误!");
// return;
// }
if (!this.user.mobilePhone || !this.user.password || !this.user.captcha) {
this.commonSer.toast('请填写完整的登录信息');
return
}
if (this.user.captcha != this.codeNum) {
this.commonSer.toast("验证码错误!");
return;
}
const data = {
"mobilePhone": this.user.mobilePhone,
"password": this.user.password
......
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