loulijun2021
2023-01-04 0b1837e9b6d1ac8825e9c1acf6f0cd5b2b14a897
src/views/jcsz/zzjg.vue
@@ -11,10 +11,10 @@
          :model="form"
          label-width="100px"
          inline
          style="display: flex;justify-content: space-between"
          style="display: flex;"
        >
          <div class="elForm">
            <el-form-item label-width="70px" label="组织编码" style=" display: flex;">
            <el-form-item label="组织编码" style=" display: flex;">
              <el-input v-model="form.OrgCode" placeholder="请输入" style="width: 200px" />
            </el-form-item>
            <el-form-item label="组织名称" style=" display: flex;">
@@ -40,7 +40,10 @@
              <el-input v-model="form.UserName" style="width: 200px" placeholder="请输入" />
            </el-form-item>
          </div>
          <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}">
          <div
            class="bodySearchReset"
            :style="{marginLeft:$store.state.app.sidebar.opened? $store.state.settings.menuIsHorizontal?'15%':'3%':'10%'}"
          >
            <el-button type="primary" icon="el-icon-search" @click="search">查询</el-button>
            <el-button type="info" icon="el-icon-refresh" @click="reset">重置</el-button>
          </div>
@@ -50,6 +53,7 @@
        />
      </div>
      <div class="elTableDiv">
        <TableColumnSettings :list1="list1" />
        <el-table
          ref="tableDataRef"
          class="tableFixed"
@@ -137,11 +141,18 @@
            <template slot-scope="{row}">
              <div class="operationClass">
                <el-tooltip class="item" effect="dark" content="编辑" placement="top">
                  <i class="el-icon-edit-outline" @click="edit('edit',row)" />
                  <i
                    :style="{color:$store.state.settings.theme}"
                    class="el-icon-edit-outline"
                    @click="edit('edit',row)"
                  />
                </el-tooltip>
                <el-tooltip v-del-tab-index class="item" effect="dark" content="删除" placement="top">
                  <i class="el-icon-delete" @click="del(row.id)" />
                  <i :style="{color:$store.state.settings.theme}" class="el-icon-delete" @click="del(row.id)" />
                </el-tooltip>
                <!--                <el-button type="primary" size="mini" />-->
                <!--                <el-button type="danger" size="mini">删除</el-button>-->
              </div>
            </template>
          </el-table-column>
@@ -226,13 +237,14 @@
import { AddUpdateOrganization, DeleteOrganization, OrganizationSearch, PrentOrganization } from '@/api/jcsz'
import { getCookie } from '@/utils/auth'
import { validateCode } from '@/utils/global'
import TableColumnSettings from '@/components/TableColumnSettings'
// const SER_HZ = /^[\u4e00-\u9fa5]+$/
// const SER_HZ = /^[a-zA-Z0-9_;,.<>() ]{0,}$/
export default {
  name: 'ZZJG',
  components: {
    Pagination
    Pagination, TableColumnSettings
  },
  data() {
    // const validateName = (rule, value, callback) => {
@@ -275,6 +287,14 @@
        { label: '车间', value: 'W' }
        // { label: '科室', value: 'K' },
        // { label: '生产线', value: 'L' }
      ],
      list1: [
        { name: '预计开工时间', id: 1 },
        { name: '楼李俊1', id: 2 },
        { name: '楼李俊2', id: 3 },
        { name: '楼李俊3', id: 4 },
        { name: '楼李俊4', id: 5 }
      ],
      total: 10,
@@ -604,7 +624,7 @@
//}
</style>
<style>
.osloading{
.osloading {
  font-size: 30px;
}