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

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

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

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

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

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

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

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

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

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

@@ -20,6 +20,23 @@
20
             <el-option v-for="item in townOptions" :key="item.deptId" :label="item.deptName" :value="item.deptId" />
20
             <el-option v-for="item in townOptions" :key="item.deptId" :label="item.deptName" :value="item.deptId" />
21
           </el-select>
21
           </el-select>
22
         </el-form-item>
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
         <el-form-item prop="enterpriseName">
40
         <el-form-item prop="enterpriseName">
24
           <template slot="label">{{ dmT("queryEnterpriseName") }}</template>
41
           <template slot="label">{{ dmT("queryEnterpriseName") }}</template>
25
           <el-input
42
           <el-input
@@ -821,6 +838,7 @@ export default {
821
         statYear: undefined,
838
         statYear: undefined,
822
         statMonth: undefined,
839
         statMonth: undefined,
823
         townDeptId: undefined,
840
         townDeptId: undefined,
841
+        villageDeptId: undefined,
824
         enterpriseName: undefined
842
         enterpriseName: undefined
825
       },
843
       },
826
       form: createEmptyForm()
844
       form: createEmptyForm()
@@ -1040,6 +1058,9 @@ export default {
1040
       if (this.queryParams.townDeptId != null) {
1058
       if (this.queryParams.townDeptId != null) {
1041
         q.townDeptId = this.queryParams.townDeptId
1059
         q.townDeptId = this.queryParams.townDeptId
1042
       }
1060
       }
1061
+      if (this.queryParams.villageDeptId != null) {
1062
+        q.villageDeptId = this.queryParams.villageDeptId
1063
+      }
1043
       const name = this.queryParams.enterpriseName != null ? String(this.queryParams.enterpriseName).trim() : ""
1064
       const name = this.queryParams.enterpriseName != null ? String(this.queryParams.enterpriseName).trim() : ""
1044
       if (name) {
1065
       if (name) {
1045
         q.enterpriseName = name
1066
         q.enterpriseName = name
@@ -1095,6 +1116,7 @@ export default {
1095
       this.queryParams.statYear = undefined
1116
       this.queryParams.statYear = undefined
1096
       this.queryParams.statMonth = undefined
1117
       this.queryParams.statMonth = undefined
1097
       this.queryParams.townDeptId = undefined
1118
       this.queryParams.townDeptId = undefined
1119
+      this.queryParams.villageDeptId = undefined
1098
       this.queryParams.enterpriseName = undefined
1120
       this.queryParams.enterpriseName = undefined
1099
       this.resetForm("queryForm")
1121
       this.resetForm("queryForm")
1100
       this.handleQuery()
1122
       this.handleQuery()

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

@@ -20,6 +20,23 @@
20
             <el-option v-for="item in townOptions" :key="item.deptId" :label="item.deptName" :value="item.deptId" />
20
             <el-option v-for="item in townOptions" :key="item.deptId" :label="item.deptName" :value="item.deptId" />
21
           </el-select>
21
           </el-select>
22
         </el-form-item>
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
         <el-form-item>
40
         <el-form-item>
24
           <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{ dmCommon("search") }}</el-button>
41
           <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{ dmCommon("search") }}</el-button>
25
           <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{ dmCommon("reset") }}</el-button>
42
           <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{ dmCommon("reset") }}</el-button>
@@ -555,7 +572,8 @@ export default {
555
         pageSize: 20,
572
         pageSize: 20,
556
         statYear: undefined,
573
         statYear: undefined,
557
         statMonth: undefined,
574
         statMonth: undefined,
558
-        townDeptId: undefined
575
+        townDeptId: undefined,
576
+        villageDeptId: undefined
559
       },
577
       },
560
       form: createEmptyForm()
578
       form: createEmptyForm()
561
     }
579
     }
@@ -758,6 +776,9 @@ export default {
758
       if (this.queryParams.townDeptId != null) {
776
       if (this.queryParams.townDeptId != null) {
759
         q.townDeptId = this.queryParams.townDeptId
777
         q.townDeptId = this.queryParams.townDeptId
760
       }
778
       }
779
+      if (this.queryParams.villageDeptId != null) {
780
+        q.villageDeptId = this.queryParams.villageDeptId
781
+      }
761
       return q
782
       return q
762
     },
783
     },
763
     getList() {
784
     getList() {
@@ -781,7 +802,8 @@ export default {
781
         pageSize: 20,
802
         pageSize: 20,
782
         statYear: undefined,
803
         statYear: undefined,
783
         statMonth: undefined,
804
         statMonth: undefined,
784
-        townDeptId: undefined
805
+        townDeptId: undefined,
806
+        villageDeptId: undefined
785
       }
807
       }
786
       this.getList()
808
       this.getList()
787
     },
809
     },

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

@@ -20,6 +20,23 @@
20
             <el-option v-for="item in townOptions" :key="item.deptId" :label="item.deptName" :value="item.deptId" />
20
             <el-option v-for="item in townOptions" :key="item.deptId" :label="item.deptName" :value="item.deptId" />
21
           </el-select>
21
           </el-select>
22
         </el-form-item>
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
         <el-form-item prop="enterpriseName">
40
         <el-form-item prop="enterpriseName">
24
           <template slot="label">{{ dmT("queryEnterpriseName") }}</template>
41
           <template slot="label">{{ dmT("queryEnterpriseName") }}</template>
25
           <el-input
42
           <el-input
@@ -821,6 +838,7 @@ export default {
821
         statYear: undefined,
838
         statYear: undefined,
822
         statMonth: undefined,
839
         statMonth: undefined,
823
         townDeptId: undefined,
840
         townDeptId: undefined,
841
+        villageDeptId: undefined,
824
         enterpriseName: undefined
842
         enterpriseName: undefined
825
       },
843
       },
826
       form: createEmptyForm()
844
       form: createEmptyForm()
@@ -1040,6 +1058,9 @@ export default {
1040
       if (this.queryParams.townDeptId != null) {
1058
       if (this.queryParams.townDeptId != null) {
1041
         q.townDeptId = this.queryParams.townDeptId
1059
         q.townDeptId = this.queryParams.townDeptId
1042
       }
1060
       }
1061
+      if (this.queryParams.villageDeptId != null) {
1062
+        q.villageDeptId = this.queryParams.villageDeptId
1063
+      }
1043
       const name = this.queryParams.enterpriseName != null ? String(this.queryParams.enterpriseName).trim() : ""
1064
       const name = this.queryParams.enterpriseName != null ? String(this.queryParams.enterpriseName).trim() : ""
1044
       if (name) {
1065
       if (name) {
1045
         q.enterpriseName = name
1066
         q.enterpriseName = name
@@ -1095,6 +1116,7 @@ export default {
1095
       this.queryParams.statYear = undefined
1116
       this.queryParams.statYear = undefined
1096
       this.queryParams.statMonth = undefined
1117
       this.queryParams.statMonth = undefined
1097
       this.queryParams.townDeptId = undefined
1118
       this.queryParams.townDeptId = undefined
1119
+      this.queryParams.villageDeptId = undefined
1098
       this.queryParams.enterpriseName = undefined
1120
       this.queryParams.enterpriseName = undefined
1099
       this.resetForm("queryForm")
1121
       this.resetForm("queryForm")
1100
       this.handleQuery()
1122
       this.handleQuery()

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

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