zhonghuizhen 1 год назад
Родитель
Сommit
58a0713835

+ 2 - 1
src/views/business/​scheduleManage/adjust.vue

@@ -88,7 +88,7 @@ export default {
                     effect: 'default',
                     // effect: 'display',
                     actions: [
-                        { key: 'edit', label: '编辑', type: 'primary', icon: 'ibps-icon-edit', hidden: function (row) { return row.status !== '草稿' } },
+                        { key: 'edit', label: '编辑', type: 'primary', icon: 'ibps-icon-edit', hidden: function (row) { return row.status !== '已暂存' } },
                         { key: 'detail', label: '详情', type: 'primary', icon: 'ibps-icon-list-alt' }
                     ]
                 }
@@ -113,6 +113,7 @@ export default {
          * 获取格式化参数
          */
         getSearchFormData () {
+            debugger
             let paramjson = this.$refs['crud'] ? this.$refs['crud'].getSearcFormData() : {}
             if (this.$store.getters.isSuper) { // 超级管理员不做申请人过滤
             } else {

+ 2 - 2
src/views/business/​scheduleManage/adjustVerify.vue

@@ -75,7 +75,7 @@ export default {
                     itemWidth: 180,
                     forms: [
                         { prop: 'Q^reason_^SL', label: '调班原因' },
-                        { prop: 'Q^status^S', label: '状态', fieldType: 'select', options: stateType.filter(item => item.value !== '草稿') },
+                        { prop: 'Q^status^S', label: '状态', fieldType: 'select', options: stateType.filter(item => item.value !== '已暂存') },
                         { prop: ['Q^create_time_^DL', 'Q^create_time_^DG'], label: '申请时间', fieldType: 'daterange', itemWidth: 200 }
                     ]
                 },
@@ -125,7 +125,7 @@ export default {
          */
         getSearchFormData () {
             let paramjson = this.$refs['crud'] ? this.$refs['crud'].getSearcFormData() : {}
-            paramjson['Q^status^NE'] = '草稿'
+            paramjson['Q^status^NE'] = '已暂存'
             return ActionUtils.formatParams(
                 // this.$refs['crud'] ? this.$refs['crud'].getSearcFormData() : {},
                 paramjson,

+ 1 - 1
src/views/business/​scheduleManage/components/adjust-edit.vue

@@ -472,7 +472,7 @@ export default {
                 }
                 const { first, second } = this.$store.getters.level || {}
                 const { scheduleId, reason, adjustList } = this.formData || {}
-                let statusVal = '草稿'
+                let statusVal = '已暂存'
                 if (key === 'tempSave') { // 暂存
                 } else { // 提交
                     statusVal = adjustList.some(i => this.$utils.isNotEmpty(i.party)) ? '待审核' : '待审批'

+ 2 - 2
src/views/constants/schedule.js

@@ -164,8 +164,8 @@ export const cycleOptions = [
 
 export const stateType = [
     {
-        label: '草稿',
-        value: '草稿',
+        label: '已暂存',
+        value: '已暂存',
         type: 'info'
     },
     {