管理后台系统管理-版本管理修改更新选中当前版本接口
This commit is contained in:
parent
7d3251f1d6
commit
9aaeb7f0d6
|
|
@ -8,7 +8,7 @@ export const $version = new $api('/api/tbVersion')
|
||||||
*/
|
*/
|
||||||
export function $upSel(data) {
|
export function $upSel(data) {
|
||||||
return request({
|
return request({
|
||||||
url: 'upSel',
|
url: 'api/tbVersion/upSel',
|
||||||
method: "put",
|
method: "put",
|
||||||
data: {
|
data: {
|
||||||
shopId: localStorage.getItem("shopId"),
|
shopId: localStorage.getItem("shopId"),
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,13 @@
|
||||||
:active-value="1"
|
:active-value="1"
|
||||||
:inactive-value="0"
|
:inactive-value="0"
|
||||||
></el-switch>
|
></el-switch>
|
||||||
<el-button @click="changeSel(scope.row)" v-else type="primary" size="mini">设置为当前版本</el-button>
|
<el-switch
|
||||||
|
v-else
|
||||||
|
@change="changeSel(scope.row)"
|
||||||
|
v-model="scope.row.sel"
|
||||||
|
:active-value="1"
|
||||||
|
:inactive-value="0"
|
||||||
|
></el-switch>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="是否强制更新" prop="createdAt">
|
<el-table-column label="是否强制更新" prop="createdAt">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue