hailu
2023-02-16 94622a4e89fc844b96016859dc136f868fe15d31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
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
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
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
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
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
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
<template>
  <div class="senior" style="mim-width:1366px">
    <main>
      <section class="left" style="background:#F6F8FA">
        <div class="header">
          <!-- <a-checkbox @change="onChange"> 全部专利</a-checkbox> -->
          <!-- <ul class="level1">
            <li><a-checkbox @change="onChange"> 申请</a-checkbox></li>
            <li><a-checkbox @change="onChange"> 授权</a-checkbox></li>
            <li><a-checkbox @change="onChange"> 实用新型</a-checkbox></li>
            <li><a-checkbox @change="onChange"> 外观</a-checkbox></li>
            <li><a-checkbox @change="onChange"> 其他</a-checkbox></li>
          </ul>
          <ul class="level2">
            <li><a-checkbox @change="onChange"> 申请</a-checkbox></li>
            <li><a-checkbox @change="onChange"> 申请</a-checkbox></li>
            <li><a-checkbox @change="onChange"> 申请</a-checkbox></li>
            <li><a-checkbox @change="onChange"> 申请</a-checkbox></li>
          </ul> -->
          <div :style="{ padding: '0 0 0 20px', margin: '3px 0  0 0' }">
            <a-checkbox :indeterminate="(this.CountryCheck>0&&this.CountryCheck<this.CountryLength)||(elseCountry===true&&this.CountryCheck<this.CountryLength)||(elseCountry===false&&this.CountryCheck===this.CountryLength)?true:false" :checked="(this.CountryCheck === this.CountryLength&&elseCountry===true) ? true : false" @change="onCheckAllChange"
              style="font-size:16px;font-weight:bold;color:#000">
              全部国家和地区
            </a-checkbox>
          </div>
          <br />
          <div :style="{ padding: '0 0 0 30px',margin: '-15px 0 0 0' }">
            <a-checkbox :indeterminate="(this.CountryCheck>0&&this.CountryCheck<this.CountryLength)?true:false" :checked="this.CountryCheck === this.CountryLength ? true : false" @change="onCheckAllChange1">
              主要国家和地区
            </a-checkbox>
          </div>
          <br />
          <div :style="{ padding: '0 0 0 40px',margin: '-15px 0 0 0' }">
            <ul>
              <li v-for="(item, index) in CountryMain" :key="index">
                <a-checkbox @change="onChange(index)" :checked="item.checked">
                  <img :src="require('../assets/nation_flags/' + item.Abbr + '.png')" alt="" style="width:20px;margin-right:10px" />
                  {{ item.NameCh }} ({{item.Abbr}})
                </a-checkbox>
              </li>
 
              <!-- <a-checkbox-group v-model="checkedList" :options="plainOptions" @change="onChange" style="width:100%">
            </a-checkbox-group> -->
            </ul>
          </div>
          <div :style="{ padding: '0 0 0 30px',margin: '5px 0 0 0' }">
            <a-checkbox  :checked="elseCountry" @change="onCheckAllChange2">
              其它国家和地区
            </a-checkbox>
          </div>
        </div>
      </section>
      <section class="right">
 
        <!-- <div class="tem" ><span></span> <span>辅助工具</span></div> -->
        <div class="top white" style="min-height:70vh;padding: 40px;box-shadow: 0 0 2px 0;">
          <div class="title">高级搜索</div>
          <ul>
            <li>
              <span>关键词</span>
              <div class="seclect">
                <div v-for="(item, index) in form.keyWords">
                  <a-select v-model="item.logic" style="width: 80px" @change="item.value = ''">
                    <a-select-option v-for="(it) in options.logic" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-select v-model="item.select" style="width: 200px" @change="item.text = ''">
                    <a-select-option v-for="(it) in options.keyWords" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-input style="width: 370px" v-model="item.text" placeholder="请输入" />
                  <a-button logic="primary"
                    style="background-color: #ef8201;border-color: #ef8201;color:#fff;position:absolute;left:800px;"
                    v-if="index == (form.keyWords.length - 1) && form.keyWords.length < 20" shape="circle" icon="plus"
                    @click="doFormItem('plus', 'keyWords', 'logic', index)" />
                  <a-button type="danger"
                    style="background-color: #ef8201;border-color: #ef8201;color:#fff;position:absolute;left:800px;"
                    v-else shape="circle" icon="minus" @click="doFormItem('minus', 'keyWords', 'logic', index)" />
                </div>
              </div>
            </li>
            <li>
              <span>名称</span>
              <div class="seclect">
                <div v-for="(item, index) in form.name">
                  <a-select v-model="item.logic" style="width: 80px" @change="item.value = ''">
                    <a-select-option v-for="(it) in options.logic" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-select v-model="item.select" style="width: 200px" @change="item.text = ''">
                    <a-select-option v-for="(it) in options.name" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-input style="width: 370px" v-model="item.text" placeholder="请输入" />
                  <a-button type="primary" v-if="index == (form.name.length - 1) && form.name.length < 20"
                    style="width:32px;height:32px;position:absolute;left:800px;" shape="circle" icon="plus"
                    @click="doFormItem('plus', 'name', 'logic', index)" />
                  <a-button type="danger" v-else shape="circle" icon="minus"
                    style="width:32px;height:32px;position:absolute;left:800px;"
                    @click="doFormItem('minus', 'name', 'logic', index)" />
                </div>
              </div>
            </li>
            <li>
              <span>地址</span>
              <div class="seclect">
                <div v-for="(item, index) in form.address">
                  <a-select v-model="item.logic" style="width: 80px" @change="item.value = ''">
                    <a-select-option v-for="(it) in options.logic" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-select v-model="item.select" style="width: 200px" @change="item.text = ''">
                    <a-select-option v-for="(it) in options.address" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-input style="width: 370px" v-model="item.text" placeholder="例如:北京" />
                  <a-button type="primary" v-if="index == (form.address.length - 1) && form.address.length < 20"
                    style="width:32px;height:32px;position:absolute;left:800px;" shape="circle" icon="plus"
                    @click="doFormItem('plus', 'address', 'logic', index)" />
                  <a-button type="danger" v-else shape="circle" icon="minus"
                    style="width:32px;height:32px;position:absolute;left:800px;"
                    @click="doFormItem('minus', 'address', 'logic', index)" />
                </div>
              </div>
            </li>
            <li style="position:relative">
              <span>分类号</span>
              <div class="seclect">
                <div v-for="(item, index) in form.fenlei">
                  <a-select v-model="item.logic" style="width: 80px" @change="item.value = ''">
                    <a-select-option v-for="(it) in options.logic" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-select v-model="item.select" style="width: 200px" @change="item.text = ''; item.treeData = []">
                    <a-select-option v-for="(it) in options.fenlei" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-input style="width: 370px" v-model="item.text" placeholder="请输入" />
                  <a-button type="primary" style="width:32px;height:32px;position:absolute;left:760px;"
                    v-if="index == (form.fenlei.length - 1) && form.fenlei.length < 20" shape="circle" icon="plus"
                    @click="doFormItem('plus', 'fenlei', 'logic', index)" />
                  <a-button type="danger" style="width:32px;height:32px;position:absolute;left:760px;" v-else
                    shape="circle" icon="minus" @click="doFormItem('minus', 'fenlei', 'logic', index)" />
                  <a-button @click="openTool(item)" style="position:absolute;left:800px">查询工具</a-button>
                </div>
              </div>
            </li>
            <li>
              <span>号码</span>
              <div class="seclect">
                <div v-for="(item, index) in form.haoma">
                  <a-select v-model="item.logic" style="width: 80px" @change="item.value = ''">
                    <a-select-option v-for="(it) in options.logic" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-select v-model="item.select" style="width: 200px" @change="item.text = ''">
                    <a-select-option v-for="(it) in options.haoma" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-input style="width: 370px" v-model="item.text" placeholder="请输入" />
                </div>
              </div>
            </li>
            <li>
              <span>日期</span>
              <div class="seclect">
                <div v-for="(item, index) in form.date">
                  <a-select v-model="item.logic" style="width: 80px" @change="item.value = ''">
                    <a-select-option v-for="(it) in options.logic" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-select v-model="item.select" style="width:200px" @change="item.text = ''; item.type = 'before'">
                    <a-select-option v-for="(it) in options.date" :key="it.code" :value="it.code">
                      {{ it.name }}
                    </a-select-option>
                  </a-select>
                  <a-select v-model="item.type" style="width: 100px"
                    @change="item.type == 'range' ? item.text = [] : item.text = ''">
                    <a-select-option :value="'before'">
                      某时间以前
                    </a-select-option>
                    <a-select-option :value="'after'">
                      某时间以后
                    </a-select-option>
                    <a-select-option :value="'range'">
                      某时间段
                    </a-select-option>
                  </a-select>
                  <a-range-picker style="width:140px" v-model="item.text" v-if="item.type === 'range'"
                    valueFormat="YYYY-MM-DD" />
                  <a-date-picker style="width:140px" v-model="item.text" valueFormat="YYYY-MM-DD" v-else />
                </div>
              </div>
            </li>
          </ul>
          <div class="footer" style="margin-top:60px;text-align: right;padding-right: 20%;">
            <a-button type="primary" @click="handleSearch"> 查询 </a-button>
          </div>
        </div>
      </section>
    </main>
 
    <!-- 弹框部分 -->
    <a-modal v-model="dialogVisible" title="辅助查询工具" width="1000px" okText="确定" cancelText="取消" @ok="modelConfirm">
      <senior-tranfer ref="seniorTransfer" :currentItem="currentFenleiItem" v-if="dialogVisible" />
    </a-modal>
  </div>
</template>
<script>
//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
//例如:import 《组件名称》 from '《组件路径》';
import { GetCountryMain } from '../api/url_analyst.js'
import SeniorTranfer from '@/components/SeniorTranfer.vue';
const options = {
  keyWords: [{ code: 'title0|abstract0|title1|abstract1', name: '标题/摘要' }, { code: 'title0|abstract0|title1|abstract1|claim0|claim1', name: '标题/摘要/权利要求' }, { code: 'title0|abstract0|description0|title1|abstract1|claim0|claim1', name: '标题/摘要/权利要求/说明书' }, { code: 'title0|title1', name: '标题' }, { code: 'abstract0|abstract1', name: '摘要' }, { code: 'claim0|claim1', name: '权利要求' }, { code: 'description0', name: '说明书' }],
  name: [{ code: 'assigneeList', name: '申请人' }, { code: 'inventorList', name: "发明人" }],
  address: [{ code: 'cnaddress', name: '申请人地址' }, { code: 'cnprovince', name: '中国申请人省份' }, { code: 'cncity', name: '中国申请人地市' }, { code: 'cncounty', name: '中国申请人区县' }, { code: 'assigneeCrossCountryCount', name: '申请人国别' }, { code: 'cncountry', name: '公开国别' }],
  fenlei: [{ code: 'ipcCodeSort', name: 'IPC(国际分类)' }, { code: 'cpcCodeSort', name: 'CPC(合作专利分类)' }, { code: 'industrycode', name: '国民经济行业分类' }, { code: 'strategicIndustryCode', name: '战略性新兴产业分类' },{ code: 'locarnoCodeSort', name: '洛迦诺分类' }],
  haoma: [{ code: 'publicationNumber', name: '公开号' }, { code: 'applicationNumber', name: '申请号' }, { code: 'pctNumber', name: 'PCT号' },],
  // {code:'',name:'优先权号'}
  date: [{ code: 'publicationDate', name: '公开日' }, { code: 'filingDate', name: '申请日' }, { code: 'grantDate', name: '授权日' }, { code: 'priorityDate', name: '优先权日' }],
  logic: [{ code: 'AND', name: 'AND' }, { code: 'OR', name: 'OR' }, { code: 'NOT', name: 'NOT' },],
 
}
const plainOptions = [];
const defaultCheckedList = [];
 
export default {
  //import引入的组件需要注入到components对象中才能使用
  components: { SeniorTranfer },
  data() {
    //这里存放数据
    return {
      checkedList: defaultCheckedList,
      indeterminate: false,
      checkAll: false,
      plainOptions,
      ScrollHeight: document.documentElement.scrollTop,
      options,
      form: {
        keyWords: [
          {
            select: 'title0|abstract0|title1|abstract1',
            text: '',
            logic: 'AND',
            value: ''
          }
        ],
        name: [
          {
            select: 'assigneeList',
            text: '',
            logic: 'AND',
            value: ''
          }
        ],
        address: [
          {
            select: 'cnaddress',
            text: '',
            logic: 'AND',
            value: ''
          }
        ],
        fenlei: [
          {
            select: 'ipcCodeSort',
            text: '',
            logic: 'AND',
            value: ''
          }
        ],
        haoma: [
          {
            select: 'publicationNumber',
            text: '',
            logic: 'AND',
            value: ''
          }
        ],
        date: [
          {
            select: 'publicationDate',
            text: '',
            type: 'before',
            logic: 'AND',
            value: ''
          }
        ],
      },
 
      dialogVisible: false,
      currentFenleiItem: {},
      CountryMain: [],
      CountryLength: 0,
      CountryCheck: 0,
      elseCountry:true
    };
  },
  //计算属性 类似于data概念
  //监控data中的数据变化
  watch: {
    ScrollHeight() { },
  },
  mounted() {
    this.getCountryMain()
  },
  //方法集合
  methods: {
    // 获取国家列表
    getCountryMain() {
      GetCountryMain().then(res => {
        // defaultCheckedLis = []
        if (res.Check) {
          for (let i = 0; i < res.Data.length; i++) {
            res.Data[i].checked = true
            this.CountryMain.push(res.Data[i])
          }
          this.CountryLength = res.Data.length
          this.CountryCheck = res.Data.length
          // this.CountryMain = res.Data
          // console.log(this.CountryMain);
        }
      }).catch(err => {
      })
    },
    onChange(e) {
      // console.log(e);
      this.CountryMain[e].checked=!this.CountryMain[e].checked
      // console.log(e,e);
      if (this.CountryMain[e].checked) {
      
        this.CountryCheck++
      } else {
        // this.CountryMain[e].target.checked=!this.CountryMain[e].target.checked
        this.CountryCheck--
      }
      // console.log(this.CountryCheck,this.CountryLength);
      // this.indeterminate = !!checkedList.length && checkedList.length < plainOptions.length;
      // this.checkAll = checkedList.length === plainOptions.length;
    },
    onCheckAllChange(e) {
      // console.log(e);
      if (e.target.checked) {
        for (let i = 0; i < this.CountryMain.length; i++) {
          this.CountryMain[i].checked = true
        }
        this.CountryCheck = this.CountryLength
        this.elseCountry=true
      } else {
        for (let i = 0; i < this.CountryMain.length; i++) {
          this.CountryMain[i].checked = false
        }
        this.CountryCheck = 0
        this.elseCountry=false
      }
    },
    onCheckAllChange1(e) {
      // console.log(e);
      if (e.target.checked) {
        for (let i = 0; i < this.CountryMain.length; i++) {
          this.CountryMain[i].checked = true
        }
        this.CountryCheck = this.CountryLength
      } else {
        for (let i = 0; i < this.CountryMain.length; i++) {
          this.CountryMain[i].checked = false
        }
        this.CountryCheck = 0
      }
    },
    onCheckAllChange2(e) {
     this.elseCountry=!this.elseCountry
    },
    // onChange(e) {
    //   console.log(e);
    // },
    handleMenuClick(e) {
      console.log("click", e);
    },
    getCurrentStyle(current, today) {
      const style = {};
      if (current.date() === 1) {
        style.border = "1px solid #1890ff";
        style.borderRadius = "50%";
      }
      return style;
    },
    onClearInput() { },
    //顶部卷起高度
    handleScroll() {
      this.ScrollHeight = document.documentElement.scrollTop;
    },
    modelConfirm() {
      let item = this.$refs.seniorTransfer.printData()
      this.currentFenleiItem.text = item.targetKeys.join(',')
      this.currentFenleiItem.select = item.activeKey
      this.currentFenleiItem.treeData = item.treeData
      this.dialogVisible = false
    },
    openTool(item) {
      this.targetKeys = item.text.split(',')
      this.dialogVisible = true
      this.currentFenleiItem = item
    },
    handleSearch() {
      let params = this.getParams()
 
      if (params.length == 0) {
        this.$message.error('请输入筛选条件')
        return
      }
      localStorage.setItem('namiParams','')
      this.$router.push({
        path: "/smart",
        query: {
          from: 'senior',
          params: JSON.stringify(params)
        }
      })
    },
    getParams() {
      let params = []
      let keyArry = Object.keys(this.form)
      keyArry.map(key => {
        
        let arry = this.form[key]
        arry.map(item => {
          // console.log(item);
          if (item.text) {
            let obj = {
              field: item.select,
              childFieldLevel: 0,
              rule: key == "date" ? 'range' : item.select.indexOf('|') < 0 ? "or like" : 'or',
              val:(item.select==='strategicIndustryCode'||item.select=== 'industrycode'||item.select=== 'cpcCodeSort')&&item.text.length>0?((','+item.text).replaceAll(',',',|')).substring(1):item.text,
              // val:(item.select==='strategicIndustryCode'||item.select=== 'industrycode'||item.select==='cpcCodeSort')&&item.text.length>0?((','+item.text).replaceAll(',',',|')).substring(1):item.text,
            }
            if(obj.field==="locarnoCodeSort"){
             obj.val=(','+obj.val).replaceAll(',',',|').substring(1)
            }
            console.log(obj);
            if (key == 'date') {
              obj.val = ''
              obj.start = item.type == 'after' ? item.text : item.type == 'range' ? item.text[0] : ''
              obj.end = item.type == 'before' ? item.text : item.type == 'range' ? item.text[1] : ''
            }
            params.push(obj)
          }
        })
      })
      if(!((this.CountryCheck===this.CountryLength&&this.elseCountry===true)||(this.CountryCheck===0&&this.elseCountry===false))){
         if(this.CountryCheck>0){ 
        let obj={childFieldLevel: 0,field:'countryCode',name:'国家',rule:'in',val:''}
        let arr =[]
       for(let i=0;i<this.CountryMain.length;i++){
         if(this.CountryMain[i].checked===true){
        arr.push(this.CountryMain[i].Abbr)
         }
       }
 
       obj.val=arr.join(',')
       params.push(obj)
      }
      if(this.elseCountry===true){
        let obj={childFieldLevel: 0,field:'countryCode',name:'国家',rule:'not in',val:''}
        let arr =[]
       for(let i=0;i<this.CountryMain.length;i++){
         if(this.CountryMain[i].checked===false){
        arr.push(this.CountryMain[i].Abbr)
         }
       }
       obj.val=arr.join(',')
       params.push(obj)
      }
      }
     
       
      return params
    },
    doFormItem(type, key, logic, index) {
      if (type === 'plus') {
        this.form[key].push({ select: this.options[key][0].code, text: '', logic: this.options[logic][0].code, value: '' })
      } else {
        this.form[key].splice(index, 1);
      }
      console.log(this.form);
    },
 
  },
};
</script>
<style lang="scss" scoped>
main {
  width: 100%;
  border: 1px solid #c2c2c2;
  display: flex;
 
  .left {
    min-width: 250px;
    margin-left: 40px;
    display: flex;
 
    // padding-left: 20px;
 
    .header {
      width: 250px;
      height: 90%;
      text-align: left;
      // margin: 10px 0;
      margin: 40px auto 0;
      padding: 5px;
      // padding-top: 62px;
      background: #fff;
      box-shadow: 0 0 2px 0;
 
    }
 
    .level1 {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
 
      li {
        width: 31%;
        text-align: left;
        margin: 5px 0;
      }
    }
 
    .level2 {
      width: 100%;
 
      li {
        width: 30%;
        text-align: left;
        margin: 5px 0;
      }
    }
  }
 
  .right {
    width: calc(100% - 330px);
    // min-width: 1066px;
    // border-left: 2px solid #c2c2c2;
    // padding: 40px;
    margin: 40px;
 
    .title {
      width: 100%;
      height: 40px;
      line-height: 40px;
      font-size: 20px;
      font-weight: 600;
      position: relative;
      top: -40px;
 
    }
 
    .top {
      width: 100%;
      position: relative;
 
      .tem {
        font-size: 20px;
        position: absolute;
        top: 20px;
        right: 100px;
      }
 
      ul {
        width: 100%;
 
        li {
          display: flex;
          width: 100%;
          align-items: flex-start;
 
          >span {
            display: inline-block;
            width: 80px;
            line-height: 32px;
          }
 
          .seclect {
            width: 90%;
 
            >div {
              display: flex;
              align-items: center;
              margin-bottom: 10px;
 
              >* {
                margin-right: 10px;
              }
 
              textarea {
                width: 100%;
                height: 100px;
              }
 
              textarea:focus {
                outline-color: #c2c2c2;
              }
            }
 
            .topjiansuo {
              padding: 20px 0;
              width: 100%;
              display: flex;
              justify-content: space-between;
 
              li:nth-child(1) {
                width: 30%;
 
                span {
                  padding: 0 10px;
                  color: #c2c2c2;
                  border: 1px solid #c2c2c2;
                  margin-right: 10px;
                }
              }
 
              li:nth-child(2) {
                width: 30%;
 
                span:nth-child(2) {
                  width: 150px;
                  padding: 0 10px;
                  height: 50px;
                  line-height: 50px;
                  color: #c2c2c2;
                  border: 1px solid #c2c2c2;
                  margin-left: 10px;
                }
 
                span:nth-child(1) {
                  padding: 0 10px;
                  height: 50px;
                  line-height: 50px;
                  background: #ef8201;
                  color: #ffffff;
                  font-weight: 500;
                  border: 1px solid #c2c2c2;
                  margin-left: 10px;
                }
              }
            }
          }
 
          .seclectDate {
            width: 85%;
 
            div {
              display: flex;
 
              .item {
                margin-right: 1%;
              }
            }
          }
        }
      }
    }
 
    .bottom {
      width: 100%;
 
      .searchManner {
        width: 100%;
        padding-left: 100px;
        display: flex;
        margin: 20px 0;
 
        span {
          display: inline-block;
          width: 100px;
          height: 50px;
          line-height: 50px;
        }
      }
 
      .right_role {
        // width: 800px;
        display: flex;
        justify-content: space-between;
        margin-left: 100px;
 
        ul {
          width: 600px;
          display: flex;
          justify-content: space-between;
 
          li {
            text-align: center;
            width: 50px;
            height: 50px;
            line-height: 50px;
            color: #c2c2c2;
            border: 1px solid #c2c2c2;
            margin-right: 5xp;
          }
        }
 
        .auxiliary {
          padding: 0 10px;
          height: 50px;
          line-height: 50px;
          color: #c2c2c2;
          border: 1px solid #c2c2c2;
          margin-left: 50px;
        }
      }
 
      .right_dir {
        textarea {
          width: 700px;
          height: 300px;
          background: #f9f9f9;
          margin-left: 100px;
          padding: 5px;
        }
 
        textarea:focus {
          outline-color: #c2c2c2;
        }
 
        ul {
          display: flex;
          margin: 20px 100px 0;
 
          li {
            padding: 0 20px;
            line-height: 50px;
            color: #c2c2c2;
            border: 1px solid #c2c2c2;
            margin-right: 10px;
          }
 
          li:nth-last-child(1) {
            background: #ef8201;
            color: #f9f9f9;
            font-weight: 500;
            margin-left: 100px;
          }
        }
      }
    }
  }
}
 
footer {
  // position: absolute;
  // bottom: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(102, 102, 102, 1);
  color: #ffffff;
  font-family: "微软雅黑";
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  text-align: center;
 
  // @media (max-width: 1280px) {
  //   position: relative;
  //   top: var(--height);
  // }
  div {
    width: 100%;
    margin: 0 auto;
    line-height: 80px;
    justify-content: space-between;
 
    @media (max-width: 1280px) {
      width: 90%;
    }
  }
}
</style>
<style scoped>
/* .ant-select-selection {
  width: 100%;
} */
 
.ant-transfer>div:first-child .ant-transfer-list-header-selected span {
  color: #fff;
}
 
.ant-tree li .ant-tree-title {
  display: inline-block;
  max-width: 400px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
 
}
 
.ant-transfer-list-content-item {
  display: flex;
  align-items: center;
}
 
.ant-transfer-list-content-item .ant-transfer-list-content-item-text {
  display: inline-block;
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
 
.ant-checkbox-group-item {
  width: 100%;
  margin-bottom: 2px;
}
</style>