diff --git a/src/api/user/index.js b/src/api/user/index.js index 6a797e7..b966068 100644 --- a/src/api/user/index.js +++ b/src/api/user/index.js @@ -12,3 +12,12 @@ export const list = (params) => { params }) } + +// /app_user/status/:id +export const status = (data) => { + return service({ + url: '/app_user/status/'+ data.ID, + method: 'put', + data + }) +} diff --git a/src/components/content/index.vue b/src/components/content/index.vue index 58979d2..ad40284 100644 --- a/src/components/content/index.vue +++ b/src/components/content/index.vue @@ -8,7 +8,7 @@ v-bind="computedStyle" :show-overflow-tooltip="config.tooltip" :header-row-style="headerRowStyle" - :highlight-current-row="!!config.radio ? true : false" + :highlight-current-row="!!config.radio" :span-method="config?.spanMethod" :tooltip-options="config?.tooltipOptions" @current-change="handleTableCurrentChange" @@ -18,7 +18,7 @@
- +
@@ -65,8 +65,9 @@