xsh_1997 1 неделя назад
Родитель
Сommit
9a42305005

+ 3 - 0
ruoyi-ui/src/lang/bo/dataModel.js

@@ -662,6 +662,7 @@ export default {
662 662
     queryStatYear: "གཏོགས་ལོ།",
663 663
     queryStatMonth: "གཏོགས་ཟླ།",
664 664
     queryTown: "ཤང་གྲོང།",
665
+    queryVillage: "གྲོང་ཚོ།",
665 666
     queryEnterpriseName: "ཁེ་ལས་མིང་།",
666 667
     phVillageSearch: "འདེམས་པའམ་འཚོལ་འཇུག་རོགས།",
667 668
     phEnterpriseName: "ཁེ་ལས་མིང་འབྲི་རོགས།",
@@ -770,6 +771,7 @@ export default {
770 771
     queryStatYear: "གཏོགས་ལོ།",
771 772
     queryStatMonth: "གཏོགས་ཟླ།",
772 773
     queryTown: "ཤང་གྲོང།",
774
+    queryVillage: "གྲོང་ཚོ།",
773 775
     queryEnterpriseName: "ཁེ་ལས་མིང་།",
774 776
     phVillageSearch: "འདེམས་པའམ་འཚོལ་འཇུག་རོགས།",
775 777
     phEnterpriseName: "ཁེ་ལས་མིང་འབྲི་རོགས།",
@@ -878,6 +880,7 @@ export default {
878 880
     queryStatYear: "གཏོགས་ལོ།",
879 881
     queryStatMonth: "གཏོགས་ཟླ།",
880 882
     queryTown: "ཤང་གྲོང།",
883
+    queryVillage: "གྲོང་ཚོ།",
881 884
     phVillageSearch: "འདེམས་པའམ་འཚོལ་འཇུག་རོགས།",
882 885
     phRemark: "འདེམས་འབྲི,ཡིག་ཆ་500ལས་མི་ཆོག",
883 886
     colStatYear: "གཏོགས་ལོ།",

+ 2 - 0
ruoyi-ui/src/lang/bo/diseaseTreatment.js

@@ -71,6 +71,7 @@ export default {
71 71
     queryResourceName: "མིང་།",
72 72
     queryResourceNamePh: "མིང་འཚོལ(མཐུན)",
73 73
     queryPublishStatus: "འགྲེམ་སྤེལ་རྣམ་པ།",
74
+    queryTown: "ཤང་གྲོང།",
74 75
     resourceType1: "སོ་བའི་མི།",
75 76
     resourceType2: "ཆེད་ལས་ཚོགས་པ།",
76 77
     resourceType3: "གསོ་བཅོས་ལས་ཁུངས།",
@@ -79,6 +80,7 @@ export default {
79 80
     colResourceName: "མིང་།",
80 81
     colIntro: "ངོ་སྤྲོད།",
81 82
     colContact: "འབྲེལ་གཏུག",
83
+    colTown: "ཤང་གྲོང།",
82 84
     colAffiliatedUnit: "ཁོངས་འབྲེལ།",
83 85
     colDetailAddress: "ཁ་བྱང་།",
84 86
     colOrgLevel: "ལས་ཁུངས་རིམ་པ།",

+ 3 - 0
ruoyi-ui/src/lang/zh/dataModel.js

@@ -662,6 +662,7 @@ export default {
662 662
     queryStatYear: "所属年份",
663 663
     queryStatMonth: "所属月份",
664 664
     queryTown: "所属乡镇",
665
+    queryVillage: "所属村",
665 666
     queryEnterpriseName: "企业名称",
666 667
     phVillageSearch: "请选择或输入搜索",
667 668
     phEnterpriseName: "请输入企业名称",
@@ -770,6 +771,7 @@ export default {
770 771
     queryStatYear: "所属年份",
771 772
     queryStatMonth: "所属月份",
772 773
     queryTown: "所属乡镇",
774
+    queryVillage: "所属村",
773 775
     queryEnterpriseName: "企业名称",
774 776
     phVillageSearch: "请选择或输入搜索",
775 777
     phEnterpriseName: "请输入企业名称",
@@ -878,6 +880,7 @@ export default {
878 880
     queryStatYear: "所属年份",
879 881
     queryStatMonth: "所属月份",
880 882
     queryTown: "所属乡镇",
883
+    queryVillage: "所属村",
881 884
     phVillageSearch: "请选择或输入搜索",
882 885
     phRemark: "选填,不超过 500 字",
883 886
     colStatYear: "所属年份",

+ 2 - 0
ruoyi-ui/src/lang/zh/diseaseTreatment.js

@@ -71,6 +71,7 @@ export default {
71 71
     queryResourceName: "资源名称",
72 72
     queryResourceNamePh: "名称模糊查询",
73 73
     queryPublishStatus: "发布状态",
74
+    queryTown: "所属乡镇",
74 75
     resourceType1: "兽医人员",
75 76
     resourceType2: "专家团队",
76 77
     resourceType3: "诊疗机构",
@@ -79,6 +80,7 @@ export default {
79 80
     colResourceName: "展示名称",
80 81
     colIntro: "介绍摘要",
81 82
     colContact: "联系方式",
83
+    colTown: "所属乡镇",
82 84
     colAffiliatedUnit: "隶属单位",
83 85
     colDetailAddress: "详细地址",
84 86
     colOrgLevel: "机构级别",

+ 22 - 0
ruoyi-ui/src/views/dataModel/familyRanch/index.vue

@@ -20,6 +20,23 @@
20 20
             <el-option v-for="item in townOptions" :key="item.deptId" :label="item.deptName" :value="item.deptId" />
21 21
           </el-select>
22 22
         </el-form-item>
23
+        <el-form-item prop="villageDeptId">
24
+          <template slot="label">{{ dmT("queryVillage") }}</template>
25
+          <el-select
26
+            v-model="queryParams.villageDeptId"
27
+            :placeholder="dmT('phVillageSearch')"
28
+            clearable
29
+            filterable
30
+            style="width: 220px"
31
+          >
32
+            <el-option
33
+              v-for="item in villageOptions"
34
+              :key="'q-v-' + item.deptId"
35
+              :label="item.label"
36
+              :value="item.deptId"
37
+            />
38
+          </el-select>
39
+        </el-form-item>
23 40
         <el-form-item prop="enterpriseName">
24 41
           <template slot="label">{{ dmT("queryEnterpriseName") }}</template>
25 42
           <el-input
@@ -821,6 +838,7 @@ export default {
821 838
         statYear: undefined,
822 839
         statMonth: undefined,
823 840
         townDeptId: undefined,
841
+        villageDeptId: undefined,
824 842
         enterpriseName: undefined
825 843
       },
826 844
       form: createEmptyForm()
@@ -1040,6 +1058,9 @@ export default {
1040 1058
       if (this.queryParams.townDeptId != null) {
1041 1059
         q.townDeptId = this.queryParams.townDeptId
1042 1060
       }
1061
+      if (this.queryParams.villageDeptId != null) {
1062
+        q.villageDeptId = this.queryParams.villageDeptId
1063
+      }
1043 1064
       const name = this.queryParams.enterpriseName != null ? String(this.queryParams.enterpriseName).trim() : ""
1044 1065
       if (name) {
1045 1066
         q.enterpriseName = name
@@ -1095,6 +1116,7 @@ export default {
1095 1116
       this.queryParams.statYear = undefined
1096 1117
       this.queryParams.statMonth = undefined
1097 1118
       this.queryParams.townDeptId = undefined
1119
+      this.queryParams.villageDeptId = undefined
1098 1120
       this.queryParams.enterpriseName = undefined
1099 1121
       this.resetForm("queryForm")
1100 1122
       this.handleQuery()

+ 24 - 2
ruoyi-ui/src/views/dataModel/farmerHousehold/index.vue

@@ -20,6 +20,23 @@
20 20
             <el-option v-for="item in townOptions" :key="item.deptId" :label="item.deptName" :value="item.deptId" />
21 21
           </el-select>
22 22
         </el-form-item>
23
+        <el-form-item prop="villageDeptId">
24
+          <template slot="label">{{ dmT("queryVillage") }}</template>
25
+          <el-select
26
+            v-model="queryParams.villageDeptId"
27
+            :placeholder="dmT('phVillageSearch')"
28
+            clearable
29
+            filterable
30
+            style="width: 220px"
31
+          >
32
+            <el-option
33
+              v-for="item in villageOptions"
34
+              :key="'q-v-' + item.deptId"
35
+              :label="item.label"
36
+              :value="item.deptId"
37
+            />
38
+          </el-select>
39
+        </el-form-item>
23 40
         <el-form-item>
24 41
           <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{ dmCommon("search") }}</el-button>
25 42
           <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{ dmCommon("reset") }}</el-button>
@@ -555,7 +572,8 @@ export default {
555 572
         pageSize: 20,
556 573
         statYear: undefined,
557 574
         statMonth: undefined,
558
-        townDeptId: undefined
575
+        townDeptId: undefined,
576
+        villageDeptId: undefined
559 577
       },
560 578
       form: createEmptyForm()
561 579
     }
@@ -758,6 +776,9 @@ export default {
758 776
       if (this.queryParams.townDeptId != null) {
759 777
         q.townDeptId = this.queryParams.townDeptId
760 778
       }
779
+      if (this.queryParams.villageDeptId != null) {
780
+        q.villageDeptId = this.queryParams.villageDeptId
781
+      }
761 782
       return q
762 783
     },
763 784
     getList() {
@@ -781,7 +802,8 @@ export default {
781 802
         pageSize: 20,
782 803
         statYear: undefined,
783 804
         statMonth: undefined,
784
-        townDeptId: undefined
805
+        townDeptId: undefined,
806
+        villageDeptId: undefined
785 807
       }
786 808
       this.getList()
787 809
     },

+ 22 - 0
ruoyi-ui/src/views/dataModel/largeLivestockFarmer/index.vue

@@ -20,6 +20,23 @@
20 20
             <el-option v-for="item in townOptions" :key="item.deptId" :label="item.deptName" :value="item.deptId" />
21 21
           </el-select>
22 22
         </el-form-item>
23
+        <el-form-item prop="villageDeptId">
24
+          <template slot="label">{{ dmT("queryVillage") }}</template>
25
+          <el-select
26
+            v-model="queryParams.villageDeptId"
27
+            :placeholder="dmT('phVillageSearch')"
28
+            clearable
29
+            filterable
30
+            style="width: 220px"
31
+          >
32
+            <el-option
33
+              v-for="item in villageOptions"
34
+              :key="'q-v-' + item.deptId"
35
+              :label="item.label"
36
+              :value="item.deptId"
37
+            />
38
+          </el-select>
39
+        </el-form-item>
23 40
         <el-form-item prop="enterpriseName">
24 41
           <template slot="label">{{ dmT("queryEnterpriseName") }}</template>
25 42
           <el-input
@@ -821,6 +838,7 @@ export default {
821 838
         statYear: undefined,
822 839
         statMonth: undefined,
823 840
         townDeptId: undefined,
841
+        villageDeptId: undefined,
824 842
         enterpriseName: undefined
825 843
       },
826 844
       form: createEmptyForm()
@@ -1040,6 +1058,9 @@ export default {
1040 1058
       if (this.queryParams.townDeptId != null) {
1041 1059
         q.townDeptId = this.queryParams.townDeptId
1042 1060
       }
1061
+      if (this.queryParams.villageDeptId != null) {
1062
+        q.villageDeptId = this.queryParams.villageDeptId
1063
+      }
1043 1064
       const name = this.queryParams.enterpriseName != null ? String(this.queryParams.enterpriseName).trim() : ""
1044 1065
       if (name) {
1045 1066
         q.enterpriseName = name
@@ -1095,6 +1116,7 @@ export default {
1095 1116
       this.queryParams.statYear = undefined
1096 1117
       this.queryParams.statMonth = undefined
1097 1118
       this.queryParams.townDeptId = undefined
1119
+      this.queryParams.villageDeptId = undefined
1098 1120
       this.queryParams.enterpriseName = undefined
1099 1121
       this.resetForm("queryForm")
1100 1122
       this.handleQuery()

+ 30 - 1
ruoyi-ui/src/views/diseaseTreatment/medicalResource/index.vue

@@ -35,6 +35,23 @@
35 35
             <el-option :label="$t('diseaseTreatment.status.offline')" :value="2" />
36 36
           </el-select>
37 37
         </el-form-item>
38
+        <el-form-item v-if="activeTab === 'vet'" prop="townDeptId">
39
+          <template slot="label">{{ dtT("queryTown") }}</template>
40
+          <el-select
41
+            v-model="queryParams.townDeptId"
42
+            :placeholder="dtCommon('pleaseSelect')"
43
+            clearable
44
+            filterable
45
+            style="width: 180px"
46
+          >
47
+            <el-option
48
+              v-for="item in townOptions"
49
+              :key="'q-town-' + item.deptId"
50
+              :label="item.deptName"
51
+              :value="item.deptId"
52
+            />
53
+          </el-select>
54
+        </el-form-item>
38 55
         <el-form-item>
39 56
           <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{ dtCommon("search") }}</el-button>
40 57
           <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{ dtCommon("reset") }}</el-button>
@@ -85,6 +102,7 @@
85 102
         <el-table-column :label="dtT('colResourceName')" prop="resourceName" align="center" min-width="110" :show-overflow-tooltip="true" />
86 103
         <el-table-column :label="dtT('colIntro')" prop="introduction" align="center" min-width="140" :show-overflow-tooltip="true" />
87 104
         <el-table-column v-if="showColContact" :label="dtT('colContact')" prop="contactPhone" align="center" width="120" />
105
+        <el-table-column v-if="showColTown" :label="dtT('colTown')" prop="townName" align="center" min-width="110" :show-overflow-tooltip="true" />
88 106
         <el-table-column v-if="showColAffiliated" :label="dtT('colAffiliatedUnit')" prop="affiliatedUnit" align="center" min-width="110" :show-overflow-tooltip="true" />
89 107
         <el-table-column v-if="showColAddress" :label="dtT('colDetailAddress')" prop="detailAddress" align="center" min-width="120" :show-overflow-tooltip="true" />
90 108
         <el-table-column v-if="activeTab === 'org'" :label="dtT('colOrgLevel')" align="center" width="100">
@@ -528,7 +546,8 @@ export default {
528 546
         pageSize: 20,
529 547
         resourceType: RESOURCE_TYPE_CODE.VET,
530 548
         resourceName: undefined,
531
-        publishStatus: undefined
549
+        publishStatus: undefined,
550
+        townDeptId: undefined
532 551
       },
533 552
       form: {},
534 553
       imageFileExts: ["jpg", "jpeg", "png"],
@@ -551,6 +570,9 @@ export default {
551 570
     showColContact() {
552 571
       return this.activeTab !== "equipment"
553 572
     },
573
+    showColTown() {
574
+      return this.activeTab === "vet"
575
+    },
554 576
     showColAffiliated() {
555 577
       return this.activeTab === "vet" || this.activeTab === "team" || this.activeTab === "equipment"
556 578
     },
@@ -802,6 +824,9 @@ export default {
802 824
     handleTabClick() {
803 825
       this.queryParams.resourceType = TAB_TYPE_MAP[this.activeTab]
804 826
       this.queryParams.pageNum = 1
827
+      if (this.activeTab !== "vet") {
828
+        this.queryParams.townDeptId = undefined
829
+      }
805 830
       this.getList()
806 831
     },
807 832
     handleQueryTypeChange(val) {
@@ -810,6 +835,9 @@ export default {
810 835
       if (tab) {
811 836
         this.activeTab = tab
812 837
       }
838
+      if (key !== RESOURCE_TYPE_CODE.VET) {
839
+        this.queryParams.townDeptId = undefined
840
+      }
813 841
       this.handleQuery()
814 842
     },
815 843
     normalizeIntList(val) {
@@ -980,6 +1008,7 @@ export default {
980 1008
     resetQuery() {
981 1009
       this.queryParams.resourceName = undefined
982 1010
       this.queryParams.publishStatus = undefined
1011
+      this.queryParams.townDeptId = undefined
983 1012
       this.queryParams.resourceType = TAB_TYPE_MAP[this.activeTab]
984 1013
       this.resetForm("queryForm")
985 1014
       this.handleQuery()