|
|
@@ -63,6 +63,7 @@ import SearchBar from '@/components/form/SearchBar.vue';
|
|
|
import Touchable from '@/components/feedback/Touchable.vue';
|
|
|
import SimplePageListLoader from '@/components/loader/SimplePageListLoader.vue';
|
|
|
import Button from '@/components/basic/Button.vue';
|
|
|
+import { confirm, toast } from '@/components/utils/DialogAction';
|
|
|
|
|
|
const search = ref('');
|
|
|
/** 与接口一致:-100=全部,其余为 progress 精确筛选 */
|
|
|
@@ -112,14 +113,29 @@ function openEdit(item: InheritorCheckListRow) {
|
|
|
function openReview(item: InheritorCheckListRow) {
|
|
|
const cid = item.checkId;
|
|
|
const uid = item.userId;
|
|
|
- if (!cid || uid == null) {
|
|
|
- return;
|
|
|
- }
|
|
|
- navTo('./evaluation-form-review', {
|
|
|
- id: cid,
|
|
|
- userId: uid,
|
|
|
- progress: item.progress ?? '',
|
|
|
- });
|
|
|
+ confirm({
|
|
|
+ title: '提示',
|
|
|
+ content: '管理员请登录电脑版,审核浏览更方便, 地址 https://zycj.wenlvti.net/',
|
|
|
+ confirmText: '确认',
|
|
|
+ cancelText: '取消',
|
|
|
+ }).then((res) => {
|
|
|
+ if (!res) {
|
|
|
+ uni.setClipboardData({
|
|
|
+ data: 'https://zycj.wenlvti.net/',
|
|
|
+ toast: false,
|
|
|
+ success: () => {
|
|
|
+ toast('已复制网址到剪贴板,请在电脑上打开!');
|
|
|
+ },
|
|
|
+ })
|
|
|
+ return;
|
|
|
+ } else {
|
|
|
+ navTo('./evaluation-form-review', {
|
|
|
+ id: cid,
|
|
|
+ userId: uid,
|
|
|
+ progress: item.progress ?? '',
|
|
|
+ });
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
const loader = useSimplePageListLoader(20, async (page, pageSize) => {
|