Browse Source

Merge remote-tracking branch 'origin/gzb' into wzl

gzb
wangzhonglu 1 year ago
parent
commit
db2cea5ac1
2 changed files with 31 additions and 3 deletions
  1. 15
    1
      src/views/school/index.vue
  2. 16
    2
      src/views/service/index.vue

+ 15
- 1
src/views/school/index.vue View File

208
           title: "序号",
208
           title: "序号",
209
           align: "center",
209
           align: "center",
210
           key: "slorder",
210
           key: "slorder",
211
-          width: 70
211
+          width: 70,
212
+          render: (h, params) => {
213
+            return h(
214
+                "span",
215
+                params.index +
216
+                (this.form_search.page - 1) * this.form_search.size +
217
+                1
218
+            );
219
+          }
212
         },
220
         },
213
         {
221
         {
214
           title: "学校名称",
222
           title: "学校名称",
221
           align: "center",
229
           align: "center",
222
           width: 180
230
           width: 180
223
         },
231
         },
232
+        {
233
+          title: "排序",
234
+          align: "center",
235
+          key: "slorder",
236
+          width: 70
237
+        },
224
         {
238
         {
225
           title: "创建人",
239
           title: "创建人",
226
           key: "createname",
240
           key: "createname",

+ 16
- 2
src/views/service/index.vue View File

202
         {
202
         {
203
           title: "序号",
203
           title: "序号",
204
           align: "center",
204
           align: "center",
205
-          key: "scorder",
206
-          width: 70
205
+          key: "slorder",
206
+          width: 70,
207
+          render: (h, params) => {
208
+            return h(
209
+                "span",
210
+                params.index +
211
+                (this.form_search.page - 1) * this.form_search.size +
212
+                1
213
+            );
214
+          }
207
         },
215
         },
208
         {
216
         {
209
           title: "服务名称",
217
           title: "服务名称",
216
           align: "center",
224
           align: "center",
217
           width: 180
225
           width: 180
218
         },
226
         },
227
+        {
228
+          title: "排序",
229
+          align: "center",
230
+          key: "scorder",
231
+          width: 70
232
+        },
219
         {
233
         {
220
           title: "创建人",
234
           title: "创建人",
221
           key: "createname",
235
           key: "createname",

Loading…
Cancel
Save