shi'sen'yuan 3 éve
szülő
commit
c2ba1224fd

+ 1 - 0
master/src/main/resources/mybatis/plant/TStaffmgrMapper.xml

@@ -47,6 +47,7 @@
             <if test="name != null  and name != ''"> and name like concat(concat('%', #{name}), '%')</if>
             <if test="sex != null  and sex != ''"> and sex = #{sex}</if>
             <if test="unit != null  and unit != ''"> and unit = #{unit}</if>
+            <if test="specialDuty != null  and specialDuty != ''"> and special_duty like concat(concat('%', #{specialDuty}), '%')</if>
             <if test="units != null  and units != ''">
                 and
                 unit in

+ 2 - 0
ui/src/lang/en.js

@@ -158,6 +158,7 @@ export default {
   下载: 'Download',
   提交: 'Submit',
   主要内容: 'Main Content',
+  主要内容为图表: 'Main content is chart',
   数据分析: 'Data Analysis',
   报告附件: 'Attachment',
   附件: 'Attachment',
@@ -950,6 +951,7 @@ export default {
   是否需要跟进: 'Need Follow Up',
   '使用/储存/废物最大量': 'Maximum use/storage/waste',
   '排放/监控要求': 'Emission/monitoring requirements',
+  '排放/监控要求为图表': 'Emissions/monitoring requirements are graphs',
   回顾人: 'Retrospectives',
   本次回顾日期: 'Date Of This Review',
   卫生批文清单: 'List Of Health Approval Documents',

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

@@ -158,6 +158,7 @@ export default {
   下载: '下载',
   提交: '提交',
   主要内容: '主要内容',
+  主要内容为图表: '主要内容为图表',
   数据分析: '数据分析',
   报告附件: '报告附件',
   附件: '附件',
@@ -950,6 +951,7 @@ export default {
   是否需要跟进: '是否需要跟进',
   '使用/储存/废物最大量': '使用/储存/废物最大量',
   '排放/监控要求': '排放/监控要求',
+  '排放/监控要求为图表': '排放/监控要求为图表',
   回顾人: '回顾人',
   本次回顾日期: '本次回顾日期',
   卫生批文清单: '卫生批文清单',

+ 2 - 2
ui/src/views/ehs/environapproval/index.vue

@@ -291,12 +291,12 @@
         </el-row>
         <el-row>
           <el-col :span="12">
-            <el-form-item label="排放/监控要求为图表" prop="reqPic">
+            <el-form-item :label="$t('排放/监控要求为图表')" prop="reqPic">
               <el-checkbox v-model="form.reqPic" @change="changereqPic"></el-checkbox>
             </el-form-item>
           </el-col>
           <el-col :span="12">
-            <el-form-item label="主要内容为图表" prop="conPic">
+            <el-form-item :label="$t('主要内容为图表')" prop="conPic">
               <el-checkbox v-model="form.conPic"></el-checkbox>
             </el-form-item>
           </el-col>

+ 12 - 1
ui/src/views/plant/staffmgr/index.vue

@@ -70,6 +70,16 @@
           />
         </el-select>
       </el-form-item>
+      <el-form-item :label="$t('特殊职能')" prop="specialDuty" label-width="200">
+        <el-select v-model="queryParams.specialDuty" :placeholder="$t('请选择') + $t('特殊职能')" clearable size="small">
+          <el-option
+            v-for="dict in specialDutyOptions"
+            :key="dict.dictValue"
+            :label="dict.dictLabel"
+            :value="dict.dictValue"
+          />
+        </el-select>
+      </el-form-item>
       <el-form-item>
         <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">{{ $t('搜索') }}</el-button>
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{ $t('重置') }}</el-button>
@@ -727,7 +737,8 @@
           teams: null,
           actualposts: null,
           enAbilitys: null,
-          photo: null
+          photo: null,
+          specialDuty: null
         },
         querypIdParams: {
           units: '10,18',