|  | @@ -8,23 +8,31 @@ import { ElMessage } from "element-plus"
 | 
	
		
			
				|  |  |  const Api = API
 | 
	
		
			
				|  |  |  const appList = ref([])
 | 
	
		
			
				|  |  |  const init = () => {
 | 
	
		
			
				|  |  | -  Api.appList({ type: "APP" }).then((res) => {
 | 
	
		
			
				|  |  | -    appList.value = res
 | 
	
		
			
				|  |  | +  Api.appList({ pageNumber: 0, pageSize: 100 }).then((res) => {
 | 
	
		
			
				|  |  | +    appList.value = res.content
 | 
	
		
			
				|  |  |    })
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  const appCreate = () => {
 | 
	
		
			
				|  |  |    ElMessage.success("新建应用成功")
 | 
	
		
			
				|  |  | -  Api.appCreate({ type: "APP", appName: name.value }).then(() => {
 | 
	
		
			
				|  |  | +  Api.appCreate({
 | 
	
		
			
				|  |  | +    downloadUrl: downloadUrl.value,
 | 
	
		
			
				|  |  | +    packageName: packageName.value,
 | 
	
		
			
				|  |  | +    appName: name.value
 | 
	
		
			
				|  |  | +  }).then(() => {
 | 
	
		
			
				|  |  |      init()
 | 
	
		
			
				|  |  |      showDialog.value = false
 | 
	
		
			
				|  |  |    })
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  const name = ref(undefined)
 | 
	
		
			
				|  |  | +const downloadUrl = ref(undefined)
 | 
	
		
			
				|  |  | +const packageName = ref(undefined)
 | 
	
		
			
				|  |  |  const showDialog = ref(false)
 | 
	
		
			
				|  |  |  const detail = ref(undefined)
 | 
	
		
			
				|  |  |  const showDetailsDialog = ref(false)
 | 
	
		
			
				|  |  |  const addApp = () => {
 | 
	
		
			
				|  |  |    name.value = undefined
 | 
	
		
			
				|  |  | +  downloadUrl.value = undefined
 | 
	
		
			
				|  |  | +  packageName.value = undefined
 | 
	
		
			
				|  |  |    showDialog.value = true
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  const showApp = (scope) => {
 | 
	
	
		
			
				|  | @@ -60,6 +68,22 @@ init()
 | 
	
		
			
				|  |  |        :prefix-icon="PriceTag"
 | 
	
		
			
				|  |  |        :clearable="true"
 | 
	
		
			
				|  |  |      />
 | 
	
		
			
				|  |  | +    <el-input
 | 
	
		
			
				|  |  | +      class="text item"
 | 
	
		
			
				|  |  | +      v-model="downloadUrl"
 | 
	
		
			
				|  |  | +      style="width: 440px; margin-top: 20px"
 | 
	
		
			
				|  |  | +      placeholder="请输入下载地址"
 | 
	
		
			
				|  |  | +      :prefix-icon="PriceTag"
 | 
	
		
			
				|  |  | +      :clearable="true"
 | 
	
		
			
				|  |  | +    />
 | 
	
		
			
				|  |  | +    <el-input
 | 
	
		
			
				|  |  | +      class="text item"
 | 
	
		
			
				|  |  | +      v-model="packageName"
 | 
	
		
			
				|  |  | +      style="width: 440px; margin-top: 20px"
 | 
	
		
			
				|  |  | +      placeholder="请输入应用包名"
 | 
	
		
			
				|  |  | +      :prefix-icon="PriceTag"
 | 
	
		
			
				|  |  | +      :clearable="true"
 | 
	
		
			
				|  |  | +    />
 | 
	
		
			
				|  |  |      <template #footer>
 | 
	
		
			
				|  |  |        <div class="dialog-footer">
 | 
	
		
			
				|  |  |          <el-button @click="showDialog = false">Cancel</el-button>
 |