Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
f2570f97
Commit
f2570f97
authored
Mar 24, 2021
by
陈浩建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
活动积分-参与记录调整
parent
28534337
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
src/views/school-center/activity/activityRecord.vue
+9
-7
No files found.
src/views/school-center/activity/activityRecord.vue
View file @
f2570f97
...
@@ -78,7 +78,8 @@
...
@@ -78,7 +78,8 @@
</
template
>
</
template
>
<
template
slot=
"operation"
slot-scope=
"text,record"
>
<
template
slot=
"operation"
slot-scope=
"text,record"
>
<a
v-if=
"record.status == 1"
@
click=
"modifyfunction(record)"
>
审核
</a>
<!-- v-if="record.status == 1"-->
<a
@
click=
"modifyfunction(record)"
>
审核
</a>
</
template
>
</
template
>
</s-table>
</s-table>
...
@@ -98,16 +99,15 @@
...
@@ -98,16 +99,15 @@
</a-form-item>
</a-form-item>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"所得积分"
>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"所得积分"
>
<a-input
placeholder=
"所得积分"
v-decorator=
"[ 'integral', {rules: [{ required: true,type:'number', message: '所得积分不能为空!' ,whitespace:true
,transform:(value)=> {return Number(value)} }]} ]"
></a-input>
<a-input
placeholder=
"所得积分"
v-decorator=
"[ 'integral', {rules: [{ required: true,type:'number', message: '所得积分格式错误!'
,transform:(value)=> {return Number(value)} }]} ]"
></a-input>
</a-form-item>
</a-form-item>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"审核备注"
>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"审核备注"
>
<a-input
placeholder=
"审核备注"
v-decorator=
"[ 'remark', {rules: [{ required: false }]} ]"
></a-input>
<a-input
placeholder=
"审核备注"
v-decorator=
"[ 'remark', {rules: [{ required: false }]} ]"
></a-input>
</a-form-item>
</a-form-item>
</a-form>
</a-form>
</a-modal>
</a-modal>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -115,7 +115,6 @@
...
@@ -115,7 +115,6 @@
import
{
getList
,
audit
}
from
"../../../api/school-center/activityRecordAPI"
import
{
getList
,
audit
}
from
"../../../api/school-center/activityRecordAPI"
import
{
cloneObject
}
from
'@/utils/util'
;
import
{
cloneObject
}
from
'@/utils/util'
;
import
moment
from
"moment"
;
import
moment
from
"moment"
;
import
{
queryById
,
update
}
from
"../../../api/school-center/uploadVerify/studentCardVerifyAPI"
;
export
default
{
export
default
{
name
:
"activityRecord"
,
name
:
"activityRecord"
,
components
:
{
components
:
{
...
@@ -246,6 +245,7 @@
...
@@ -246,6 +245,7 @@
this
.
modifyForm
.
remark
=
values
.
remark
==
undefined
?
''
:
values
.
remark
;
this
.
modifyForm
.
remark
=
values
.
remark
==
undefined
?
''
:
values
.
remark
;
this
.
modifyForm
.
integral
=
values
.
integral
this
.
modifyForm
.
integral
=
values
.
integral
//表示
//表示
let
obj
=
cloneObject
(
this
.
modifyForm
)
let
obj
=
cloneObject
(
this
.
modifyForm
)
//修改数据
//修改数据
audit
(
Object
.
assign
(
params
,
obj
)).
then
(
res
=>
{
audit
(
Object
.
assign
(
params
,
obj
)).
then
(
res
=>
{
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
this
.
search
();
this
.
search
();
return
null
;
return
null
;
}
}
this
.
$message
.
error
(
res
.
data
?
res
.
data
:
'审核失败!'
,
5
);
this
.
$message
.
error
(
res
.
data
?
res
.
data
:
res
.
msg
,
5
);
})
})
}
}
...
@@ -283,8 +283,8 @@
...
@@ -283,8 +283,8 @@
this
.
imgInfo
=
''
this
.
imgInfo
=
''
this
.
visiblepicture
=
false
;
this
.
visiblepicture
=
false
;
},
},
},
start
()
{
start
()
{
this
.
modifyForm
.
id
=
""
this
.
Formtable
.
setFieldsValue
({
this
.
Formtable
.
setFieldsValue
({
status
:
''
,
status
:
''
,
remark
:
''
,
remark
:
''
,
...
@@ -306,7 +306,9 @@
...
@@ -306,7 +306,9 @@
this
.
hasSelected
=
true
;
this
.
hasSelected
=
true
;
}
}
},
},
},
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
...
...
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