|
@@ -11,7 +11,7 @@ export function useAppVersion() {
|
|
|
|
|
|
});
|
|
|
let form = reactive({
|
|
|
- kind: "", //分类
|
|
|
+ kind: "creater", //分类
|
|
|
|
|
|
});
|
|
|
const dataList = ref([]);
|
|
@@ -36,11 +36,6 @@ export function useAppVersion() {
|
|
|
width: 70,
|
|
|
hide: ({ checkList }) => !checkList.includes("序号列")
|
|
|
},
|
|
|
- {
|
|
|
- label: "ID",
|
|
|
- prop: "id",
|
|
|
- minWidth: 200
|
|
|
- },
|
|
|
{
|
|
|
label: "终端类型",
|
|
|
prop: "terminalKind",
|
|
@@ -71,6 +66,11 @@ export function useAppVersion() {
|
|
|
prop: "downloadUrl",
|
|
|
minWidth: 200
|
|
|
},
|
|
|
+ {
|
|
|
+ label: "ID",
|
|
|
+ prop: "id",
|
|
|
+ minWidth: 200
|
|
|
+ },
|
|
|
|
|
|
{
|
|
|
label: "操作",
|
|
@@ -147,7 +147,7 @@ export function useAppVersion() {
|
|
|
type: "warning"
|
|
|
}
|
|
|
).then(async () => {
|
|
|
- const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.appVersiondelete.method, url: UrlList.kxsConfigServer.appVersiondelete.url, params: String(row.id) });
|
|
|
+ const { status, msg }: any = await http.Request({ method: UrlList.kxsConfigServer.appVersiondelete.method, url: UrlList.kxsConfigServer.appVersiondelete.url, params: row.id });
|
|
|
if (status === 1) {
|
|
|
ElMessage({
|
|
|
message: "删除成功",
|
|
@@ -178,6 +178,11 @@ export function useAppVersion() {
|
|
|
editUpdateFormData.value = row;
|
|
|
};
|
|
|
|
|
|
+ // 分类选项数据
|
|
|
+ const kindOptionList = [
|
|
|
+ { label: '创客版', id: 'creater' }
|
|
|
+ ]
|
|
|
+
|
|
|
return {
|
|
|
form,
|
|
|
loading,
|
|
@@ -188,6 +193,7 @@ export function useAppVersion() {
|
|
|
handleSizeChange,
|
|
|
handleCurrentChange,
|
|
|
handleSelectionChange,
|
|
|
+ kindOptionList,
|
|
|
ruleFormRef,
|
|
|
|
|
|
handleAdd,
|