Przeglądaj źródła

-修改工作票统计搜索条件

jiangbiao 2 lat temu
rodzic
commit
bb992a80e3

+ 1 - 1
master/src/main/resources/mybatis/ehs/TJobticketMapper.xml

@@ -81,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="userMg != null "> and user_mg = #{userMg}</if>
             <if test="userUnit != null "> and user_unit = #{userUnit}</if>
             <if test="tag != null and tag != '' "> and tag = #{tag}</if>
-            and d.del_flag = 0
+            and d.del_flag = 0 and xpxp = 10
         </where>
         <!-- 数据范围过滤 -->
         ${params.dataScope}

+ 3 - 2
ui/src/views/ehs/jobticket/index.vue

@@ -27,7 +27,7 @@
           />
         </el-select>
       </el-form-item>
-      <el-form-item :label="$t('新票/续票')" prop="xpxp">
+<!--      <el-form-item :label="$t('新票/续票')" prop="xpxp">
         <el-select v-model="queryParams.xpxp" :placeholder="$t('请选择') + $t('新票/续票')" clearable size="small"
                    @change="handleQuery">
           <el-option
@@ -37,7 +37,7 @@
             :value="dict.dictValue"
           />
         </el-select>
-      </el-form-item>
+      </el-form-item>-->
       <el-form-item label="延期许可证号" prop="yqxkzh">
         <el-input
           v-model="queryParams.yqxkzh"
@@ -1035,6 +1035,7 @@ export default {
     getList() {
       this.loading = true;
       listJobticket(this.queryParams).then(response => {
+        this.jobticketList=[]
         this.jobticketList = response.rows;
         this.total = response.total;
         this.loading = false;