Browse Source

完成指派功能

feature
luyan 2 years ago
parent
commit
a4c7934a43
  1. 4
      src/views/dataBoard/satisfactionEval/components/Title/index.vue
  2. 15
      src/views/modules/shequzhili/event/cpts/event-info.vue
  3. 5
      src/views/modules/shequzhili/event/cpts/process-form-designate.vue

4
src/views/dataBoard/satisfactionEval/components/Title/index.vue

@ -26,8 +26,8 @@ export default {
<style scoped lang="scss">
.title {
background: url(../../../../../assets/images/shuju/overview/title-bg.png)
no-repeat 0 0 fixed;
// background: url(../../../../../assets/images/shuju/overview/title-bg.png)
// no-repeat 0 0 fixed;
padding: 8px 16px 8px 32px;
display: flex;
align-items: center;

15
src/views/modules/shequzhili/event/cpts/event-info.vue

@ -74,7 +74,7 @@
<template v-if="!item.timeLimit">
<div class="name">完成并回复</div>
</template>
<template v-else>
<template v-if="!item.agencyId">
<div class="name">{{ item.processName }}</div>
</template>
<div class="date">
@ -372,20 +372,9 @@ export default {
this.$refs.ref_processinfo_dispose.getProcessInfo();
if (this.$refs.ref_processinfo_dispose.okflag) {
this.formData.operationType = this.$refs.ref_processinfo_dispose.operationType;
if (this.formData.operationType === "0" || this.formData.operationType === "6") {
this.replayInfo = this.$refs.ref_processinfo_dispose.replayInfo;
this.replayInfo.icEventId = this.eventId;
let url = "/governance/icEvent/reply";
await this.submitDispose(url, this.replayInfo);
} else if (this.formData.operationType === "5") {
this.replayInfo = this.$refs.ref_processinfo_dispose.replayInfo;
this.replayInfo.icEventId = this.eventId;
let url = "/governance/icEvent/designate";
console.log(this.replayInfo);
await this.submitDispose(url, this.replayInfo);
} else {
this.$message.info("请选择一种处理方式");
}
await this.submitDispose('/governance/icEvent/reply', this.replayInfo);
} else {
return false;
}

5
src/views/modules/shequzhili/event/cpts/process-form-designate.vue

@ -17,7 +17,7 @@
@change="handleChangeCate"></el-cascader>
</div>
</el-form-item>
<el-form-item label="处理部门" prop="agencyId" label-width="150px" :class="{ 'form-item': source === 'visiual' }">
<el-form-item label="处理部门" prop="deptId" label-width="150px" :class="{ 'form-item': source === 'visiual' }">
<el-cascader class="cell-width-2" ref="agencyIdArray" v-model="agencyIdArray" :options="orgOptions"
:props="orgOptionProps" :show-all-levels="false" @change="handleChangeAgency"></el-cascader>
</el-form-item>
@ -123,7 +123,8 @@ export default {
if (this.eventId) {
this.eventDetailCopy = JSON.parse(JSON.stringify(this.eventDetailData));
// eventDetailCopy
if (this.eventDetailCopy.parentCategoryId && his.eventDetailCopy.categoryId) {
if (this.eventDetailCopy.parentCategoryId && this.eventDetailCopy.categoryId) {
this.formData.categoryId = this.eventDetailCopy.categoryId
this.selCategoryArray.push(this.eventDetailCopy.parentCategoryId, this.eventDetailCopy.categoryId)
}
}

Loading…
Cancel
Save