mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-26 11:40:28 +00:00
no message
This commit is contained in:
parent
042fb28ccc
commit
44b46c396b
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
12a32f5d8a6e8d20
|
6a920b027ebf78a4
|
||||||
|
|||||||
3
resources/assets/js/functions/web.js
vendored
3
resources/assets/js/functions/web.js
vendored
@ -563,6 +563,9 @@
|
|||||||
if (typeof config === "string" && config === "Network exception") {
|
if (typeof config === "string" && config === "Network exception") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if ($A.isJson(config) && config.content === "Network exception") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
$A.Modal.error($A.modalConfig(config));
|
$A.Modal.error($A.modalConfig(config));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -36,14 +36,12 @@
|
|||||||
<Radio label="open">{{ $L('开启') }}</Radio>
|
<Radio label="open">{{ $L('开启') }}</Radio>
|
||||||
<Radio label="close">{{ $L('关闭') }}</Radio>
|
<Radio label="close">{{ $L('关闭') }}</Radio>
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
<Form v-if="formData.notice == 'open'" label-width="auto" @submit.native.prevent>
|
<Form v-if="formData.notice == 'open'" @submit.native.prevent>
|
||||||
<FormItem :label="$L('第一次通知:')" prop="task_remind_hours">
|
<FormItem :label="$L('距离到期')" prop="task_remind_hours">
|
||||||
<label>{{ $L('到期前') }}</label>
|
|
||||||
<InputNumber v-model="formData.task_remind_hours" :min="0" :step="0.5" @on-change="hoursChange($event, 'task_remind_hours')"/>
|
<InputNumber v-model="formData.task_remind_hours" :min="0" :step="0.5" @on-change="hoursChange($event, 'task_remind_hours')"/>
|
||||||
<label>{{ $L('小时') }}</label>
|
<label>{{ $L('小时') }}</label>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem :label="$L('第二次通知:')" prop="task_remind_hours2">
|
<FormItem :label="$L('超时')" prop="task_remind_hours2">
|
||||||
<label>{{ $L('到期后') }}</label>
|
|
||||||
<InputNumber v-model="formData.task_remind_hours2" :min="0" :step="0.5" @on-change="hoursChange($event, 'task_remind_hours2')"/>
|
<InputNumber v-model="formData.task_remind_hours2" :min="0" :step="0.5" @on-change="hoursChange($event, 'task_remind_hours2')"/>
|
||||||
<label>{{ $L('小时') }}</label>
|
<label>{{ $L('小时') }}</label>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
@ -55,14 +53,12 @@
|
|||||||
<Radio label="open">{{ $L('开启') }}</Radio>
|
<Radio label="open">{{ $L('开启') }}</Radio>
|
||||||
<Radio label="close">{{ $L('关闭') }}</Radio>
|
<Radio label="close">{{ $L('关闭') }}</Radio>
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
<Form v-if="formData.notice_msg == 'open'" label-width="auto" @submit.native.prevent>
|
<Form v-if="formData.notice_msg == 'open'" @submit.native.prevent>
|
||||||
<FormItem :label="$L('个人消息:')" prop="msg_unread_user_minute">
|
<FormItem :label="$L('未读个人消息')" prop="msg_unread_user_minute">
|
||||||
<label>{{ $L('未读时长') }}</label>
|
|
||||||
<InputNumber v-model="formData.msg_unread_user_minute" :min="0" :step="1"/>
|
<InputNumber v-model="formData.msg_unread_user_minute" :min="0" :step="1"/>
|
||||||
<label>{{ $L('分钟') }}</label>
|
<label>{{ $L('分钟') }}</label>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem :label="$L('群聊消息:')" prop="msg_unread_group_minute">
|
<FormItem :label="$L('未读群聊消息')" prop="msg_unread_group_minute">
|
||||||
<label>{{ $L('未读时长') }}</label>
|
|
||||||
<InputNumber v-model="formData.msg_unread_group_minute" :min="0" :step="1"/>
|
<InputNumber v-model="formData.msg_unread_group_minute" :min="0" :step="1"/>
|
||||||
<label>{{ $L('分钟') }}</label>
|
<label>{{ $L('分钟') }}</label>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user