Compare commits

..

No commits in common. "b3c74912650562578d5c32872174dcc2f58261b4" and "0cc6d2a3414591f54bfa0261abb8e11efc320dae" have entirely different histories.

2 changed files with 5 additions and 7 deletions

View File

@ -111,10 +111,9 @@
</div>
</div>
</el-form-item>
<!-- 综合管理部审查意见部门负责人审批/综合管理部审批可填总经理审批/档案管理员审批/结束只读 -->
<!-- 在部门负责人审批步骤即可填写避免同一人连续审批时被自动跳过导致该字段为空 -->
<el-form-item label="综合管理部审查意见" prop="dept_opinion_review" v-if="['部门负责人审批','综合管理部审批','总经理审批','档案管理员审批','结束'].includes(stateName)">
<el-radio-group v-model="addForm.dept_opinion_review" :disabled="!['部门负责人审批','综合管理部审批'].includes(stateName)">
<!-- 综合管理部审查意见综合管理部审批可填总经理审批/档案管理员审批/结束只读 -->
<el-form-item label="综合管理部审查意见" prop="dept_opinion_review" v-if="['综合管理部审批','总经理审批','档案管理员审批','结束'].includes(stateName)">
<el-radio-group v-model="addForm.dept_opinion_review" :disabled="stateName !== '综合管理部审批'">
<el-radio label="内容不涉及国家秘密和商业秘密,同意公开"></el-radio>
<el-radio label="内容不涉及国家秘密、但涉及商业秘密,同意受控公开"></el-radio>
<el-radio label="内容涉及国家秘密,同意按涉密渠道发布"></el-radio>
@ -272,8 +271,7 @@ export default {
if (that.localMode === "add") {
let res = await that.$API.ofm.publicity.create.req(that.addForm);
that.addForm.id = res.id;
} else if (that.localMode === "edit") {
// 稿(start state) save_ticket_data
} else {
await that.$API.ofm.publicity.update.req(
that.addForm.id,
that.addForm

View File

@ -228,7 +228,7 @@ export default {
} catch (e) {
console.error("获取用户岗位失败:", e);
}
const restrictedKeys = { wf_leave: isDeptHead, wf_patent: isDeptHead, wf_paperse: isDeptHead };
const restrictedKeys = { wf_leave: isDeptHead };
const groups = {};
this.$API.wf.workflow.list.req({ page: 0 }).then((res) => {
res.forEach((item) => {