Procházet zdrojové kódy

删除勾选错误提示

duy před 1 týdnem
rodič
revize
24fb70f09d

+ 4 - 4
src/views/data-fill/query.vue

@@ -1100,7 +1100,7 @@ const resignModalRadio = ref(0)
 const resignClick = async ()=>{
     const rows = tableCheckedKeys.value
     if (rows.length <= 0) {
-        window.$message?.warning('勾选错误!只能操作待审批和已审批数据')
+        window.$message?.warning('只能操作待审批和已审批数据')
         return
     }
 
@@ -1148,7 +1148,7 @@ const saveAginClick = async ()=>{
 const rows = tableCheckedKeys.value
 const taskIds = rows.map(row => row.taskId)
 if (taskIds.some(id => id)) {
-    window.$message?.warning('勾选错误!只能操作未上报的数据')
+    window.$message?.warning('只能操作未上报的数据')
     return
 }
 const objArr = rows.map(row => ({
@@ -1431,7 +1431,7 @@ const resignModalRadio1 = ref(0)
 const resignClick1 = ()=>{
      const rows = tableCheckedKeys.value
     if (rows.length <= 0) {
-        window.$message?.warning('勾选错误!只能操作待审批和已审批数据')
+        window.$message?.warning('只能操作待审批和已审批数据')
         return
     }
         //获取任务id
@@ -1440,7 +1440,7 @@ const resignClick1 = ()=>{
     let isCan = idsArr.some(ele=>!ele)
   
     if (isCan) {
-        window.$message?.warning('勾选错误!只能操作待审批和已审批数据')
+        window.$message?.warning('只能操作待审批和已审批数据')
         return
     }
     

+ 4 - 4
src/views/systemService/test.vue

@@ -1165,7 +1165,7 @@ const resignClick = async ()=>{
 
     
     if (rows.length <= 0) {
-        window.$message?.warning('勾选错误!只能操作待审批和已审批数据')
+        window.$message?.warning('只能操作待审批和已审批数据')
         return
     }
 
@@ -1215,7 +1215,7 @@ const saveAginClick = async ()=>{
 const rows = tableCheckedKeys.value
 const taskIds = rows.map(row => row.taskId)
 if (taskIds.some(id => id)) {
-    window.$message?.warning('勾选错误!只能操作未上报的数据')
+    window.$message?.warning('只能操作未上报的数据')
     return
 }
 const objArr = rows.map(row => ({
@@ -1494,7 +1494,7 @@ const resignModalRadio1 = ref(0)
 const resignClick1 = ()=>{
      const rows = tableCheckedKeys.value
     if (rows.length <= 0) {
-        window.$message?.warning('勾选错误!只能操作待审批和已审批数据')
+        window.$message?.warning('只能操作待审批和已审批数据')
         return
     }
       //获取任务id
@@ -1503,7 +1503,7 @@ const resignClick1 = ()=>{
     let isCan = idsArr.some(ele=>!ele)
   
     if (isCan) {
-        window.$message?.warning('勾选错误!只能操作待审批和已审批数据')
+        window.$message?.warning('只能操作待审批和已审批数据')
         return
     }