lukeyan #104

Merged
lukeyan merged 2 commits from lukeyan into master 1 year ago

@ -88,7 +88,9 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button @click="dispose_complete"></el-button> <el-button @click="dispose_complete"></el-button>
<el-button class="dispose_lose" @click="dispose_fail"></el-button> <el-button class="dispose_lose" @click="dispose_fail"
>处置失败</el-button
>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -109,7 +111,9 @@
</div> </div>
</el-image> </el-image>
<div class="backlog_idea_person_information"> <div class="backlog_idea_person_information">
<div class="backlog_idea_person_name">{{ item.assigneeName }}</div> <div class="backlog_idea_person_name">
{{ item.assigneeName }}
</div>
<div class="backlog_idea_person_team">{{ item.candidate }}</div> <div class="backlog_idea_person_team">{{ item.candidate }}</div>
</div> </div>
</div> </div>
@ -117,13 +121,15 @@
<!-- 第一行处理意见 --> <!-- 第一行处理意见 -->
<div class="dispose_idea"> <div class="dispose_idea">
<div class="backlog_text">处理意见:</div> <div class="backlog_text">处理意见:</div>
<div class="backlog_value">{{ item.comment.comment }}</div> <div class="backlog_value">
{{ item.comment.comment == null ? "" : item.comment.comment }}
</div>
</div> </div>
<!-- 第二行附件 按需显示或者隐藏 --> <!-- 第二行附件 按需显示或者隐藏 -->
<!-- <div v-if="attachment_show" class="attachment"> <!-- <div v-if="attachment_show" class="attachment">
<div class="backlog_text">附件:</div> --> <div class="backlog_text">附件:</div> -->
<!-- 此处后面会改为下载图片链接 --> <!-- 此处后面会改为下载图片链接 -->
<!-- <div class="backlog_value">{{ item.attachment_value }}</div> <!-- <div class="backlog_value">{{ item.attachment_value }}</div>
</div> --> </div> -->
<!-- 第三行抄送人 --> <!-- 第三行抄送人 -->
<div class="send_person"> <div class="send_person">
@ -165,8 +171,7 @@ export default {
suggest: "", suggest: "",
section: "", section: "",
}, },
backlog_list: [ backlog_list: [],
],
status_list: [ status_list: [
{ label: "待审核", value: "1" }, { label: "待审核", value: "1" },
{ label: "通过", value: "2" }, { label: "通过", value: "2" },
@ -210,14 +215,14 @@ export default {
let param = { let param = {
procInsId: this.backlog_detail.procInsId, procInsId: this.backlog_detail.procInsId,
taskId: this.backlog_detail.taskId, taskId: this.backlog_detail.taskId,
comment:this.form.suggest, comment: this.form.suggest,
approveType:'2', approveType: "2",
copyDeptIds: this.tags.map(item =>item.id) copyDeptIds: this.tags.map((item) => item.id),
}; };
get_backlog_approve(param).then(res=>{ get_backlog_approve(param).then((res) => {
console.log('res_approve',res); console.log("res_approve", res);
this.$message.success('处置通过') this.$message.success("处置通过");
this.$emit('back_home_page') // this.$emit("back_home_page"); //
}); });
}, },
// //
@ -225,16 +230,16 @@ export default {
let param = { let param = {
procInsId: this.backlog_detail.procInsId, procInsId: this.backlog_detail.procInsId,
taskId: this.backlog_detail.taskId, taskId: this.backlog_detail.taskId,
comment:this.form.suggest, comment: this.form.suggest,
approveType:'3', approveType: "3",
copyDeptIds: this.tags.map(item =>item.id) copyDeptIds: this.tags.map((item) => item.id),
}; };
get_backlog_approve(param).then(res=>{ get_backlog_approve(param).then((res) => {
console.log('res_approve',res); console.log("res_approve", res);
this.$message.warning('处置失败') this.$message.warning("处置失败");
this.$emit('back_home_page') // this.$emit("back_home_page"); //
}); });
} },
}, },
}; };
</script> </script>

@ -77,7 +77,9 @@
</div> </div>
</el-image> </el-image>
<div class="complete_idea_person_information"> <div class="complete_idea_person_information">
<div class="complete_idea_person_name">{{ item.assigneeName }}</div> <div class="complete_idea_person_name">
{{ item.assigneeName }}
</div>
<div class="complete_idea_person_team">{{ item.candidate }}</div> <div class="complete_idea_person_team">{{ item.candidate }}</div>
</div> </div>
</div> </div>
@ -85,13 +87,15 @@
<!-- 第一行处理意见 --> <!-- 第一行处理意见 -->
<div class="dispose_idea"> <div class="dispose_idea">
<div class="complete_text">处理意见:</div> <div class="complete_text">处理意见:</div>
<div class="complete_value">{{ item.comment.comment }}</div> <div class="complete_value">
{{ item.comment.comment == null ? "" : item.comment.comment }}
</div>
</div> </div>
<!-- 第二行附件 按需显示或者隐藏 --> <!-- 第二行附件 按需显示或者隐藏 -->
<!-- <div v-if="attachment_show" class="attachment"> --> <!-- <div v-if="attachment_show" class="attachment"> -->
<!-- <div class="complete_text">附件:</div> --> <!-- <div class="complete_text">附件:</div> -->
<!-- 此处后面会改为下载图片链接 --> <!-- 此处后面会改为下载图片链接 -->
<!-- <div class="complete_value">{{ item.attachment_value }}</div> --> <!-- <div class="complete_value">{{ item.attachment_value }}</div> -->
<!-- </div> --> <!-- </div> -->
<!-- 第三行抄送人 --> <!-- 第三行抄送人 -->
<div class="complete_person"> <div class="complete_person">
@ -139,7 +143,9 @@ export default {
}; };
get_my_course_record(param).then((res) => { get_my_course_record(param).then((res) => {
this.basic_message = res.data; this.basic_message = res.data;
this.process_status = this.status_list.find(item=>item.value == this.basic_message.alarmStatus).label this.process_status = this.status_list.find(
(item) => item.value == this.basic_message.alarmStatus
).label;
this.opinion_list = res.data.doneTaskVoList; // this.opinion_list = res.data.doneTaskVoList; //
}); });
}, },

@ -85,7 +85,9 @@
<!-- 第一行处理意见 --> <!-- 第一行处理意见 -->
<div class="dispose_idea"> <div class="dispose_idea">
<div class="course_text">处理意见:</div> <div class="course_text">处理意见:</div>
<div class="course_value">{{ item.comment.comment }}</div> <div class="course_value">
{{ item.comment.comment == null ? "" : item.comment.comment }}
</div>
</div> </div>
<!-- 第二行附件 按需显示或者隐藏 --> <!-- 第二行附件 按需显示或者隐藏 -->
<!-- <div v-if="attachment_show" class="attachment"> --> <!-- <div v-if="attachment_show" class="attachment"> -->

@ -85,7 +85,9 @@
<!-- 第一行处理意见 --> <!-- 第一行处理意见 -->
<div class="dispose_idea"> <div class="dispose_idea">
<div class="course_text">处理意见:</div> <div class="course_text">处理意见:</div>
<div class="course_value">{{ item.comment.comment }}</div> <div class="course_value">
{{ item.comment.comment == null ? "" : item.comment.comment }}
</div>
</div> </div>
<!-- 第二行附件 按需显示或者隐藏 --> <!-- 第二行附件 按需显示或者隐藏 -->
<!-- <div v-if="attachment_show" class="attachment"> --> <!-- <div v-if="attachment_show" class="attachment"> -->
@ -179,6 +181,7 @@ export default {
taskId: this.send_detail.taskId, taskId: this.send_detail.taskId,
}; };
get_my_course_record(param).then((res) => { get_my_course_record(param).then((res) => {
console.log("bbbb", res);
this.basic_message = res.data; this.basic_message = res.data;
this.process_status = this.status_list.find( this.process_status = this.status_list.find(
(item) => item.value == this.basic_message.alarmStatus (item) => item.value == this.basic_message.alarmStatus

Loading…
Cancel
Save