|
@@ -27,7 +27,7 @@
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
<div style="display: inline-block;float: right">
|
|
|
- <span style="line-height: 45px;vertical-align: bottom; cursor: pointer; color: #6F7C93;" @click.stop="display = true"><img :src="image_url"> 1 </span>
|
|
|
+ <span style="line-height: 45px;vertical-align: bottom; cursor: pointer; color: #6F7C93;" @click.stop="display = true"><img :src="image_url"> {{ num }} </span>
|
|
|
<el-button size="mini" style="margin-left: 10px" @click="deleteRequirement">删除需求</el-button>
|
|
|
<el-button type="primary" size="mini" @click="createTask">新建任务</el-button>
|
|
|
</div>
|
|
@@ -244,7 +244,7 @@
|
|
|
@confirm="getRequirementById();updateDialogVisible=false"
|
|
|
/>
|
|
|
<task-create v-if="createTaskDialogVisible" ref="task_createdUpdata" />
|
|
|
- <drawer title="需求成员" center :display.sync="display" width="28%" :delete="Number(id)" :types="false" :inner="true" :mask="false" @click.stop />
|
|
|
+ <drawer title="需求成员" center :display.sync="display" width="28%" :delete="Number(id)" :types="false" :inner="true" :mask="false" @childValInput="childVal" @click.stop />
|
|
|
</el-container>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -296,6 +296,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ num: '',
|
|
|
image_url: image_url,
|
|
|
display: false,
|
|
|
createTaskDialogVisible: false,
|
|
@@ -504,6 +505,9 @@ export default {
|
|
|
this.$store.state.data.bizId = false
|
|
|
},
|
|
|
methods: {
|
|
|
+ childVal(val) {
|
|
|
+ this.num = val
|
|
|
+ },
|
|
|
getScheduleCollect() {
|
|
|
if (this.task && this.task.reqStartTime && this.task.reqEndTime) {
|
|
|
return this.task.reqStartTime.substring(0, 10).replace(/-/, '年').replace(/-/, '月') + '日' + ' ~ ' + this.task.reqEndTime.substring(0, 10).replace(/-/, '年').replace(/-/, '月') + '日'
|