|
@@ -3,10 +3,7 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24" class="main animate__animated animate__backInRight" v-loading="loading">
|
|
|
<div class="thr" v-if="companyInfo && companyInfo.id">
|
|
|
- <el-select size="large" style="width: 350px" clearable v-model="incubator_id" filterable remote reserve-keyword placeholder="请输入想要选择的孵化器" :remote-method="remoteMethod" :loading="searchLoading">
|
|
|
- <el-option v-for="item in searchList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
- </el-select>
|
|
|
- <el-button class="button" size="large" @click="toSave" type="primary">确定</el-button>
|
|
|
+ <el-button class="button" size="large" @click="toJoin" type="primary">入驻孵化器</el-button>
|
|
|
</div>
|
|
|
<el-col :span="24" class="one">基本信息 </el-col>
|
|
|
<el-col :span="24" class="two">
|
|
@@ -64,6 +61,16 @@
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-dialog v-model="dialog.show" :title="dialog.title" :destroy-on-close="false" @close="toClose">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24" v-if="dialog.type == '1'" class="dialog_one">
|
|
|
+ <el-select size="large" style="width: 350px" clearable v-model="incubator_id" filterable remote reserve-keyword placeholder="请输入想要选择的孵化器" :remote-method="remoteMethod" :loading="searchLoading">
|
|
|
+ <el-option v-for="item in searchList" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
+ </el-select>
|
|
|
+ <el-button class="button" size="large" @click="toSave" type="primary">确定</el-button>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -120,6 +127,7 @@ const loading = ref(false)
|
|
|
// 字典
|
|
|
const genderList = ref([])
|
|
|
const plateList = ref([])
|
|
|
+const dialog = ref({ type: '1', show: false, title: '入驻孵化器' })
|
|
|
// 请求
|
|
|
onMounted(async () => {
|
|
|
loading.value = true
|
|
@@ -200,6 +208,10 @@ const toSave = () => {
|
|
|
})
|
|
|
.catch(() => {})
|
|
|
}
|
|
|
+// 入驻孵化器
|
|
|
+const toJoin = () => {
|
|
|
+ dialog.value = { type: '1', show: true, title: '入驻孵化器' }
|
|
|
+}
|
|
|
</script>
|
|
|
<style scoped lang="scss">
|
|
|
.main {
|
|
@@ -215,12 +227,15 @@ const toSave = () => {
|
|
|
}
|
|
|
}
|
|
|
.thr {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- margin: 0 0 10px 0;
|
|
|
- .button {
|
|
|
- margin: 0 0 0 5px;
|
|
|
- }
|
|
|
+ margin: 10px 0;
|
|
|
+ }
|
|
|
+}
|
|
|
+.dialog_one {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ margin: 0 0 10px 0;
|
|
|
+ .button {
|
|
|
+ margin: 0 0 0 5px;
|
|
|
}
|
|
|
}
|
|
|
</style>
|