Browse Source

校端后勤

ZhaoJing 1 year ago
parent
commit
42bc4b809b

+ 2 - 2
src/pages/xdhq/sbbx/bxlb.vue

@@ -251,8 +251,8 @@ init()
         <!-- <el-form-item label="上级编号">
         <el-input v-model="queryForm_Data.cs_pid" clearable />
       </el-form-item> -->
-        <el-form-item label="类别名称">
-          <el-input v-model="queryForm_Data.cs_name" clearable />
+        <el-form-item label="">
+          <el-input placeholder="类别名称" v-model="queryForm_Data.cs_name" clearable />
         </el-form-item>
         <!-- <el-form-item label="字典编号">
         <el-input v-model="queryForm_Data.cs_code" clearable />

+ 1 - 1
src/pages/xdhq/sbbx/index.vue

@@ -306,7 +306,7 @@ init()
   </div>
   <div class="card flex-grow flex flex-col">
     <div class="flex justify-between">
-      <div>
+      <div class="flex">
         <!-- <import-button @success="queryApi" :url="URL_CUT_REF"></import-button> -->
         <el-button @click="handleTableRowBtn_export" type="primary">导出</el-button>
         <el-button @click="handleTableRowBtn_add" type="primary">设备报修</el-button>

+ 3 - 2
src/pages/xdhq/sbsg/index.vue

@@ -6,6 +6,7 @@ import { pick } from 'lodash-es';
 import { ElMessage } from 'element-plus'
 import type { FormInstance, FormRules } from 'element-plus'
 import type { AxiosRequestConfig } from 'axios'
+import { user } from "~/store/user";
 
 // #region (constant)
 const TABLE_KEY = 'xhs_id'
@@ -406,7 +407,7 @@ request({
 <template>
   <div class="card flex-grow flex flex-col">
     <div class="flex justify-between">
-      <div>
+      <div class="flex">
         <import-button @success="queryApi" :url="URL_CUT_REF"></import-button>
         <el-button @click="handleTableRowBtn_export" type="primary">导出</el-button>
         <!-- <el-button @click="handleTableRowBtn_add" type="primary">新增</el-button> -->
@@ -504,7 +505,7 @@ request({
             <!-- <el-button link :auto-insert-space="false" @click="handleTableColBtn_edit(scope)" type="primary">编辑
             </el-button> -->
             <el-button link :auto-insert-space="false" @click="handleTableColBtn_audit(scope)" type="primary"
-              :disabled="scope.row.xhs_spzt_option_k !== '1'">审核
+              :disabled="scope.row.xhs_spzt_option_k !== '1' || scope.row.xhs_spr !== user.user_realname">审核
             </el-button>
             <!-- <el-button link :auto-insert-space="false" @click="handleTableColBtn_detail(scope)" type="primary">详情
             </el-button>

+ 1 - 1
src/pages/xdhq/xcgl/xcgl/index.vue

@@ -266,7 +266,7 @@ init()
   <div class="card flex-grow flex flex-col">
 
     <div class="flex justify-between">
-      <div>
+      <div class="flex">
         <import-button @success="queryApi" :url="URL_CUT_REF"></import-button>
         <el-button @click="handleTableRowBtn_export" type="primary">导出</el-button>
         <el-button @click="handleTableRowBtn_add" type="primary">新增</el-button>

+ 1 - 1
src/pages/xdhq/zyyy/cdgl.vue

@@ -275,7 +275,7 @@ init()
 <template>
   <div class="card flex-grow flex flex-col">
     <div class="flex justify-between">
-      <div>
+      <div class="flex">
         <import-button @success="queryApi" :url="URL_CUT_REF"></import-button>
         <el-button @click="handleTableRowBtn_export" type="primary">导出</el-button>
         <el-button @click="handleTableRowBtn_add" type="primary">新增</el-button>

+ 1 - 1
src/pages/xdhq/zyyy/cdlbgl.vue

@@ -254,7 +254,7 @@ init()
 <template>
   <div class="card flex-grow flex flex-col">
     <div class="flex justify-between">
-      <div>
+      <div class="flex">
         <import-button @success="queryApi" :url="URL_CUT_REF"></import-button>
         <el-button @click="handleTableRowBtn_export" type="primary">导出</el-button>
         <el-button @click="handleTableRowBtn_add" type="primary">新增</el-button>