Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-ces
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
wisdom-ces
Commits
bca69ed3
Commit
bca69ed3
authored
Apr 12, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试管理 模块修复
parent
30ae36a5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
README.md
README.md
+1
-1
config.xml
config.xml
+1
-1
learn-detail.html
src/pages/home/learn-manage/learn-detail/learn-detail.html
+1
-1
learn-detail.ts
src/pages/home/learn-manage/learn-detail/learn-detail.ts
+7
-2
http.service.ts
src/service/http.service.ts
+2
-2
No files found.
README.md
View file @
bca69ed3
...
...
@@ -54,7 +54,7 @@ pages/ app的页面
//app自动更新安装打开功能中 android 8以上的权限有限制;需要在 platforms/android/app/src/main/AndroidManifest.xml文件里面
将 targetSdkVersion的值改为23即可;android SDK版本降低可以
******
版本更新
******
******
正式版本更新说明
******
2019-3-17 v3.0.3 更新问卷调查结果预览出现的问题
2019-4-11 v4.0.6 学习测试模块上线
...
...
config.xml
View file @
bca69ed3
<?xml version='1.0' encoding='utf-8'?>
<widget
id=
"io.ionic.smart19.starter.test"
version=
"4.
0.6
"
xmlns=
"http://www.w3.org/ns/widgets"
xmlns:cdv=
"http://cordova.apache.org/ns/1.0"
>
<widget
id=
"io.ionic.smart19.starter.test"
version=
"4.
1.5
"
xmlns=
"http://www.w3.org/ns/widgets"
xmlns:cdv=
"http://cordova.apache.org/ns/1.0"
>
<name>
党建云平台(测试)
</name>
<description>
An awesome Ionic/Cordova app.
</description>
<author
email=
"hi@ionicframework"
href=
"http://ionicframework.com/"
>
Ionic Framework Team
</author>
...
...
src/pages/home/learn-manage/learn-detail/learn-detail.html
View file @
bca69ed3
...
...
@@ -51,7 +51,7 @@
<span
*
ngIf=
"item.questionType == 3"
>
填空题
</span>
<span
*
ngIf=
"item.questionType == 4"
>
判断题
</span>
<span
*
ngIf=
"item.questionType == 5"
>
问答题
</span>
{{item.questionCount}} 每题 {{item.singleQuestionScore}}
分
</p>
{{item.questionCount}} 每题 {{item.singleQuestionScore}}分
</p>
</ng-container>
</div>
</div>
...
...
src/pages/home/learn-manage/learn-detail/learn-detail.ts
View file @
bca69ed3
...
...
@@ -2,6 +2,7 @@ import {Component} from '@angular/core';
import
{
IonicPage
,
NavController
,
NavParams
}
from
'ionic-angular'
;
import
{
ReadLearnPage
}
from
"../read-learn/read-learn"
;
import
{
LearnManageService
}
from
"../learnManage.service"
;
import
{
CommonService
}
from
"../../../../provide/common.service"
;
@
IonicPage
()
...
...
@@ -14,7 +15,7 @@ export class LearnDetailPage {
testId
;
test
;
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
public
learnManageSer
:
LearnManageService
)
{
public
learnManageSer
:
LearnManageService
,
public
commonSer
:
CommonService
)
{
}
ionViewDidLoad
()
{
...
...
@@ -31,7 +32,11 @@ export class LearnDetailPage {
//批阅试卷
gotoRead
()
{
this
.
navCtrl
.
push
(
'ReadLearnPage'
)
if
(
this
.
test
.
markNumber
>
0
){
this
.
navCtrl
.
push
(
'ReadLearnPage'
)
}
else
{
this
.
commonSer
.
toast
(
"当前试卷无问答题"
);
}
}
}
src/service/http.service.ts
View file @
bca69ed3
...
...
@@ -14,8 +14,8 @@ export class AppGlobal {
//接口基地址
// static domain = "http://101.89.112.92:80"; //正式环境
//
static domain = "http://180.168.156.212:2931"; //测试环境
static
domain
=
""
;
//本地环境
static
domain
=
"http://180.168.156.212:2931"
;
//测试环境
//
static domain = ""; //本地环境
//图片地址
...
...
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