Forráskód Böngészése

fix: 宣教库修改

han 2 éve
szülő
commit
cf55a516b3

+ 1 - 7
src/views/biz/mission/article/data.ts

@@ -34,6 +34,7 @@ export const dataFormSchema: FormSchema[] = [
   {
     label: '宣教标题',
     field: 'title',
+    required: true,
     component: 'Input',
     componentProps: {},
   },
@@ -78,10 +79,3 @@ export const dataFormSchema: FormSchema[] = [
     },
   },
 ];
-// // 表单详情查看
-// export const viewSchema: DescItem[] = [
-//   {
-//     label: '操作名称',
-//     field: 'opName',
-//   },
-// ];

+ 0 - 18
src/views/biz/mission/article/index.vue

@@ -172,21 +172,6 @@
   const { createMessage } = useMessage();
   const [registerDrawer, { openDrawer }] = useDrawer();
   const [registerImpModal, { openModal: openImpModal }] = useModal();
-  // const [registerModalView] = useModal();
-  //预览
-  // const previewImg = ref(null);
-  // const handleRowClick = () => {
-  //   previewImg.value.clickHandler();
-  // };
-
-  // 预览文件地址
-  // function rowClick(record: any, index: number) {
-  //   return {
-  //     onclick: () => {
-  //       console.log(record, index);
-  //     },
-  //   };
-  // }
   const [registerTable, { reload, clearSelectedRowKeys }] = useTable({
     api: articleList,
     batchDelApi: articleStatus,
@@ -319,9 +304,6 @@
     console.log('callForm:::', searchNames.value);
     await reload();
   }
-  // formValue.patientName = data.patientName ? data.patientName : '';
-  //   formValue.tableSort = data.tableSort ? data.tableSort : '';
-  //   await reload();
 </script>
 <style lang="less" scoped>
   .table-dot {