cuiyalong 6 сар өмнө
parent
commit
1e93745fc1

+ 3 - 3
entbase-pc/src/views/ent/components/dataExportUserList.vue

@@ -53,7 +53,7 @@
           prop="role_name"
           label="角色">
           <template slot-scope="scope">
-            {{ scope.row.role_name || '--' }}
+            {{ scope.row.role_name || '员工' }}
           </template>
         </el-table-column>
         <el-table-column label="操作" align="center">
@@ -142,9 +142,9 @@ export default {
         const noValue = this.emptyValue(value) || value === ''
         if (type === 'total_limit') {
           payload.reqType = 'maxNums'
-          payload.maxNums = noValue ? Number(value) : ''
+          payload.maxNums = noValue ? '' : Number(value)
         } else if (type === 'daily_limit') {
-          payload.limitNum = noValue ? Number(value) : ''
+          payload.limitNum = noValue ? '' : Number(value)
         }
         setLimit_recordpersonListInter(payload).then(res => {
           if (res.data.status == 1) {