|
|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
<div>
|
|
|
|
|
<xy-dialog ref="dialog" :is-show.sync="isShow" type="form" :title="type === 'add' ? '发起任务' : '编辑任务'" :form="form"
|
|
|
|
|
:rules='rules' @submit="submit">
|
|
|
|
|
<template v-slot:mission_name>
|
|
|
|
|
<!-- <template v-slot:mission_name>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>计划名称:
|
|
|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
<el-input v-model="form.mission_name" placeholder="请输入计划名称" clearable style="width: 400px;"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</template> -->
|
|
|
|
|
<template v-slot:name>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
@ -110,7 +110,7 @@
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>说明:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-input v-model="form.content" :rows='5' type='textarea' placeholder="请输入说明" clearable
|
|
|
|
|
<el-input v-model="form.content" :rows='8' type='textarea' placeholder="请输入说明" clearable
|
|
|
|
|
style="width:400px"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -142,7 +142,7 @@
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>{{mission_type==2?'学习要求':'完成详情'}}:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-input v-model="form.end_content" :rows='5' type='textarea' placeholder="请输入完成详情" clearable
|
|
|
|
|
<el-input v-model="form.end_content" :rows='8' type='textarea' placeholder="请输入完成详情" clearable
|
|
|
|
|
style="width: 400px;"></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -449,7 +449,7 @@
|
|
|
|
|
}],
|
|
|
|
|
form: {
|
|
|
|
|
type: '',
|
|
|
|
|
mission_name:'',
|
|
|
|
|
// mission_name:'',
|
|
|
|
|
name: '',
|
|
|
|
|
unit_type: '',
|
|
|
|
|
start_date: '',
|
|
|
|
|
@ -606,7 +606,7 @@
|
|
|
|
|
this.form = {
|
|
|
|
|
type: res?.type,
|
|
|
|
|
name: res?.name,
|
|
|
|
|
mission_name:res?.mission_name,
|
|
|
|
|
// mission_name:res?.mission_name,
|
|
|
|
|
unit_type: res?.unit_type,
|
|
|
|
|
start_date: res?.start_date,
|
|
|
|
|
end_date: res?.end_date,
|
|
|
|
|
|