Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xiaojie
fns_backend
Commits
79d4910c
Commit
79d4910c
authored
Oct 29, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 按照操作时间排序
parent
2d14b618
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
index.ts
src/service/StaffService/index.ts
+10
-2
client.vue
src/views/Root/User/client.vue
+5
-3
No files found.
src/service/StaffService/index.ts
View file @
79d4910c
...
...
@@ -174,7 +174,11 @@ export default class StaffService {
return
baseAxios
({
url
:
'/staff/query/users'
,
method
:
'get'
,
params
:
data
params
:
{
...
data
,
is_desc
:
true
,
order_by
:
'update_at'
}
})
}
...
...
@@ -188,7 +192,11 @@ export default class StaffService {
return
baseAxios
({
url
:
'/staff/query/acm/users'
,
method
:
'get'
,
params
:
data
params
:
{
...
data
,
is_desc
:
true
,
order_by
:
'update_at'
}
})
}
...
...
src/views/Root/User/client.vue
View file @
79d4910c
...
...
@@ -34,11 +34,12 @@
<a-form-model-item
class=
"mb-2"
label=
"手机号"
>
<span
class=
" text-sm text-black"
>
{{
note
.
phone
}}
</span>
</a-form-model-item>
{{
form
.
notes
}}
<a-form-model-item
label=
"备注内容"
:required=
"true"
prop=
"notes"
>
<a-input
type=
"textarea"
placeholder=
"请输入备注内容,100字以内"
v-model=
"form.notes"
style=
"height:100px"
/>
</a-form-model-item>
<a-form-model-item
:wrapper-col=
"
{ span: 8, offset: 8 }">
<a-button
type=
"primary"
@
click=
"onSubmit"
>
新增
</a-button>
<a-button
type=
"primary"
@
click=
"onSubmit"
>
保存
</a-button>
<a-button
style=
"margin-left: 10px;"
@
click=
"show=false"
>
取消
</a-button>
</a-form-model-item>
</a-form-model>
...
...
@@ -188,11 +189,12 @@ export default Vue.extend({
this
.
note
=
text
},
edit
(
text
:
any
){
console
.
log
(
text
,
'show text'
);
this
.
note
=
text
this
.
uuid
=
text
.
uuid
this
.
form
.
notes
=
text
.
remark
this
.
show
=
true
;(
this
.
$refs
.
ruleForm
as
any
).
resetFields
()
;(
this
.
$refs
.
ruleForm
as
any
)?.
resetFields
()
this
.
form
.
notes
=
text
.
remark
},
onSubmit
(){
(
this
.
$refs
.
ruleForm
as
FormModel
).
validate
(
valid
=>
{
...
...
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