|
@ -39,9 +39,6 @@ |
|
|
<el-form v-if="showType == 'edit'" ref="formData " label-position="left" :model="formData" label-width="150px" |
|
|
<el-form v-if="showType == 'edit'" ref="formData " label-position="left" :model="formData" label-width="150px" |
|
|
style="margin-left: 3%; margin-top: 10px;"> |
|
|
style="margin-left: 3%; margin-top: 10px;"> |
|
|
<el-row> |
|
|
<el-row> |
|
|
<!-- <el-form-item prop="taskTitle" label="任务主题"> |
|
|
|
|
|
<el-input v-model="formData.taskTitle" placeholder="请输入内容" clearable class="cell-width-1"></el-input> |
|
|
|
|
|
</el-form-item> --> |
|
|
|
|
|
<el-form-item label="任务要求" prop="taskIntroduction" style="display: block"> |
|
|
<el-form-item label="任务要求" prop="taskIntroduction" style="display: block"> |
|
|
<el-input class="cell-width-2" type="textarea" maxlength="500" show-word-limit :rows="5" |
|
|
<el-input class="cell-width-2" type="textarea" maxlength="500" show-word-limit :rows="5" |
|
|
placeholder="请输入事件内容,不超过500字" v-model.trim="formData.taskIntroduction"></el-input> |
|
|
placeholder="请输入事件内容,不超过500字" v-model.trim="formData.taskIntroduction"></el-input> |
|
@ -94,7 +91,9 @@ export default { |
|
|
pageSize: 10 |
|
|
pageSize: 10 |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
created() { }, |
|
|
created() { |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
async handleConfirm() { |
|
|
async handleConfirm() { |
|
|
console.log(this.selfTag),"dsfkljdslk"; |
|
|
console.log(this.selfTag),"dsfkljdslk"; |
|
@ -147,9 +146,9 @@ export default { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
async updateState() { |
|
|
async updateState() { |
|
|
|
|
|
console.log(this.formDatas,"sdfkljslkdjf"); |
|
|
if(this.showType=="adjust1"){ |
|
|
if(this.showType=="adjust1"){ |
|
|
const url = '/actual/base/communityOneTablePeriodPublish/update' |
|
|
const url = '/actual/base/communityOneTablePeriodPublish/update' |
|
|
console.log(this.formDatas,"sdfkljslkdjf"); |
|
|
|
|
|
const { id, taskId, taskTitle, taskPeriod, taskType, taskIntroduction } = this.formDatas; |
|
|
const { id, taskId, taskTitle, taskPeriod, taskType, taskIntroduction } = this.formDatas; |
|
|
const parm = { id, taskId, taskTitle, taskPeriod, taskType, taskIntroduction } |
|
|
const parm = { id, taskId, taskTitle, taskPeriod, taskType, taskIntroduction } |
|
|
parm.taskState = 'reassigned'; |
|
|
parm.taskState = 'reassigned'; |
|
@ -272,6 +271,9 @@ export default { |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
console.log(this.showType, this.taskId, "sdlfkl;sdf"); |
|
|
console.log(this.showType, this.taskId, "sdlfkl;sdf"); |
|
|
|
|
|
this.formData.taskIntroduction = this.formDatas.taskIntroduction |
|
|
|
|
|
console.log(this.formData.taskIntroduction,"dsfjhfds"); |
|
|
|
|
|
|
|
|
this.getOrgTreeList() |
|
|
this.getOrgTreeList() |
|
|
if(this.showType=="adjust"){ |
|
|
if(this.showType=="adjust"){ |
|
|
this.getPeriodPublish() |
|
|
this.getPeriodPublish() |
|
@ -289,7 +291,6 @@ export default { |
|
|
}, |
|
|
}, |
|
|
formDatas: { |
|
|
formDatas: { |
|
|
type: Object, |
|
|
type: Object, |
|
|
default: () => { } |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|