Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
regManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqinghua
regManage
Commits
69d1cfe5
Commit
69d1cfe5
authored
Mar 10, 2020
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限新增
parent
3a011617
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
176 additions
and
12 deletions
+176
-12
app.constants.ts
src/app/app.constants.ts
+2
-2
year-report.html
src/pages/home/report-info/year-report/year-report.html
+119
-0
year-report.scss
src/pages/home/report-info/year-report/year-report.scss
+11
-0
year-report.ts
src/pages/home/report-info/year-report/year-report.ts
+34
-0
login.ts
src/pages/login/login.ts
+10
-10
No files found.
src/app/app.constants.ts
View file @
69d1cfe5
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
...
...
src/pages/home/report-info/year-report/year-report.html
0 → 100644
View file @
69d1cfe5
<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>
src/pages/home/report-info/year-report/year-report.scss
0 → 100644
View file @
69d1cfe5
page-year-report
{
table
{
width
:
100%
;
td
,
th
{
text-align
:
center
;
height
:
30px
;
padding
:
2px
;
}
}
}
src/pages/home/report-info/year-report/year-report.ts
0 → 100644
View file @
69d1cfe5
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
;
}
)
}
}
src/pages/login/login.ts
View file @
69d1cfe5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment