pref_#jshvc单位、提案
This commit is contained in:
@@ -300,7 +300,7 @@ public class SysUnitController {
|
|||||||
)
|
)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
List<Tree<String>> treeList = TreeUtil.build(nodeList, StrUtil.blankToDefault(pid, "0000"));
|
List<Tree<String>> treeList = TreeUtil.build(nodeList, StrUtil.blankToDefault(pid, "0"));
|
||||||
|
|
||||||
// NutMap menuMap = NutMap.NEW();
|
// NutMap menuMap = NutMap.NEW();
|
||||||
// for (Sys_unit unit : list) {
|
// for (Sys_unit unit : list) {
|
||||||
|
|||||||
+6
-2
@@ -2,6 +2,7 @@ package com.budwk.app.zhgh.democratic.proposal.controller.common;
|
|||||||
|
|
||||||
import cn.dev33.satoken.annotation.SaCheckLogin;
|
import cn.dev33.satoken.annotation.SaCheckLogin;
|
||||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||||
|
import cn.hutool.core.util.StrUtil;
|
||||||
import com.budwk.app.base.result.Result;
|
import com.budwk.app.base.result.Result;
|
||||||
import com.budwk.app.zhgh.democratic.proposal.models.ProposalConfig;
|
import com.budwk.app.zhgh.democratic.proposal.models.ProposalConfig;
|
||||||
import com.budwk.app.zhgh.democratic.proposal.models.ProposalType;
|
import com.budwk.app.zhgh.democratic.proposal.models.ProposalType;
|
||||||
@@ -49,8 +50,11 @@ public class ProposalCommonController {
|
|||||||
@At
|
@At
|
||||||
@SaCheckLogin
|
@SaCheckLogin
|
||||||
@ApiOperation("查询全部的教代会")
|
@ApiOperation("查询全部的教代会")
|
||||||
public Result listSession() {
|
public Result listSession(String orderBy) {
|
||||||
List<Teacher_congress_session> list = dao.query(Teacher_congress_session.class, Cnd.NEW().asc("startDate"));
|
if (StrUtil.isBlank(orderBy)) {
|
||||||
|
orderBy = "desc";
|
||||||
|
}
|
||||||
|
List<Teacher_congress_session> list = dao.query(Teacher_congress_session.class, Cnd.NEW().orderBy("startDate", orderBy));
|
||||||
return Result.success(list);
|
return Result.success(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+7
-1
@@ -89,7 +89,13 @@ public class ProposalSeniorBasicController {
|
|||||||
@ApiOperation(value = "提案内容修改")
|
@ApiOperation(value = "提案内容修改")
|
||||||
@Aop(TransAop.READ_COMMITTED)
|
@Aop(TransAop.READ_COMMITTED)
|
||||||
public Result update(@Valid @Param("info") ProposalInfo proposalInfo) {
|
public Result update(@Valid @Param("info") ProposalInfo proposalInfo) {
|
||||||
dao.update(proposalInfo,"^name|typeId|brief|measures|excerpt|suggestUnits$");
|
int count = dao.count(ProposalInfo.class, Cnd.where("code", "=", proposalInfo.getCode()).and("id", "<>", proposalInfo.getId()));
|
||||||
|
|
||||||
|
if (count > 0) {
|
||||||
|
return Result.error("提案编号已存在");
|
||||||
|
}
|
||||||
|
|
||||||
|
dao.update(proposalInfo,"^code|name|typeId|brief|measures|excerpt|suggestUnits|files$");
|
||||||
return Result.success();
|
return Result.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -67,12 +67,13 @@ public class TeacherCongressSessionServiceImpl extends BaseServiceImpl<Teacher_c
|
|||||||
session.setFullName("第" + session.getJ() + "第" + session.getC());
|
session.setFullName("第" + session.getJ() + "第" + session.getC());
|
||||||
insert(session);
|
insert(session);
|
||||||
|
|
||||||
|
// 继承上届信息
|
||||||
|
if (isExtend) {
|
||||||
//代表团角色ID
|
//代表团角色ID
|
||||||
Sys_role delegationHeadRole = sysRoleService.getByCode(RoleConstant.TEACHER_CONGRESS_DELEGATION_HEAD);
|
Sys_role delegationHeadRole = sysRoleService.getByCode(RoleConstant.TEACHER_CONGRESS_DELEGATION_HEAD);
|
||||||
Sys_role delegationViceHeadRole = sysRoleService.getByCode(RoleConstant.TEACHER_CONGRESS_VICE_DELEGATION_HEAD);
|
Sys_role delegationViceHeadRole = sysRoleService.getByCode(RoleConstant.TEACHER_CONGRESS_VICE_DELEGATION_HEAD);
|
||||||
Sys_role delegationContactRole = sysRoleService.getByCode(RoleConstant.TEACHER_CONGRESS_DELEGATION_CONTACT);
|
Sys_role delegationContactRole = sysRoleService.getByCode(RoleConstant.TEACHER_CONGRESS_DELEGATION_CONTACT);
|
||||||
|
|
||||||
// 继承上届信息
|
|
||||||
//查询本届上次的信息
|
//查询本届上次的信息
|
||||||
int c_num = Convert.chineseToNumber(session.getC().replaceAll("次", ""));
|
int c_num = Convert.chineseToNumber(session.getC().replaceAll("次", ""));
|
||||||
if (c_num == 1) return;
|
if (c_num == 1) return;
|
||||||
@@ -236,6 +237,7 @@ public class TeacherCongressSessionServiceImpl extends BaseServiceImpl<Teacher_c
|
|||||||
sysRoleService.clearCache();
|
sysRoleService.clearCache();
|
||||||
sysUserService.clearCache();
|
sysUserService.clearCache();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Aop(TransAop.READ_COMMITTED)
|
@Aop(TransAop.READ_COMMITTED)
|
||||||
|
|||||||
@@ -1,7 +1,75 @@
|
|||||||
<!--#
|
<!--#
|
||||||
layout("/layouts/platform.html"){
|
layout("/layouts/platform.html"){
|
||||||
#-->
|
#-->
|
||||||
<style></style>
|
<style scoped>
|
||||||
|
.custom-tree {
|
||||||
|
background: transparent;
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 节点行高调整 */
|
||||||
|
.custom-tree .el-tree-node {
|
||||||
|
margin: 2px 0;
|
||||||
|
border-radius: 6px;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* 选中状态 */
|
||||||
|
.custom-tree .el-tree-node.is-current > .el-tree-node__content {
|
||||||
|
background: #e8f4ff;
|
||||||
|
border-left: 3px solid #409eff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 节点内容区域 */
|
||||||
|
.custom-tree .el-tree-node__content {
|
||||||
|
height: 36px;
|
||||||
|
line-height: 36px;
|
||||||
|
padding: 0 8px;
|
||||||
|
border-radius: 6px;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 自定义节点内容 */
|
||||||
|
.custom-tree-node {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* 文件夹图标颜色优化 */
|
||||||
|
.el-icon-folder {
|
||||||
|
color: #909399;
|
||||||
|
}
|
||||||
|
.el-icon-folder-opened {
|
||||||
|
color: #409eff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 展开时图标旋转动画 */
|
||||||
|
.custom-tree .el-tree-node__expand-icon {
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
}
|
||||||
|
.custom-tree .el-tree-node__expand-icon.expanded {
|
||||||
|
transform: rotate(90deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 节点标签 */
|
||||||
|
.node-label {
|
||||||
|
flex: 1;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #303133;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 禁用展开图标(当无子节点时) */
|
||||||
|
.custom-tree .el-tree-node__expand-icon.is-leaf {
|
||||||
|
color: transparent;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
<div id="app" v-cloak>
|
<div id="app" v-cloak>
|
||||||
<el-row type="flex" :gutter="20" style="height: calc(100vh - 126px)">
|
<el-row type="flex" :gutter="20" style="height: calc(100vh - 126px)">
|
||||||
<el-col :span="5">
|
<el-col :span="5">
|
||||||
@@ -12,21 +80,19 @@ layout("/layouts/platform.html"){
|
|||||||
:data="treeData"
|
:data="treeData"
|
||||||
ref="treeRef"
|
ref="treeRef"
|
||||||
:expand-on-click-node="false"
|
:expand-on-click-node="false"
|
||||||
:props="{
|
:props="{ children: 'children', label: 'name' }"
|
||||||
children: 'children',
|
|
||||||
label: 'name'
|
|
||||||
}"
|
|
||||||
node-key="id"
|
node-key="id"
|
||||||
default-expand-all
|
default-expand-all
|
||||||
@node-click="treeNodeClick"
|
@node-click="treeNodeClick"
|
||||||
:filter-node-method="filterNode"
|
:filter-node-method="filterNode"
|
||||||
highlight-current
|
highlight-current
|
||||||
|
class="custom-tree"
|
||||||
>
|
>
|
||||||
<template slot-scope="{ node, data }">
|
<template slot-scope="{ node, data }">
|
||||||
<span class="el-tree-node__label">
|
<span class="custom-tree-node">
|
||||||
<i class="el-icon-folder-opened" v-if="node.level===1"></i>
|
<i class="el-icon-folder-opened" v-if="node.level===1"></i>
|
||||||
<i class="el-icon-folder" v-else></i>
|
<i class="el-icon-folder" v-else></i>
|
||||||
{{node.label}}
|
<span class="node-label">{{ node.label }}</span>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-tree>
|
</el-tree>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const UNIT_MANAGE_TEMPLATE = {
|
const UNIT_MANAGE_TEMPLATE = {
|
||||||
template: `
|
template: /*language=HTML*/ `
|
||||||
<div>
|
<div>
|
||||||
<el-card shadow="never" style="border: 1px solid var(--border-color-lighter);">
|
<el-card shadow="never" style="border: 1px solid var(--border-color-lighter);">
|
||||||
<el-row :gutter="10" type="flex">
|
<el-row :gutter="10" type="flex">
|
||||||
@@ -9,7 +9,7 @@ const UNIT_MANAGE_TEMPLATE = {
|
|||||||
</el-card>
|
</el-card>
|
||||||
<el-card shadow="never" style="border: 1px solid var(--border-color-lighter); margin-top: 10px">
|
<el-card shadow="never" style="border: 1px solid var(--border-color-lighter); margin-top: 10px">
|
||||||
<table-tool label="单位列表">
|
<table-tool label="单位列表">
|
||||||
<!-- <el-button @click="openAdd" type="primary" size="small">新建单位</el-button>-->
|
<el-button @click="openAdd" type="primary" size="small">新建单位</el-button>
|
||||||
</table-tool>
|
</table-tool>
|
||||||
<el-table :data="tableData" size="mini">
|
<el-table :data="tableData" size="mini">
|
||||||
<el-table-column label="序号" type="index" width="60">
|
<el-table-column label="序号" type="index" width="60">
|
||||||
@@ -30,10 +30,7 @@ const UNIT_MANAGE_TEMPLATE = {
|
|||||||
|
|
||||||
<el-dialog title="设置单位" :visible.sync="dialogVisible" :close-on-click-modal="false" width="40%" top="2%">
|
<el-dialog title="设置单位" :visible.sync="dialogVisible" :close-on-click-modal="false" width="40%" top="2%">
|
||||||
<el-form :model="formData" ref="form" :rules="formRules" size="small" label-width="80px">
|
<el-form :model="formData" ref="form" :rules="formRules" size="small" label-width="80px">
|
||||||
<el-form-item v-if="formData.id === '' || formData.id === null || currentNode === 1" prop="parentId" label="上级单位" label-width="80px">
|
<el-form-item label="上级单位">
|
||||||
<el-cascader :props="props" :options="options" v-model="parentUnit" placeholder="请选择上次单位,不选择则为顶级" style="width: 100%"></el-cascader>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item v-else label="上级单位">
|
|
||||||
<el-input maxlength="100" disabled :value="currentData?.name" type="text"></el-input>
|
<el-input maxlength="100" disabled :value="currentData?.name" type="text"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="name" label="单位名称">
|
<el-form-item prop="name" label="单位名称">
|
||||||
@@ -47,10 +44,20 @@ const UNIT_MANAGE_TEMPLATE = {
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="unitLevel" label="单位等级">
|
<el-form-item prop="unitLevel" label="单位等级">
|
||||||
<el-select v-model="formData.unitLevel" placeholder="请输入单位等级" style="width: 100%">
|
<el-select v-model="formData.unitLevel" placeholder="请输入单位等级" style="width: 100%">
|
||||||
|
<el-option v-if="unitLevel === 1" label="一级单位" :value="1"></el-option>
|
||||||
<el-option v-if="unitLevel === 2" label="二级单位" :value="2"></el-option>
|
<el-option v-if="unitLevel === 2" label="二级单位" :value="2"></el-option>
|
||||||
<el-option v-if="unitLevel === 3" label="三级单位" :value="3"></el-option>
|
<el-option v-if="unitLevel === 3" label="三级单位" :value="3"></el-option>
|
||||||
|
<el-option v-if="unitLevel === 4" label="四级单位" :value="4"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item prop="unionId" label="所属工会">
|
||||||
|
<el-select v-model="formData.unionId" placeholder="请选择所属工会" style="width: 100%">
|
||||||
|
<el-option :key="item.id" :label="item.name" :value="item.id"
|
||||||
|
v-for="item in unions"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
<!-- <el-form-item prop="address" label="单位地址">-->
|
<!-- <el-form-item prop="address" label="单位地址">-->
|
||||||
<!-- <el-input maxlength="100" placeholder="请输入单位地址" v-model="formData.address" auto-complete="off" tabindex="5" type="text"></el-input>-->
|
<!-- <el-input maxlength="100" placeholder="请输入单位地址" v-model="formData.address" auto-complete="off" tabindex="5" type="text"></el-input>-->
|
||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
@@ -88,6 +95,7 @@ const UNIT_MANAGE_TEMPLATE = {
|
|||||||
required: true
|
required: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
store,
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
pageForm: {
|
pageForm: {
|
||||||
@@ -107,7 +115,7 @@ const UNIT_MANAGE_TEMPLATE = {
|
|||||||
formRules: {
|
formRules: {
|
||||||
name: [{ required: true, message: "必填", trigger: "blur" }],
|
name: [{ required: true, message: "必填", trigger: "blur" }],
|
||||||
unitcode: [{ required: true, message: "必填", trigger: "blur" }],
|
unitcode: [{ required: true, message: "必填", trigger: "blur" }],
|
||||||
unitLevel: [{ required: true, message: "必填", trigger: "blur" }],
|
unitLevel: [{ required: false, message: "必填", trigger: "blur" }],
|
||||||
email: [
|
email: [
|
||||||
{ required: false, message: "单位邮箱", trigger: "blur" },
|
{ required: false, message: "单位邮箱", trigger: "blur" },
|
||||||
{ type: "email", message: "请输入正确的邮箱地址", trigger: ["blur", "change"] }
|
{ type: "email", message: "请输入正确的邮箱地址", trigger: ["blur", "change"] }
|
||||||
@@ -115,24 +123,8 @@ const UNIT_MANAGE_TEMPLATE = {
|
|||||||
},
|
},
|
||||||
options: [],
|
options: [],
|
||||||
parentUnit: [],
|
parentUnit: [],
|
||||||
props: {
|
|
||||||
lazy: true,
|
unions: [],
|
||||||
checkStrictly: true,
|
|
||||||
multiple: false,
|
|
||||||
lazyLoad: function (node, resolve) {
|
|
||||||
var url = base + "/platform/sys/unit/cascaderData"
|
|
||||||
$.post(
|
|
||||||
url,
|
|
||||||
{ pid: node.value },
|
|
||||||
function (data) {
|
|
||||||
if (data.code === 0) {
|
|
||||||
resolve(data.data)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"json"
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
@@ -148,14 +140,16 @@ const UNIT_MANAGE_TEMPLATE = {
|
|||||||
this.options = []
|
this.options = []
|
||||||
},
|
},
|
||||||
doHandle() {
|
doHandle() {
|
||||||
|
this.$confirm("确定要提交吗?", "提示", {
|
||||||
|
confirmButtonText: "确定",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning"
|
||||||
|
}).then(() => {
|
||||||
const self = this
|
const self = this
|
||||||
const url = this.formData.id ? "/platform/sys/unit/editDo" : "/platform/sys/unit/addDo"
|
const url = this.formData.id ? "/platform/sys/unit/editDo" : "/platform/sys/unit/addDo"
|
||||||
this.$refs["form"].validate(async function (valid) {
|
this.$refs["form"].validate(async function (valid) {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (!self.formData.id) {
|
if (self.currentNode) {
|
||||||
self.formData.parentId = self.parentUnit[self.parentUnit.length - 1] || ""
|
|
||||||
}
|
|
||||||
if (self.currentNode !== 1) {
|
|
||||||
self.formData.parentId = self.currentData.id
|
self.formData.parentId = self.currentData.id
|
||||||
}
|
}
|
||||||
const resp = await self.$axios.post(url, self.formData)
|
const resp = await self.$axios.post(url, self.formData)
|
||||||
@@ -169,6 +163,7 @@ const UNIT_MANAGE_TEMPLATE = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
})
|
||||||
},
|
},
|
||||||
async openEdit(id) {
|
async openEdit(id) {
|
||||||
console.log(this.currentData)
|
console.log(this.currentData)
|
||||||
@@ -216,7 +211,13 @@ const UNIT_MANAGE_TEMPLATE = {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
async created() {
|
||||||
this.pageData()
|
this.pageData()
|
||||||
|
|
||||||
|
if (this.$auth.hasRoleOr('SYSADMIN, SCHOOL_UNION_ADMIN')) {
|
||||||
|
this.unions = await this.$businessTool.listUnion()
|
||||||
|
} else {
|
||||||
|
this.unions = await this.$businessTool.listUnion(this.store.state.user.union.id)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-1
@@ -337,7 +337,9 @@ layout("/layouts/platform.html"){
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
listSession() {
|
listSession() {
|
||||||
this.$axios.post("/platform/proposal/common/listSession").then((res) => {
|
this.$axios.post("/platform/proposal/common/listSession", {
|
||||||
|
orderBy: "asc"
|
||||||
|
}).then((res) => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
this.sessionOptions = res.data
|
this.sessionOptions = res.data
|
||||||
if (this.sessionOptions) {
|
if (this.sessionOptions) {
|
||||||
|
|||||||
+1
-1
@@ -140,7 +140,7 @@ layout("/layouts/platform.html"){
|
|||||||
<!--#include("../../common/info.js"){}#-->
|
<!--#include("../../common/info.js"){}#-->
|
||||||
new Vue({
|
new Vue({
|
||||||
el: "#app",
|
el: "#app",
|
||||||
dicts: ["PROPOSAL_TYPE", "PROPOSAL_CASE_FILING_RESULT"],
|
dicts: ["PROPOSAL_TYPE", "PROPOSAL_CASE_FILING_RESULT", "PROPOSAL_CASE_FILING_TYPE"],
|
||||||
store,
|
store,
|
||||||
mixins: [initTableMixins],
|
mixins: [initTableMixins],
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
+18
-11
@@ -128,21 +128,28 @@ layout("/layouts/platform.html"){
|
|||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20" type="flex">
|
<el-row :gutter="20" type="flex">
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="提案编号" prop="code"
|
||||||
|
:rules="[{required:true,message:'请输入提案编号',trigger:'blur'}]">
|
||||||
|
<el-input maxlength="100" placeholder="提案编号" v-model="formData.code"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="提案名称" prop="name"
|
<el-form-item label="提案名称" prop="name"
|
||||||
:rules="[{required:true,message:'请输入提案名称',trigger:'blur'}]">
|
:rules="[{required:true,message:'请输入提案名称',trigger:'blur'}]">
|
||||||
<el-input maxlength="100" placeholder="提案名称" v-model="formData.name"></el-input>
|
<el-input maxlength="100" placeholder="提案名称" v-model="formData.name"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
|
<el-row :gutter="20" type="flex">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="提案方式" prop="source">
|
<el-form-item label="提案方式" prop="source">
|
||||||
<el-input :value="dict.type.PROPOSAL_SOURCE.find(v=>v.code === formData.source)?.name"
|
<el-input :value="dict.type.PROPOSAL_SOURCE.find(v=>v.code === formData.source)?.name"
|
||||||
disabled></el-input>
|
disabled></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
|
||||||
|
|
||||||
<el-row :gutter="20" type="flex">
|
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="提案类别" prop="typeId">
|
<el-form-item label="提案类别" prop="typeId">
|
||||||
<el-select v-model="formData.typeId" style="width: 100%">
|
<el-select v-model="formData.typeId" style="width: 100%">
|
||||||
@@ -177,15 +184,15 @@ layout("/layouts/platform.html"){
|
|||||||
<text-editor v-model="formData.measures" key="measures"
|
<text-editor v-model="formData.measures" key="measures"
|
||||||
placeholder="建议措施"></text-editor>
|
placeholder="建议措施"></text-editor>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="附件上传" prop="files">-->
|
<el-form-item label="附件上传" prop="files">
|
||||||
<!-- <file-upload-->
|
<file-upload
|
||||||
<!-- :value.sync="formData.files"-->
|
:value.sync="formData.files"
|
||||||
<!-- :upload_number="5"-->
|
:upload_number="5"
|
||||||
<!-- upload_result_category="array"-->
|
upload_result_category="array"
|
||||||
<!-- upload_mode="drag"-->
|
upload_mode="drag"
|
||||||
<!-- complete_result-->
|
complete_result
|
||||||
<!-- ></file-upload>-->
|
></file-upload>
|
||||||
<!-- </el-form-item>-->
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-row type="flex" justify="end">
|
<el-row type="flex" justify="end">
|
||||||
<el-button @click="$refs.guava.index()">取 消</el-button>
|
<el-button @click="$refs.guava.index()">取 消</el-button>
|
||||||
|
|||||||
-12
@@ -92,17 +92,6 @@ layout("/layouts/platform.html"){
|
|||||||
:rules="[{required:true,message:'必填',trigger:['change','blur']}]">
|
:rules="[{required:true,message:'必填',trigger:['change','blur']}]">
|
||||||
<user-opinion-textarea v-model="formData.tf_opinion"></user-opinion-textarea>
|
<user-opinion-textarea v-model="formData.tf_opinion"></user-opinion-textarea>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<template v-if="['SATISFIED','FAIRLY_SATISFIED'].includes(formData.tf_feedback)">
|
|
||||||
<el-form-item label="通讯地址" prop="tf_address" :rules="[{required:true,message:'必填',trigger:['change','blur']}]">
|
|
||||||
<el-input v-model="formData.tf_address" placeholder="请输入通讯地址" clearable></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="联系电话" prop="tf_phone" :rules="[{required:true,message:'必填',trigger:['change','blur']}]">
|
|
||||||
<el-input v-model="formData.tf_phone" placeholder="请输入联系电话" clearable></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item label="邮政编码" prop="tf_postcode" :rules="[{required:true,message:'必填',trigger:['change','blur']}]">
|
|
||||||
<el-input v-model="formData.tf_postcode" placeholder="请输入邮政编码" clearable></el-input>
|
|
||||||
</el-form-item>
|
|
||||||
</template>
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-row type="flex" justify="end">
|
<el-row type="flex" justify="end">
|
||||||
<el-button @click="$refs.guava.index()" size="small">取消</el-button>
|
<el-button @click="$refs.guava.index()" size="small">取消</el-button>
|
||||||
@@ -231,7 +220,6 @@ layout("/layouts/platform.html"){
|
|||||||
if (this.sessionOptions) {
|
if (this.sessionOptions) {
|
||||||
this.$set(this.pageForm, "sessionId", this.sessionOptions[0].id)
|
this.$set(this.pageForm, "sessionId", this.sessionOptions[0].id)
|
||||||
this.pageData()
|
this.pageData()
|
||||||
this.listDelegation()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -42,6 +42,9 @@ layout("/layouts/platform.html"){
|
|||||||
<template v-else-if="column.prop === 'merge'" scope="{row}">
|
<template v-else-if="column.prop === 'merge'" scope="{row}">
|
||||||
<el-tag v-if="row.merge" size="small">是</el-tag>
|
<el-tag v-if="row.merge" size="small">是</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else-if="column.prop === 'taskName'" scope="{row}">
|
||||||
|
<span>{{ (row.startTaskId) ? row.taskName : '待提交' }}</span>
|
||||||
|
</template>
|
||||||
<template v-else-if="column.prop === 'instanceState'" scope="{row}">
|
<template v-else-if="column.prop === 'instanceState'" scope="{row}">
|
||||||
<enum-tag :value="row.instanceState" name="ProcessInstanceStateEnum" label_key="message"
|
<enum-tag :value="row.instanceState" name="ProcessInstanceStateEnum" label_key="message"
|
||||||
size="small"></enum-tag>
|
size="small"></enum-tag>
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ const PROPOSAL_INFO = {
|
|||||||
<dict-tag :options="dict.type.PROPOSAL_CASE_FILING_RESULT"
|
<dict-tag :options="dict.type.PROPOSAL_CASE_FILING_RESULT"
|
||||||
:value="viewData.caseFilingResult"></dict-tag>
|
:value="viewData.caseFilingResult"></dict-tag>
|
||||||
</van-cell>
|
</van-cell>
|
||||||
<van-cell title="调研情况" class="direction-column-cell">
|
<!--<van-cell title="调研情况" class="direction-column-cell">
|
||||||
<div v-html="viewData.researchFindings"></div>
|
<div v-html="viewData.researchFindings"></div>
|
||||||
</van-cell>
|
</van-cell>-->
|
||||||
<van-cell title="提案案由" class="direction-column-cell">
|
<van-cell title="提案案由" class="direction-column-cell">
|
||||||
<div v-html="viewData.brief"></div>
|
<div v-html="viewData.brief"></div>
|
||||||
</van-cell>
|
</van-cell>
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@ layout("/layouts/platform_h5.html"){
|
|||||||
<table-column label="提案类别">{{row.typeName}}</table-column>
|
<table-column label="提案类别">{{row.typeName}}</table-column>
|
||||||
<table-column label="提案人">{{row.createUserName}}</table-column>
|
<table-column label="提案人">{{row.createUserName}}</table-column>
|
||||||
<table-column label="代表团">{{row.delegationName}}</table-column>
|
<table-column label="代表团">{{row.delegationName}}</table-column>
|
||||||
<table-column label="当前节点">{{row.taskName}}</table-column>
|
<table-column label="当前节点">{{ (row.startTaskId) ? row.taskName : '待提交' }}</table-column>
|
||||||
</template>
|
</template>
|
||||||
<template #actions="{index,row}">
|
<template #actions="{index,row}">
|
||||||
<div class="action-btn" @click="onView(row)">
|
<div class="action-btn" @click="onView(row)">
|
||||||
|
|||||||
+1
-1
@@ -54,7 +54,7 @@ layout("/layouts/platform_h5.html"){
|
|||||||
<div class="action-btn" v-if="!pageForm.approval && $auth.hasRoleOr('SYSADMIN,PROPOSAL_UNIT_LEADER')"
|
<div class="action-btn" v-if="!pageForm.approval && $auth.hasRoleOr('SYSADMIN,PROPOSAL_UNIT_LEADER')"
|
||||||
@click="openTransfer(row)">
|
@click="openTransfer(row)">
|
||||||
<i class="fa fa-arrow-right"></i>
|
<i class="fa fa-arrow-right"></i>
|
||||||
<span>转办</span>
|
<span>转交</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</table-list>
|
</table-list>
|
||||||
|
|||||||
+1
-1
@@ -308,7 +308,7 @@ layout("/layouts/platform_h5.html"){
|
|||||||
|
|
||||||
<!-- 附件上传 -->
|
<!-- 附件上传 -->
|
||||||
<van-cell-group title="附件上传" class="form-group">
|
<van-cell-group title="附件上传" class="form-group">
|
||||||
<van-field label="附件" name="files" required class="direction-column-field">
|
<van-field label="附件" name="files" class="direction-column-field">
|
||||||
<h5-file-upload
|
<h5-file-upload
|
||||||
slot="input"
|
slot="input"
|
||||||
:value.sync="formData.files"
|
:value.sync="formData.files"
|
||||||
|
|||||||
Reference in New Issue
Block a user