Browse Source

111111111

chenrui  1 year ago
parent
commit
de999bf794

+ 5 - 5
src/views/systemSettings/datastructure/index.vue

@@ -174,11 +174,11 @@ const addForm = () => {
 const resetForm = () => {
   datastructureForm.value?.resetFields();
   flag.value = false;
-  // tableForm.dataStructureID = "";
-  // tableForm.structureName = "";
-  // tableForm.datatype = "";
-  // tableForm.eventID = "";
-  // tableForm.dataDescribe = "";
+  tableForm.dataStructureID = "";
+  tableForm.structureName = "";
+  tableForm.datatype = "";
+  tableForm.eventID = "";
+  tableForm.dataDescribe = "";
 };
 //编辑
 // const editDialog = (data) => {

+ 5 - 5
src/views/systemSettings/messageTemplate/index.vue

@@ -122,11 +122,11 @@ const addDialogShow = () => {
 const resetForm = () => {
   messageTemplateForm.value?.resetFields();
   dialogFlag.value = false;
-  // Object.keys(messageForm).forEach((key) => {
-  //   messageForm.newsId = "";
-  //   messageForm.newsTitle = "";
-  //   messageForm.newContent = "";
-  // });
+  Object.keys(messageForm).forEach((key) => {
+    messageForm.newsId = "";
+    messageForm.newsTitle = "";
+    messageForm.newContent = "";
+  });
 };
 const btnClick = (rowIndex: number, row: any, param: number) => {
   if (param === 2) {

+ 7 - 7
src/views/systemSettings/protocolManagement/index.vue

@@ -187,13 +187,13 @@ const addForm = () => {
 const resetForm = () => {
   protocolManagement.value?.resetFields();
   flag.value = false;
-  // tableForm.protocolID = "";
-  // tableForm.protocolName = "";
-  // tableForm.protocolType = "";
-  // tableForm.filePath = "";
-  // tableForm.className = "";
-  // tableForm.rmethodName = "";
-  // tableForm.smethodName = "";
+  tableForm.protocolID = "";
+  tableForm.protocolName = "";
+  tableForm.protocolType = "";
+  tableForm.filePath = "";
+  tableForm.className = "";
+  tableForm.rmethodName = "";
+  tableForm.smethodName = "";
 };
 //编辑-删除
 const btnClick = (row, index, param) => {

+ 5 - 5
src/views/systemSettings/sourceTube/index.vue

@@ -153,11 +153,11 @@ const addForm = () => {
 const resetForm = () => {
   sourceTubeForm.value?.resetFields();
   flag.value = false;
-  // tableForm.dataSourceID = "";
-  // tableForm.protocolID = "";
-  // tableForm.dataSourceName = "";
-  // tableForm.connectConfig = "";
-  // tableForm.protocolName = "";
+  tableForm.dataSourceID = "";
+  tableForm.protocolID = "";
+  tableForm.dataSourceName = "";
+  tableForm.connectConfig = "";
+  tableForm.protocolName = "";
 };
 //编辑
 // const editDialog = (data) => {