Browse Source

禁用button

cxs 2 tuần trước cách đây
mục cha
commit
7349e25234

+ 2 - 2
src/views/system/disposition/components/configurationAuthorization.vue

@@ -58,8 +58,8 @@
         </el-row>
       </div>
       <div class="disposition-bottom">
-        <el-button > 重置 </el-button>
-        <el-button type="primary"> 确定 </el-button>
+        <el-button disabled> 重置 </el-button>
+        <el-button type="primary" disabled> 确定 </el-button>
       </div>
     </div>
   </el-form>

+ 2 - 2
src/views/system/disposition/components/configurationBasic.vue

@@ -77,8 +77,8 @@
         </el-row>
       </div>
       <div class="disposition-bottom">
-        <el-button > 重置 </el-button>
-        <el-button type="primary"> 确定 </el-button>
+        <el-button disabled> 重置 </el-button>
+        <el-button type="primary" disabled> 确定 </el-button>
       </div>
     </div>
   </el-form>

+ 2 - 2
src/views/system/disposition/components/configurationGlobal.vue

@@ -131,8 +131,8 @@
         </el-row>
       </div>
       <div class="disposition-bottom">
-        <el-button > 重置 </el-button>
-        <el-button type="primary"> 确定 </el-button>
+        <el-button disabled> 重置 </el-button>
+        <el-button type="primary" disabled> 确定 </el-button>
       </div>
     </div>
   </el-form>

+ 2 - 2
src/views/system/disposition/components/distributionAutomatic.vue

@@ -70,8 +70,8 @@
       </el-table>
     </div>
     <div class="disposition-bottom">
-      <el-button > 重置 </el-button>
-      <el-button type="primary"> 确定 </el-button>
+      <el-button  disabled> 重置 </el-button>
+      <el-button type="primary" disabled> 确定 </el-button>
     </div>
     <!-- 添加或修改对话框 -->
     <el-dialog :title="dialog.title" v-model="dialog.visible" width="800px" append-to-body>

+ 3 - 3
src/views/system/disposition/components/serviceBeidou.vue

@@ -66,8 +66,8 @@
       </el-table>
     </div>
     <div class="disposition-bottom">
-      <el-button > 重置 </el-button>
-      <el-button type="primary"> 确定 </el-button>
+      <el-button disabled> 重置 </el-button>
+      <el-button type="primary" disabled> 确定 </el-button>
     </div>
     <!-- 添加或修改对话框 -->
     <el-dialog :title="dialog.title" v-model="dialog.visible" width="800px" append-to-body>
@@ -123,7 +123,7 @@ const getList=async ()=>{
   const {data}=await getBeidouAllSysItem()
   processTableData.value=data.list
 
- 
+
 }
 
 // 查询功能

+ 14 - 14
src/views/system/role/index.vue

@@ -11,7 +11,7 @@
             <el-form-item>
               <el-button type="primary" @click="handleQuery"> 查询 </el-button>
               <el-button style="margin-left: 10px" @click="resetQuery"> 重置 </el-button>
-              <el-button  style="margin-left: 10px" type="primary" plain  @click="handleAdd"> 新增 </el-button>
+              <el-button  style="margin-left: 10px" type="primary" plain  @click="handleAdd" disabled> 新增 </el-button>
             </el-form-item>
           </el-form>
         </div>
@@ -39,18 +39,18 @@
                     </el-icon>
                   </el-button>
                 </el-tooltip>
-<!--                <el-tooltip-->
-<!--                  class="box-item"-->
-<!--                  effect="dark"-->
-<!--                  content="删除"-->
-<!--                  placement="top"-->
-<!--                >-->
-<!--                  <el-button type="primary" link  @click="handleDelete(scope.row)">-->
-<!--                    <el-icon >-->
-<!--                      <Delete />-->
-<!--                    </el-icon>-->
-<!--                  </el-button>-->
-<!--                </el-tooltip>-->
+                <el-tooltip
+                  class="box-item"
+                  effect="dark"
+                  content="删除"
+                  placement="top"
+                >
+                  <el-button disabled type="primary" link  @click="handleDelete(scope.row)">
+                    <el-icon >
+                      <Delete />
+                    </el-icon>
+                  </el-button>
+                </el-tooltip>
               </template>
             </template>
           </el-table-column>
@@ -99,7 +99,7 @@
       <template #footer>
         <div class="dialog-footer">
           <el-button @click="cancel">取 消</el-button>
-          <el-button type="primary" @click="submitForm">确 定</el-button>
+          <el-button type="primary" @click="submitForm" disabled>确 定</el-button>
         </div>
       </template>
     </el-dialog>

+ 3 - 3
src/views/system/stations/components/newspapers.vue

@@ -218,9 +218,9 @@
        </el-row>
       </div>
       <div class="disposition-bottom">
-        <el-button > 取消 </el-button>
-        <el-button type="primary" plain> 上一步 </el-button>
-        <el-button type="primary"> 完成 </el-button>
+        <el-button disabled> 取消 </el-button>
+        <el-button type="primary" plain disabled> 上一步 </el-button>
+        <el-button type="primary" disabled> 完成 </el-button>
       </div>
     </div>
   </el-form>

+ 2 - 2
src/views/system/stations/components/parametersBasic.vue

@@ -532,8 +532,8 @@
         </el-row>
       </div>
       <div class="disposition-bottom">
-        <el-button> 取消</el-button>
-        <el-button type="primary"> 下一步</el-button>
+        <el-button disabled> 取消</el-button>
+        <el-button type="primary" disabled> 下一步</el-button>
       </div>
     </div>
   </el-form>

+ 5 - 5
src/views/system/stations/components/strategySafeguard.vue

@@ -105,9 +105,9 @@
         </el-row>
       </div>
       <div class="disposition-bottom">
-        <el-button > 取消 </el-button>
-        <el-button type="primary" plain> 上一步 </el-button>
-        <el-button type="primary"> 下一步 </el-button>
+        <el-button disabled> 取消 </el-button>
+        <el-button type="primary" plain disabled> 上一步 </el-button>
+        <el-button type="primary" disabled> 下一步 </el-button>
       </div>
     </div>
   </el-form>
@@ -212,7 +212,7 @@
     <template #footer>
       <div class="dialog-footer">
         <el-button @click="cancel">取 消</el-button>
-<!--        <el-button type="primary" @click="submitForm">确 定</el-button>-->
+        <el-button type="primary" @click="submitForm" disabled>确 定</el-button>
       </div>
     </template>
   </el-dialog>
@@ -353,7 +353,7 @@
     <template #footer>
       <div class="dialog-footer">
         <el-button @click="cancel">取 消</el-button>
-        <el-button type="primary" @click="submitForm">确 定</el-button>
+        <el-button type="primary" @click="submitForm" disabled>确 定</el-button>
       </div>
     </template>
   </el-dialog>

+ 3 - 3
src/views/system/stations/components/threshold.vue

@@ -153,9 +153,9 @@
         </el-row>
       </div>
       <div class="disposition-bottom">
-        <el-button > 取消 </el-button>
-        <el-button type="primary" plain> 上一步 </el-button>
-        <el-button type="primary"> 下一步 </el-button>
+        <el-button disabled> 取消 </el-button>
+        <el-button type="primary" plain disabled> 上一步 </el-button>
+        <el-button type="primary" disabled> 下一步 </el-button>
       </div>
     </div>
   </el-form>

+ 1 - 1
src/views/system/user/index.vue

@@ -14,7 +14,7 @@
             <el-form-item>
               <el-button type="primary" @click="handleQuery"> 查询 </el-button>
               <el-button style="margin-left: 10px" @click="resetQuery"> 重置 </el-button>
-<!--              <el-button  style="margin-left: 10px" type="primary" plain  @click="handleAdd"> 新增 </el-button>-->
+              <el-button  style="margin-left: 10px" type="primary" plain  @click="handleAdd" disabled> 新增 </el-button>
             </el-form-item>
           </el-form>
         </div>