CzRger 5 mesi fa
parent
commit
591e703f90
1 ha cambiato i file con 9 aggiunte e 1 eliminazioni
  1. 9 1
      src/views/manage/service/detail.vue

+ 9 - 1
src/views/manage/service/detail.vue

@@ -60,7 +60,12 @@
       <div class="params-content">
         <template v-if="state.params.tab == 1">
           <div class="request-params">
-            <CusButton type="main" title="新增" style="margin: 0 auto 10px 0;" @click="state.params.requestParams.data.push({key: '', type: '1', value: '', valueTable: []})"/>
+            <div style="margin-bottom: 10px; display: flex">
+              <CusButton type="main" title="新增" style="margin-right: auto;" @click="state.params.requestParams.data.push({key: '', type: '1', value: '', valueTable: []})"/>
+              <div class="tips" style="margin: 0 10px">
+                默认分页参数取:“<span style="color: var(--cus-main-color)">$['pageNumber']、$['pageSize']</span>”
+              </div>
+            </div>
             <div style="flex: 1; overflow: hidden;">
               <CusTable
                 :data="state.params.requestParams.data"
@@ -160,6 +165,9 @@
         </template>
         <template v-else-if="state.params.tab == 3">
           <div class="request-body">
+            <div v-if="!['NONE'].includes(state.params.requestBody.type)" class="tips">
+              默认分页参数取:“<span style="color: var(--cus-main-color)">$['pageNumber']、$['pageSize']</span>”
+            </div>
             <CusForm>
               <CusFormColumn
                 :span="24"