Browse Source

Merge branch 'feature' of http://120.46.222.128:10021/elink-star/epmet-work-pc into feature

feature
是小王呀\24601 4 months ago
parent
commit
2700a84c28
  1. 12
      src/views/modules/base/organization/organization.vue
  2. 6
      src/views/modules/shequzhili/event/cpts/event-info.vue
  3. 10
      src/views/modules/shequzhili/event/cpts/process-form-complete.vue
  4. 9
      src/views/modules/shequzhili/eventOld/cpts/event-info.vue
  5. 5
      src/views/modules/shequzhili/eventOld/eventList.vue

12
src/views/modules/base/organization/organization.vue

@ -1823,14 +1823,18 @@ export default {
}, },
// //
async updatePeoDo () { async updatePeoDo () {
const targetAgencyIds = this.peoForm.manageScopes.map(innerArray => innerArray[innerArray.length - 1]); if(this.peoForm.manageScopes){
const targetAgencyIds =this.peoForm.manageScopes?this.peoForm.manageScopes.map(innerArray => innerArray[innerArray.length - 1]):this.peoForm.manageScopes;
// Set // Set
const result = new Set(); const result = new Set();
// level agencyId // level agencyId
this.extractLevelAndAgencyId(this.orgOptions[0], targetAgencyIds, result); this.extractLevelAndAgencyId(this.orgOptions[0], targetAgencyIds, result);
// Set // Set
var manageScopeArray = Array.from(result);
console.log(this.peoForm,"查看");
}
const manageScopeArray = Array.from(result);
const url = "/gov/org/staff/editstaff"; const url = "/gov/org/staff/editstaff";
let params = { let params = {
staffId: this.userStaffId, staffId: this.userStaffId,
@ -2118,7 +2122,6 @@ export default {
this.gridTableFlag = false; this.gridTableFlag = false;
this.agencyTableFlag = false; this.agencyTableFlag = false;
this.departmentTableFlag = false; this.departmentTableFlag = false;
this.selDeptType = row.deptType; this.selDeptType = row.deptType;
this.getDepartmentStaffListData(); this.getDepartmentStaffListData();
this.assembleBreadcrumbArr(row.departmentId, "department"); this.assembleBreadcrumbArr(row.departmentId, "department");
@ -2303,7 +2306,7 @@ export default {
this.peoForm.post = data.workType; this.peoForm.post = data.workType;
this.peoForm.idCard = data.idCard; this.peoForm.idCard = data.idCard;
this.peoForm.manageOrgIds = data.manageOrgIdStr?data.manageOrgIdStr.split(','):[]; this.peoForm.manageOrgIds = data.manageOrgIdStr?data.manageOrgIdStr.split(','):[];
this.peoForm.orgLevels = data.orgLevels; this.peoForm.orgLevels = data.manageLevelStr;
this.manageOrgIds = data.manageOrgIdStr; this.manageOrgIds = data.manageOrgIdStr;
// //
let existedRoleArr = []; let existedRoleArr = [];
@ -2313,6 +2316,7 @@ export default {
} }
}); });
this.peoForm.newRoles = existedRoleArr; this.peoForm.newRoles = existedRoleArr;
} else { } else {
this.$message.error(msg); this.$message.error(msg);
} }

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

@ -202,7 +202,7 @@
<div class="detail" v-if="item.irregularity!==''&&item.irregularity!==null&&item.irregularity!==''&&item.irregularity!==null"> <div class="detail" v-if="item.irregularity!==''&&item.irregularity!==null&&item.irregularity!==''&&item.irregularity!==null">
<div class="detail-field">填报不合规诉求</div> <div class="detail-field">填报不合规诉求</div>
<div class="detail-value">{{ irregularity.find(v => v.value ==item.irregularity).label }}</div> <div class="detail-value">{{ binaryOptionList.find(v => v.value ==item.irregularity).label }}</div>
</div> </div>
<div class="detail" v-if="item.nonComplianceType!==''&&item.nonComplianceType!==null&&item.irregularity!==''&&item.irregularity!==null"> <div class="detail" v-if="item.nonComplianceType!==''&&item.nonComplianceType!==null&&item.irregularity!==''&&item.irregularity!==null">
<div class="detail-field">不合规诉求类型</div> <div class="detail-field">不合规诉求类型</div>
@ -252,7 +252,7 @@
</div> </div>
</template> </template>
<script> <script>
import { examine, confirmSolved, satisfactionResult, solveState, irregularity, nonComplianceType } from "@/js/columns/constants"; import { examine, confirmSolved, satisfactionResult, solveState, irregularity, nonComplianceType,binaryOptionList } from "@/js/columns/constants";
import { requestPost,requestGet } from "@/js/dai/request"; import { requestPost,requestGet } from "@/js/dai/request";
import { Loading } from "element-ui"; // Loading import { Loading } from "element-ui"; // Loading
import foldText from "@/views/components/foldText"; import foldText from "@/views/components/foldText";
@ -267,6 +267,7 @@ import processForm from "./process-form";
let loading; // let loading; //
function iniData() { function iniData() {
return { return {
binaryOptionList:[],
formData: { formData: {
operationType: "", operationType: "",
}, },
@ -357,6 +358,7 @@ export default {
this.satisfactionResult = satisfactionResult this.satisfactionResult = satisfactionResult
this.solveState = solveState this.solveState = solveState
this.irregularity = irregularity this.irregularity = irregularity
this.binaryOptionList= binaryOptionList
this.nonComplianceType = nonComplianceType this.nonComplianceType = nonComplianceType
if(this.pageType === 'check'){ if(this.pageType === 'check'){
this.replayDetail() this.replayDetail()

10
src/views/modules/shequzhili/event/cpts/process-form-complete.vue

@ -262,7 +262,7 @@
</div> </div>
<div class="item"> <div class="item">
<el-form-item label="是否解决" label-width="118px" :class="{ 'form-item': source === 'visiual' }" <el-form-item label="是否解决" label-width="118px" :class="{ 'form-item': source === 'visiual' }"
prop="examine"> prop="confirmSolved">
<div :class="{ 'visiual-form': source === 'visiual' }"> <div :class="{ 'visiual-form': source === 'visiual' }">
<el-select v-model.trim="formData.confirmSolved" clearable class="item_width_4"> <el-select v-model.trim="formData.confirmSolved" clearable class="item_width_4">
<el-option v-for="item in confirmSolved" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in confirmSolved" :key="item.value" :label="item.label" :value="item.value">
@ -273,7 +273,7 @@
</div> </div>
<div class="item"> <div class="item">
<el-form-item label="是否满意" label-width="118px" :class="{ 'form-item': source === 'visiual' }" <el-form-item label="是否满意" label-width="118px" :class="{ 'form-item': source === 'visiual' }"
prop="examine"> prop="satisfactionResult">
<div :class="{ 'visiual-form': source === 'visiual' }"> <div :class="{ 'visiual-form': source === 'visiual' }">
<el-select v-model.trim="formData.satisfactionResult" clearable class="item_width_4"> <el-select v-model.trim="formData.satisfactionResult" clearable class="item_width_4">
<el-option v-for="item in satisfactionResult" :key="item.value" :label="item.label" <el-option v-for="item in satisfactionResult" :key="item.value" :label="item.label"
@ -486,6 +486,12 @@ showHotline:false,
examine: [ examine: [
{ required: true, message: "请选择审核结果", trigger: "blur" }, { required: true, message: "请选择审核结果", trigger: "blur" },
], ],
confirmSolved: [
{ required: true, message: "请选择是否解决", trigger: "blur" },
],
satisfactionResult: [
{ required: true, message: "请选择是否满意", trigger: "blur" },
],
// examine: [ // examine: [
// { required: true, message: "", trigger: "blur" }, // { required: true, message: "", trigger: "blur" },
// ], // ],

9
src/views/modules/shequzhili/eventOld/cpts/event-info.vue

@ -513,12 +513,15 @@ export default {
this.grid = val.value; this.grid = val.value;
}, },
async handelDispose() { async handelDispose() {
console.log(this.grid,"DSFKDSFJDKS"); console.log(this.$refs.ref_detail.info,"sdf;lsdk");
if(!this.grid){ if(this.$refs.ref_detail.info.gridId){
console.log(this.grid,"DSFKDSFJDKS"); this.grid=this.$refs.ref_detail.info.gridId
}else{
this.$message.error("请选择网格"); this.$message.error("请选择网格");
return return
} }
// console.log(this.grid,"DSFKDSFJDKS");
this.$refs.ref_processinfo_dispose.getProcessInfo(); this.$refs.ref_processinfo_dispose.getProcessInfo();
if (this.$refs.ref_processinfo_dispose.okflag) { if (this.$refs.ref_processinfo_dispose.okflag) {
this.formData.operationType = this.$refs.ref_processinfo_dispose.operationType; this.formData.operationType = this.$refs.ref_processinfo_dispose.operationType;

5
src/views/modules/shequzhili/eventOld/eventList.vue

@ -753,8 +753,9 @@ export default {
}, },
async delEvent(eventId) { async delEvent(eventId) {
const url = "/governance/icEventOld/delete"; const url = "/governance/icEventOld/delete";
let idsArr = [eventId]; const formData = new FormData();
const { data, code, msg } = await requestPost(url, idsArr); formData.append('ids', eventId)
const { data, code, msg } = await requestPost(url, formData);
if (code === 0) { if (code === 0) {
this.$message.success("删除成功!"); this.$message.success("删除成功!");
this.getTableData(); this.getTableData();

Loading…
Cancel
Save