Commit 79d4910c authored by chenqikuai's avatar chenqikuai

fix: 按照操作时间排序

parent 2d14b618
......@@ -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'
}
})
}
......
......@@ -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 => {
......
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