Commit b98bf5b3 authored by wangxl's avatar wangxl

444444

parent 91aeba09
...@@ -111,6 +111,8 @@ export default { ...@@ -111,6 +111,8 @@ export default {
else { else {
this.childArray = [this.defaultChild] this.childArray = [this.defaultChild]
this.childValue = '' this.childValue = ''
this.$emit("input", null);
this.$emit("change");
} }
this.$emit('parentChange', value) this.$emit('parentChange', value)
this.$emit("change"); this.$emit("change");
......
...@@ -7,12 +7,20 @@ ...@@ -7,12 +7,20 @@
<a-icon type="delete" class="hover-pointer d-icon" @click="deletefile(file)" style="margin: 0px 2px;" /> <a-icon type="delete" class="hover-pointer d-icon" @click="deletefile(file)" style="margin: 0px 2px;" />
</div> </div>
<div v-else> <div v-else>
<a-form-model-item :prop="name+'downloadUrl'" :rules="{required: isRequired, message: message,trigger: 'blur',}"> <div v-if="isUpload">
<input type="file" ref="fileElem" class="visually-hidden" @change="handleFiles"> <a-form-model-item :prop="name+'downloadUrl'" :rules="{required: isRequired, message: message,trigger: 'blur',}">
<input type="file" ref="fileElem1" class="visually-hidden" @change="handleFiles">
<a-button @click="fileSelect">
<a-icon type="upload" />选择文件
</a-button>
</a-form-model-item>
</div>
<div v-else>
<input type="file" ref="fileElem2" class="visually-hidden" @change="handleFiles">
<a-button @click="fileSelect"> <a-button @click="fileSelect">
<a-icon type="upload" />选择文件 <a-icon type="upload" />选择文件
</a-button> </a-button>
</a-form-model-item> </div>
</div> </div>
</div> </div>
</template> </template>
......
...@@ -311,7 +311,7 @@ ...@@ -311,7 +311,7 @@
</a-col> </a-col>
<a-col :span="20"> <a-col :span="20">
<a-form-model-item prop="knowledgeId"> <a-form-model-item prop="knowledgeId">
<cascader-select v-model="formData.knowledgeId"/> <cascader-select v-model="formData.knowledgeId" />
<!-- <para-multi-select v-model="formData.knowledgeId" :typeId="57" /> --> <!-- <para-multi-select v-model="formData.knowledgeId" :typeId="57" /> -->
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
...@@ -431,16 +431,40 @@ ...@@ -431,16 +431,40 @@
</a-row> </a-row>
<!-- 项目组成员 --> <!-- 项目组成员 -->
<project-member-edit :dataList.sync="formData.members" /> <project-member-edit :dataList.sync="formData.members" />
<a-row type="flex">
<a-col :span="24" style="text-align: center;">
<div class="special-middle">
&nbsp;
</div>
</a-col>
</a-row>
<!-- 项目绩效指标 --> <!-- 项目绩效指标 -->
<project-kpi-edit :projectKPI.sync="formData.projectKPI" /> <project-kpi-edit :projectKPI.sync="formData.projectKPI" />
<a-row type="flex">
<a-col :span="24" style="text-align: center;">
<div class="special-middle">
&nbsp;
</div>
</a-col>
</a-row>
<!-- 经费预算 --> <!-- 经费预算 -->
<budget-edit :budget.sync="formData.budget" /> <budget-edit :budget.sync="formData.budget" />
<a-row type="flex">
<a-col :span="24" style="text-align: center;">
<div class="special-middle">
&nbsp;
</div>
</a-col>
</a-row>
<!-- 分年度用款计划 --> <!-- 分年度用款计划 -->
<fund-plan-edit :fundPlan.sync="formData.fundPlan" /> <fund-plan-edit :fundPlan.sync="formData.fundPlan" />
<a-row type="flex">
<a-col :span="24" style="text-align: center;">
<div class="special-middle">
&nbsp;
</div>
</a-col>
</a-row>
<a-row> <a-row>
<a-col :span="24" style="border-top: 0px"> <a-col :span="24" style="border-top: 0px">
<div class="main-title"> <div class="main-title">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment