Browse Source

style: 宽度1440px样式

ystl_myq 8 months ago
parent
commit
49860b9340

+ 1 - 1
src/layout/components/appMain.vue

@@ -115,7 +115,7 @@ const transitionMain = defineComponent({
               :wrap-style="{
                 display: 'flex',
                 'flex-wrap': 'wrap',
-                'max-width': getMainWidth,
+                // 'max-width': getMainWidth,
                 margin: '0 auto',
                 transition: 'all 300ms cubic-bezier(0.4, 0, 0.2, 1)'
               }"

+ 8 - 2
src/views/background/framework/proson/prosonDepartment.vue

@@ -5,6 +5,7 @@ defineOptions({
 });
 import { ref, reactive } from "vue";
 import { ElMessageBox, ElMessage } from "element-plus";
+import { Search } from "@element-plus/icons-vue";
 import prosonEditDrawer from "./components/prosonEditDrawer.vue";
 import newDepartment from "./components/newDepartment.vue";
 import addPerson from "./components/addPerson.vue";
@@ -192,7 +193,7 @@ const editRoles = row => {
     <changeRole ref="changeRoleRef" v-model="changeRoleShow" />
     <!-- 主体内容 -->
     <div class="box-left">
-      <el-input placeholder="搜索" class="mb-2" />
+      <el-input placeholder="搜索" class="mb-2" :prefix-icon="Search" />
       <el-tree
         class="m-2 mr-8"
         style="max-width: 600px"
@@ -232,7 +233,12 @@ const editRoles = row => {
     </div>
     <div class="box-right">
       <div class="flex justify-between mb-3">
-        <el-input placeholder="搜索" class="mb-2" style="max-width: 300px" />
+        <el-input
+          :prefix-icon="Search"
+          placeholder="搜索"
+          class="mb-2"
+          style="max-width: 300px"
+        />
         <el-button type="primary" @click="AddPerson">添加成员</el-button>
       </div>
       <el-table :data="tableData" style="width: 100%">

+ 7 - 1
src/views/evaluate/children/change/manage.vue

@@ -5,6 +5,8 @@ defineOptions({
 import { useRouter } from "vue-router";
 import { ref } from "vue";
 import addExam from "./manage/addExam.vue";
+import { Search } from "@element-plus/icons-vue";
+
 const addExamRef = ref();
 const addExamShow = ref(false);
 const router = useRouter();
@@ -52,7 +54,11 @@ const setDelete = (row: any) => {};
     <div class="mb-2 flex gap-2 justify-between flex-wrap">
       <div class="flex mt-2">
         <div class="flex mr-2">
-          <el-input style="width: 500px" placeholder="搜索考核模板" />
+          <el-input
+            style="width: 500px"
+            placeholder="搜索考核模板"
+            :prefix-icon="Search"
+          />
         </div>
       </div>
       <div class="flex pt-2 mr-6">

+ 6 - 1
src/views/evaluate/children/change/mould.vue

@@ -4,6 +4,7 @@ defineOptions({
 });
 import { ref } from "vue";
 import { useRouter } from "vue-router";
+import { Search } from "@element-plus/icons-vue";
 import copyMould from "./mould/copyMould.vue";
 const copyMouldRef = ref();
 const copyMouldShow = ref(false);
@@ -51,7 +52,11 @@ const setCopy = (row: any) => {
     <div class="mb-2 flex gap-2 justify-between flex-wrap">
       <div class="flex mt-2">
         <div class="flex mr-2">
-          <el-input style="width: 500px" placeholder="搜索考核模板" />
+          <el-input
+            style="width: 500px"
+            placeholder="搜索考核模板"
+            :prefix-icon="Search"
+          />
         </div>
       </div>
       <div class="flex pt-2 mr-6">

+ 2 - 0
src/views/indexDefine/children/define.vue

@@ -10,6 +10,7 @@ import IndexDefineImport from "./import/index.vue";
 import { Edit, More } from "@element-plus/icons-vue";
 import { ElMessage, ElMessageBox } from "element-plus";
 import { Delete, Check } from "@element-plus/icons-vue";
+import { Search } from "@element-plus/icons-vue";
 const value = ref("");
 const dialogShow = ref();
 const EditdrawerShow = ref();
@@ -214,6 +215,7 @@ const offShelf = row => {
             <div class="flex mr-2">
               <el-input
                 style="width: 300px"
+                :prefix-icon="Search"
                 placeholder="搜索指标名称、编码、口径、定义"
               />
             </div>