Browse Source

LY 周会议 历史新增

ly 1 year ago
parent
commit
b78fa00e31

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

@@ -33,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectTMtActionlistList" parameterType="TMtActionlist" resultMap="TMtActionlistResult">
         <include refid="selectTMtActionlistVo"/>
         <where>
-            <if test="responsible != null  and responsible != ''"> and responsible = #{responsible}</if>
+            <if test="responsible != null  and responsible != ''"> and (responsible = #{responsible} or  is_person = '2' )</if>
             <if test="action != null  and action != ''"> and action = #{action}</if>
             <if test="deadline != null "> and deadline = #{deadline}</if>
             <if test="status != null  and status != ''"> and d.status = #{status}</if>

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

@@ -33,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectTMtKeymaintenanceList" parameterType="TMtKeymaintenance" resultMap="TMtKeymaintenanceResult">
         <include refid="selectTMtKeymaintenanceVo"/>
         <where>
-            <if test="responsible != null  and responsible != ''"> and responsible = #{responsible}</if>
+            <if test="responsible != null  and responsible != ''"> and (responsible = #{responsible} or  is_person = '2' )</if>
             <if test="deadline != null "> and deadline = #{deadline}</if>
             <if test="status != null  and status != ''"> and d.status = #{status}</if>
             <if test="remarks != null  and remarks != ''"> and remarks = #{remarks}</if>

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

@@ -33,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectTMtMessageattentionList" parameterType="TMtMessageattention" resultMap="TMtMessageattentionResult">
         <include refid="selectTMtMessageattentionVo"/>
         <where>
-            <if test="responsible != null  and responsible != ''"> and responsible like concat(concat('%', #{responsible}), '%')</if>
+            <if test="responsible != null  and responsible != ''"> and (responsible = #{responsible} or  is_person = '2' )</if>
             <if test="action != null  and action != ''"> and action like concat(concat('%', #{action}), '%')</if>
             <if test="deadline != null  and deadline != ''"> and deadline = #{deadline}</if>
             <if test="status != null  and status != ''"> and status = #{status}</if>

+ 4 - 0
ui/src/views/components/meeting/ehsopenitem.vue

@@ -372,6 +372,10 @@
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();
+      if (this.$route.params.tableId) {
+        this.form.meetingId = this.$route.params.tableId
+        this.form.isHis = 1
+      }
       this.open = true;
       this.title = this.$t('新增') + " " + this.$t('EHS开项跟踪');
     },

+ 4 - 0
ui/src/views/components/meeting/interlock.vue

@@ -294,6 +294,10 @@
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();
+      if (this.$route.params.tableId) {
+        this.form.meetingId = this.$route.params.tableId
+        this.form.isHis = 1
+      }
       this.open = true;
       this.title = this.$t('新增') + " " + this.$t('关键机组联锁旁路');
     },

+ 4 - 0
ui/src/views/components/meeting/keymaintenance.vue

@@ -439,6 +439,10 @@
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();
+      if (this.$route.params.tableId) {
+        this.form.meetingId = this.$route.params.tableId
+        this.form.isHis = 1
+      }
       this.open = true;
       this.title = this.$t('新增') + " " + this.$t('下周关键维修工作');
     },

+ 4 - 0
ui/src/views/components/meeting/messageattention.vue

@@ -387,6 +387,10 @@
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();
+      if (this.$route.params.tableId) {
+        this.form.meetingId = this.$route.params.tableId
+        this.form.isHis = 1
+      }
       this.open = true;
       this.title = this.$t('新增') + " " + this.$t('信息提醒');
     },

+ 4 - 0
ui/src/views/components/meeting/opextrack.vue

@@ -338,6 +338,10 @@
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();
+      if (this.$route.params.tableId) {
+        this.form.meetingId = this.$route.params.tableId
+        this.form.isHis = 1
+      }
       this.open = true;
       this.title = this.$t('新增') + " " + this.$t('OpEx项目跟踪');
     },

+ 4 - 0
ui/src/views/components/meeting/person.vue

@@ -320,6 +320,10 @@
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();
+      if (this.$route.params.tableId) {
+        this.form.meetingId = this.$route.params.tableId
+        this.form.isHis = 1
+      }
       this.open = true;
       this.title = this.$t('新增') + " " + this.$t('会议人员');
       this.getStaffmar();

+ 4 - 0
ui/src/views/components/meeting/riskreminder.vue

@@ -313,6 +313,10 @@
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();
+      if (this.$route.params.tableId) {
+        this.form.meetingId = this.$route.params.tableId
+        this.form.isHis = 1
+      }
       this.open = true;
       this.title = this.$t('新增') + " " + this.$t('风险提醒');
     },