SelectDemo.vue 22.9 KB
Newer Older
1
<template>
2
  <a-card :bordered="false" style="height:100%;padding-bottom:200px; ">
3 4

    <div class="table-page-search-wrapper">
5
      <a-form layout="inline" :form="form">
6 7 8


        <!--  字典下拉 -->
9 10
        <a-row :gutter="24">
          <a-col :span="12">
11
            <a-form-item label="性别">
12
              <j-dict-select-tag v-model="formData.sex" title="性别" dictCode="sex" placeholder="请选择性别"/>
13
              <!--  <j-dict-select-tag title="性别" dictCode="sex" disabled/>-->
14 15
            </a-form-item>
          </a-col>
16
          <a-col :span="12">选中值:{{ formData.sex}}</a-col>
17 18
        </a-row>

19
        <!--  字典表下拉 -->
20 21
        <a-row :gutter="24">
          <a-col :span="12">
22 23
            <a-form-item label="字典表下拉">
              <j-dict-select-tag v-model="formData.user" placeholder="请选择用户" dictCode="sys_user,realname,id"/>
24 25
            </a-form-item>
          </a-col>
26
          <a-col :span="12">选中值:{{ formData.user}}</a-col>
27 28
        </a-row>

29
        <!--  带条件字典表下拉 -->
30 31
        <a-row :gutter="24">
          <a-col :span="12">
32 33
            <a-form-item label="字典表下拉(带条件)">
              <j-dict-select-tag v-model="formData.user2" placeholder="请选择用户" dictCode="sys_user,realname,id,username!='admin' order by create_time"/>
34 35
            </a-form-item>
          </a-col>
36
          <a-col :span="12">选中值:{{ formData.user2}}</a-col>
37 38
        </a-row>

39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58

        <!-- 字典搜索  -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="字典搜索(同步)">
              <j-search-select-tag placeholder="请做出你的选择" v-model="formData.searchValue" :dictOptions="searchOptions">
              </j-search-select-tag>
            </a-form-item>
          </a-col>
          <a-col :span="12">选中值:{{ formData.searchValue}}</a-col>
        </a-row>

        <!--  字典搜索 异步加载 -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="字典搜索(异步)">
              <j-search-select-tag
                placeholder="请做出你的选择"
                v-model="formData.asyncSelectValue"
                dict="sys_depart,depart_name,id"
59
                :pageSize="6"
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
                :async="true">
              </j-search-select-tag>
            </a-form-item>
          </a-col>
          <a-col :span="12">选中值:{{ formData.asyncSelectValue}}</a-col>
        </a-row>

        <!--  JMultiSelectTag -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="字典下拉(多选)">
              <j-multi-select-tag
                v-model="formData.selMuti"
                dictCode="sex"
                placeholder="请选择">
              </j-multi-select-tag>
            </a-form-item>
          </a-col>
          <a-col :span="12">多选组合(v-model):{{ formData.selMuti }}</a-col>
        </a-row>

81 82 83
        <!--  部门选择控件 -->
        <a-row :gutter="24">
          <a-col :span="12">
84
            <a-form-item label="选择部门 自定义返回值">
85
              <j-select-depart v-model="orgCodes" :trigger-change="true" customReturnField="orgCode" :multi="true"></j-select-depart>
86 87
            </a-form-item>
          </a-col>
88
          <a-col :span="12">选中的部门Code(v-decorator):{{ orgCodes }}</a-col>
89 90 91 92 93
        </a-row>

        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="选择部门">
94
              <j-select-depart v-model="departId" :multi="true"></j-select-depart>
95 96 97 98 99
            </a-form-item>
          </a-col>
          <a-col :span="12">选中的部门ID(v-model):{{ departId }}</a-col>
        </a-row>

100
        <!--  通过部门选择用户控件 -->
101 102 103
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="选择用户">
104
              <j-select-user-by-dep v-model="userIds" :multi="true"></j-select-user-by-dep>
105 106
            </a-form-item>
          </a-col>
107
          <a-col :span="12">选中的用户(v-model):{{ userIds }}</a-col>
108 109 110 111 112 113
        </a-row>

        <!--  用户选择控件 -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="选择用户">
114
              <j-select-multi-user v-model="multiUser" :query-config="selectUserQueryConfig"/>
115 116 117 118 119
            </a-form-item>
          </a-col>
          <a-col :span="12">选中的用户(v-model):{{ multiUser }}</a-col>
        </a-row>

120 121 122 123
        <!-- 角色选择 -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="选择角色">
124
              <j-select-role v-model="formData.selectRole" @change="changeMe"/>
125 126 127 128 129
            </a-form-item>
          </a-col>
          <a-col :span="12">选中值:{{ formData.selectRole}}</a-col>
        </a-row>

130 131 132 133
        <!-- 职务选择 -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="选择职务">
134
              <j-select-position  :buttons="false" v-model="formData.selectPosition" />
135 136 137 138 139
            </a-form-item>
          </a-col>
          <a-col :span="12">选中值:{{ formData.selectPosition}}</a-col>
        </a-row>

140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
        <!--  JCheckbox -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="多选组合">
              <j-checkbox
                v-model="jcheckbox.values"
                :options="jcheckbox.options"
              />
            </a-form-item>
          </a-col>
          <a-col :span="12">多选组合(v-model):{{ jcheckbox.values }}</a-col>
        </a-row>

        <!--  JCodeEditor -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="代码输入框" style="min-height: 120px">
              <j-code-editor
                language="javascript"
                v-model="jcodedditor.value"
                :fullScreen="true"
                style="min-height: 100px"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">代码输入框(v-model):{{ jcodedditor.value }}</a-col>
        </a-row>

        <!--  JDate -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="日期选择框">
              <j-date v-model="jdate.value" :showTime="true" dateFormat="YYYY-MM-DD HH:mm:ss"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">日期选择框(v-model):{{ jdate.value }}</a-col>
        </a-row>

        <!-- JEditor -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="富文本编辑器" style="min-height: 300px">
              <j-editor v-model="jeditor.value"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">富文本编辑器(v-model):{{ jeditor.value }}</a-col>
        </a-row>

        <!-- JEllipsis -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="过长剪切">
              <j-ellipsis :value="jellipsis.value" :length="30"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">过长剪切:{{ jellipsis.value }}</a-col>
        </a-row>

        <!-- JSlider -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="滑块验证码">
              <j-slider @onSuccess="handleJSliderSuccess"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">滑块验证码验证通过:{{ jslider.value }}</a-col>
        </a-row>

        <!-- JSelectMultiple -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="多选下拉框">
              <j-select-multiple v-model="jselectMultiple.value" :options="jselectMultiple.options"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">多选下拉框(v-model):{{ jselectMultiple.value }}</a-col>
        </a-row>

        <!-- JSelectMultiple -->
        <a-row :gutter="24">
          <a-col>

221 222 223 224 225
            <a-form-item label="JModal弹窗">
              <a-button style="margin-right: 8px;" @click="()=>modal.visible=true">点击弹出JModal</a-button>
              <span style="margin-right: 8px;">全屏化:<a-switch v-model="modal.fullscreen"/></span>
              <span style="margin-right: 8px;">允许切换全屏:<a-switch v-model="modal.switchFullscreen"/></span>

226 227
            </a-form-item>

228 229 230 231 232 233 234
            <j-modal
              :visible.sync="modal.visible"
              :width="1200"
              :title="modal.title"
              :fullscreen.sync="modal.fullscreen"
              :switchFullscreen="modal.switchFullscreen"
            >
235 236 237 238 239

              <template v-for="(i,k) of 30">
                <p :key="k">这是主体内容,高度是自适应的</p>
              </template>

240
            </j-modal>
241 242 243 244

          </a-col>
        </a-row>

245 246 247
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="树字典">
248
              <j-tree-dict v-model="formData.treeDict" placeholder="请选择树字典" parentCode="B01" />
249 250
            </a-form-item>
          </a-col>
251
          <a-col :span="12">选中的值(v-model):{{ formData.treeDict }}</a-col>
252 253
        </a-row>

254 255 256 257 258 259 260 261 262 263 264 265
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="下拉树选择">
              <j-tree-select
                v-model="formData.treeSelect"
                placeholder="请选择菜单"
                dict="sys_permission,name,id"
                pidField="parent_id"
                pidValue=""
              />
            </a-form-item>
          </a-col>
266
          <a-col :span="12">选中的值(v-model):{{ formData.treeSelect }}</a-col>
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281
        </a-row>

        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="下拉树多选">
              <j-tree-select
                v-model="formData.treeSelectMultiple"
                placeholder="请选择菜单"
                dict="sys_permission,name,id"
                pidField="parent_id"
                pidValue=""
                multiple
              />
            </a-form-item>
          </a-col>
282 283 284 285 286 287 288
          <a-col :span="12">选中的值(v-model):{{ formData.treeSelectMultiple }}</a-col>
        </a-row>

        <!-- 分类字典树 -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="分类字典树">
289
              <j-category-select v-model="formData.selectCategory" pcode="B01" :multiple="true"/>
290 291 292
            </a-form-item>
          </a-col>
          <a-col :span="12">选中的值(v-model):{{ formData.selectCategory }}</a-col>
293 294
        </a-row>

295 296 297 298
        <!-- VueCron -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="cron表达式">
299
              <j-cron ref="innerVueCron" v-decorator="['cronExpression', { initialValue: '* * * * * ? *' }]" @change="setCorn"></j-cron>
300 301 302
            </a-form-item>
          </a-col>
        </a-row>
303 304 305 306 307 308 309 310 311 312 313 314 315

        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="高级查询">
              <j-super-query :fieldList="superQuery.fieldList" />
            </a-form-item>
          </a-col>
        </a-row>

        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="高级查询(自定义按钮)">
              <j-super-query :fieldList="superQuery.fieldList">
316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335
                <!--
                    v-slot:button 可以更高自由的定制按钮
                    参数介绍:
                      isActive: 是否是激活状态(已有高级查询条件生效)
                      isMobile: 当前是否是移动端,可针对移动端展示不同的样式
                          open: 打开弹窗,一个方法,可绑定点击事件
                         reset: 重置所有查询条件,一个方法,可绑定点击事件
                -->
                <template v-slot:button="{isActive,isMobile,open,reset}">
                  <!-- 定义的是普通状态下的按钮 -->
                  <a-button v-if="!isActive" type="primary" ghost icon="clock-circle" @click="open()">高级查询</a-button>
                  <!-- 定义的当有高级查询条件生效状态下的按钮 -->
                  <a-button-group v-else>
                    <a-button type="primary" ghost @click="open()">
                      <a-icon type="plus-circle" spin/>
                      <span>高级查询</span>
                    </a-button>
                    <a-button v-if="isMobile" type="primary" ghost icon="delete" @click="reset()"/>
                  </a-button-group>
                </template>
336 337 338 339
              </j-super-query>
            </a-form-item>
          </a-col>
        </a-row>
340

341 342 343 344 345 346
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="图片上传">
              <j-image-upload v-model="imgList"></j-image-upload>
            </a-form-item>
          </a-col>
347
          <a-col :span="12">选中的值(v-model):{{ imgList }}</a-col>
348 349 350 351 352 353 354
        </a-row>
        <a-row :gutter="24" style="margin-top: 65px;margin-bottom:50px;">
          <a-col :span="12">
            <a-form-item label="文件上传">
              <j-upload v-model="fileList"></j-upload>
            </a-form-item>
          </a-col>
355
          <a-col :span="12">
356 357 358 359 360
            选中的值(v-model):
            <j-ellipsis :value="fileList" :length="30" v-if="fileList.length>0"/>
          </a-col>
        </a-row>

361 362 363 364 365
        <!-- 特殊查询组件 -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="特殊查询组件">
              <a-row>
366
                <a-col :span="15">
367 368
                  <j-input v-model="formData.jInput" :type="jInput.type"/>
                </a-col>
369
                <a-col :span="4" style="text-align: right;" >查询类型:</a-col>
370 371 372 373 374 375 376 377
                <a-col :span="5">
                  <a-select v-model="jInput.type" :options="jInput.options"></a-select>
                </a-col>
              </a-row>
            </a-form-item>
          </a-col>
          <a-col :span="12">输入的值(v-model):{{ formData.jInput }}</a-col>
        </a-row>
378
        <a-row :gutter="24">
379 380 381 382 383 384 385 386
          <a-col :span="15">
            <a-form-item label="MarkdownEditor" style="min-height: 300px">
              <j-markdown-editor v-model="content"></j-markdown-editor>
            </a-form-item>
          </a-col>
          <a-col :span="9">
            输入的值(v-model):{{ content }}
          </a-col>
387
        </a-row>
388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422

        <!-- 省市县级联 -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="省市县级联">
              <j-area-linkage v-model="formData.areaLinkage1" type="cascader"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">输入的值(v-model):{{ formData.areaLinkage1 }}</a-col>
        </a-row>


        <!-- 省市县级联 -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="省市县级联">
              <j-area-linkage v-model="formData.areaLinkage2" type="select"/>
            </a-form-item>
          </a-col>
          <a-col :span="12">输入的值(v-model):{{ formData.areaLinkage2 }}</a-col>
        </a-row>

        <!-- 功能示例:关闭当前页面 -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="功能示例:关闭当前页面">
              <a-button type="primary" @click="handleCloseCurrentPage">点击关闭当前页面</a-button>
            </a-form-item>
          </a-col>
        </a-row>

        <!-- JPopup示例 -->
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-item label="JPopup示例">
423
              <j-popup v-model="formData.jPopup" code="demo" field="name" orgFields="name" destFields="name" :multi="true"/>
424 425 426 427 428
            </a-form-item>
          </a-col>
          <a-col :span="12">选择的值(v-model):{{ formData.jPopup }}</a-col>
        </a-row>

429 430 431 432 433 434 435
      </a-form>
    </div>

  </a-card>
</template>

<script>
436

437 438 439 440
  import JDictSelectTag from '../../components/dict/JDictSelectTag.vue'
  import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
  import JSelectUserByDep from '@/components/jeecgbiz/JSelectUserByDep'
  import JSelectMultiUser from '@/components/jeecgbiz/JSelectMultiUser'
441
  import JSelectRole from '@/components/jeecgbiz/JSelectRole'
442 443 444 445 446 447 448
  import JCheckbox from '@/components/jeecg/JCheckbox'
  import JCodeEditor from '@/components/jeecg/JCodeEditor'
  import JDate from '@/components/jeecg/JDate'
  import JEditor from '@/components/jeecg/JEditor'
  import JEllipsis from '@/components/jeecg/JEllipsis'
  import JSlider from '@/components/jeecg/JSlider'
  import JSelectMultiple from '@/components/jeecg/JSelectMultiple'
449
  import JTreeDict from "../../components/jeecg/JTreeDict.vue";
450
  import JCron from "@/components/jeecg/JCron.vue";
451
  import JTreeSelect from '@/components/jeecg/JTreeSelect'
452 453 454
  import JSuperQuery from '@/components/jeecg/JSuperQuery'
  import JUpload from '@/components/jeecg/JUpload'
  import JImageUpload from '@/components/jeecg/JImageUpload'
455 456 457 458 459
  import JSelectPosition from '@comp/jeecgbiz/JSelectPosition'
  import JCategorySelect from '@comp/jeecg/JCategorySelect'
  import JMultiSelectTag from '@comp/dict/JMultiSelectTag'
  import JInput from '@comp/jeecg/JInput'
  import JAreaLinkage from '@comp/jeecg/JAreaLinkage'
460
  import JMarkdownEditor from '@/components/jeecg/JMarkdownEditor/index'
461
  import JSearchSelectTag from '@/components/dict/JSearchSelectTag'
462

463
  export default {
464
    name: 'SelectDemo',
465
    inject:['closeCurrent'],
466
    components: {
467
      JMarkdownEditor,
468 469 470 471
      JAreaLinkage,
      JInput,
      JCategorySelect,
      JSelectPosition,
472 473
      JImageUpload,
      JUpload,
474
      JTreeDict,
475 476 477 478
      JDictSelectTag,
      JSelectDepart,
      JSelectUserByDep,
      JSelectMultiUser,
479
      JSelectRole,
480 481
      JCheckbox,
      JCodeEditor,
482 483 484
      JDate, JEditor, JEllipsis, JSlider, JSelectMultiple,
      JCron, JTreeSelect, JSuperQuery, JMultiSelectTag,
      JSearchSelectTag
485 486 487 488
    },
    data() {
      return {
        selectList: [],
489
        selectedDepUsers: '',
490 491 492 493 494
        formData: {
          areaLinkage1: '110105',
          areaLinkage2: '140221',
          sex: 1
        },
495
        form: this.$form.createForm(this),
496 497
        departId: '57197590443c44f083d42ae24ef26a2c,a7d7e77e06c84325a40932163adcdaa6',
        orgCodes: 'A02A01,A02A02',
498 499
        userIds: 'admin',
        multiUser: 'admin,jeecg',
500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538
        jcheckbox: {
          values: 'spring,jeecgboot',
          options: [
            { label: 'Jeecg', value: 'jeecg' },
            { label: 'Jeecg-Boot', value: 'jeecgboot' },
            { label: 'Spring', value: 'spring', disabled: true },
            { label: 'MyBaits', value: 'mybatis' }
          ]
        },
        jcodedditor: {
          value: `function sayHi(word) {
  alert(word)
}
sayHi('hello, world!')`
        },
        jdate: {
          value: '2019-5-10 15:33:06'
        },
        jeditor: {
          value: '<h2 style="text-align: center;">富文本编辑器</h2> <p>这里是富文本编辑器。</p>'
        },
        jellipsis: {
          value: '这是一串很长很长的文字段落。这是一串很长很长的文字段落。这是一串很长很长的文字段落。这是一串很长很长的文字段落。'
        },
        jslider: {
          value: false
        },
        jselectMultiple: {
          options: [
            { text: '字符串', value: 'String' },
            { text: '整数型', value: 'Integer' },
            { text: '浮点型', value: 'Double' },
            { text: '布尔型', value: 'Boolean' }
          ],
          value: 'Integer,Boolean'
        },
        modal: {
          title: '这里是标题',
          visible: false,
539 540
          fullscreen: true,
          switchFullscreen: true,
541
        },
542
        cron: '',
543 544 545 546
        superQuery: {
          fieldList: [
            { type: 'input', value: 'name', text: '姓名', },
            { type: 'select', value: 'sex', text: '性别', dictCode: 'sex' },
547 548 549 550 551 552 553 554 555 556
            { type: 'number', value: 'age', text: '年龄', },
            {
              type: 'select', value: 'hobby', text: '爱好',
              options: [
                { label: '音乐', value: '1' },
                { label: '游戏', value: '2' },
                { label: '电影', value: '3' },
                { label: '读书', value: '4' },
              ]
            },
557 558 559 560
          ]
        },
        fileList:[],
        imgList:[],
561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581
        jInput: {
          type: 'like',
          options: [
            { value: 'like', label: '模糊(like)' },
            { value: 'ne', label: '不等于(ne)' },
            { value: 'ge', label: '大于等于(ge)' },
            { value: 'le', label: '小于等于(le)' },
          ],
        },
        content: '',
        searchOptions:[{
          text:"选项一",
          value:"1"
        },{
          text:"选项二",
          value:"2"
        },{
          text:"选项三",
          value:"3"
        }],

582 583 584 585
        // 选择用户查询条件配置
        selectUserQueryConfig: [
          {key: 'phone', label: '电话'},
        ],
586 587 588
      }
    },
    computed: {
589 590 591
      nameList: function() {

        var names = []
592
        for (var a = 0; a < this.selectList.length; a++) {
593
          names.push(this.selectList[a].name)
594
        }
595
        return names
596 597 598 599 600
      }
    },
    methods: {
      handleChange() {
      },
601 602
      getDepartIdValue() {
        return this.form.getFieldValue('departId')
603
      },
604 605 606
      getOrgCodesValue() {
        return this.form.getFieldValue('orgCodes')
      },
607 608 609
      changeMe() {
        console.log('you so ...  , change Me')
      },
610 611 612 613 614
      selectOK: function(data) {
        this.selectList = data
      },
      handleSelect: function() {
        this.$refs.selectDemoModal.add()
615 616
      },
      selectReset() {
617
        this.selectList = []
618 619 620
      },
      //通过组织机构筛选选择用户
      onSearchDepUser() {
621
        this.$refs.JSearchUserByDep.showModal()
622
        this.selectedDepUsers = ''
623
        this.$refs.JSearchUserByDep.title = '根据部门查询用户'
624 625 626
      },
      onSearchDepUserCallBack(selectedDepUsers) {
        this.selectedDepUsers = selectedDepUsers
627 628 629 630
      },
      handleJSliderSuccess(value) {
        this.jslider.value = value
      },
631 632 633 634
      setCorn(data){
        this.$nextTick(() => {
          this.form.cronExpression = data;
        })
635 636 637 638 639 640 641 642
      },

      handleCloseCurrentPage() {
        // 注意:以下代码必须存在
        // inject:['closeCurrent'],
        this.closeCurrent()
      },

643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677
    }
  }
</script>
<style lang="less" scoped>
  .ant-card-body .table-operator {
    margin-bottom: 18px;
  }

  .ant-table-tbody .ant-table-row td {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .anty-row-operator button {
    margin: 0 5px
  }

  .ant-btn-danger {
    background-color: #ffffff
  }

  .ant-modal-cust-warp {
    height: 100%
  }

  .ant-modal-cust-warp .ant-modal-body {
    height: calc(100% - 110px) !important;
    overflow-y: auto
  }

  .ant-modal-cust-warp .ant-modal-content {
    height: 90% !important;
    overflow-y: hidden
  }
</style>