Browse Source

SAI开项申请流程:待处理页面、与我相关页面

wangggziwen 2 năm trước cách đây
mục cha
commit
321423aa49

+ 1 - 1
ui/src/views/approve/approveDetail/sai-apply-detail.vue

@@ -435,7 +435,7 @@
     <!-- 流程操作 -->
     <div slot="footer" class="dialog-footer">
       <!-- 当前登录用户为处理人(之一)或张力飞 -->
-      <span v-if="scope.row.handler.indexOf(loginStaffInfo.userId) != -1 || loginStaffInfo.userId == '20276'">
+      <span v-if="dataForm.handler.indexOf(loginStaffInfo.userId) != -1 || loginStaffInfo.userId == '20276'" style="margin-right: 10px;">
         <el-button v-if="taskName != null && dataForm.applyStatus != 4 && dataForm.applyStatus != 5" @click="dataFormSave()">{{ $t('保存') }}</el-button>
         <el-button type="success" v-if="taskName != null && dataForm.veResult != '0'" @click="dataFormSubmit(1)">{{ $t('通过') }}</el-button>
         <el-button type="danger" v-if="taskName == '验收' && dataForm.veResult == '0'" @click="dataFormSubmit(2)">{{ $t('驳回') }}</el-button>

+ 1 - 0
ui/src/views/production/apply/mine/index.vue

@@ -1131,6 +1131,7 @@ export default {
         }
         listApply(this.queryParams).then(response => {
           let rows = response.rows;
+          this.applyList = [];
           for (let i = 0; i < rows.length; i++) {
             if ((rows[i].applicant != null && rows[i].applicant.indexOf(this.loginStaffInfo.userId) != -1)
               || (rows[i].assessor != null && rows[i].assessor.indexOf(this.loginStaffInfo.userId) != -1)

+ 1 - 0
ui/src/views/production/apply/pending/index.vue

@@ -1131,6 +1131,7 @@ export default {
         }
         listApply(this.queryParams).then(response => {
           let rows = response.rows;
+          this.applyList = [];
           for (let i = 0; i < rows.length; i++) {
             if (rows[i].handler.indexOf(this.loginStaffInfo.userId) != -1) {
               this.applyList.push(rows[i]);