|
@@ -61,6 +61,43 @@
|
|
|
<el-button @click="ShowStatusBar" type="primary"
|
|
|
>ShowStatusBar</el-button
|
|
|
> -->
|
|
|
+ <el-form-item label="紧急程度:" prop="jjcd">
|
|
|
+ <el-select
|
|
|
+ :disabled="isEdit"
|
|
|
+ style="width: 350px"
|
|
|
+ v-model="outMessageParams.jjcd"
|
|
|
+ placeholder="请选择紧急程度"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="dict of urgent_type"
|
|
|
+ :key="dict.value"
|
|
|
+ :label="dict.label"
|
|
|
+ :value="dict.value"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="密级:" prop="degree">
|
|
|
+ <el-select
|
|
|
+ :disabled="isEdit"
|
|
|
+ style="width: 350px"
|
|
|
+ v-model="outMessageParams.degree"
|
|
|
+ placeholder="请选择密级"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="dict of archive_levels"
|
|
|
+ :key="dict.value"
|
|
|
+ :label="dict.label"
|
|
|
+ :value="dict.value"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="保密期限:" prop="bmqx">
|
|
|
+ <el-input
|
|
|
+ :disabled="isEdit"
|
|
|
+ v-model="outMessageParams.bmqx"
|
|
|
+ placeholder="请输入保密期限 X (年)"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="发文单位:" prop="outUnit">
|
|
|
<el-input
|
|
|
:disabled="isEdit"
|
|
@@ -77,6 +114,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="主送单位:" prop="mainUnit">
|
|
|
<el-input
|
|
|
+ :disabled="isEdit"
|
|
|
placeholder="请输入主送单位"
|
|
|
type="textarea"
|
|
|
v-model="outMessageParams.mainUnit"
|
|
@@ -84,6 +122,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="抄送单位:" prop="copyUnit">
|
|
|
<el-input
|
|
|
+ :disabled="isEdit"
|
|
|
placeholder="请输入抄送单位"
|
|
|
type="textarea"
|
|
|
v-model="outMessageParams.copyUnit"
|
|
@@ -104,10 +143,24 @@
|
|
|
value-format="YYYY-MM-DD"
|
|
|
v-model="outMessageParams.draftedTime"
|
|
|
type="date"
|
|
|
- placeholder="请输入来文日期"
|
|
|
+ placeholder="请选择拟稿日期"
|
|
|
size="defalut"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="打印人:" prop="dyr">
|
|
|
+ <el-input
|
|
|
+ :disabled="isEdit"
|
|
|
+ v-model="outMessageParams.dyr"
|
|
|
+ placeholder="请输入打印人"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="打印份数:" prop="dyr">
|
|
|
+ <el-input
|
|
|
+ :disabled="isEdit"
|
|
|
+ v-model="outMessageParams.dyr"
|
|
|
+ placeholder="请输入打印份数"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="文件标题:" prop="title">
|
|
|
<el-input
|
|
|
type="textarea"
|
|
@@ -123,6 +176,7 @@
|
|
|
prop="title"
|
|
|
>
|
|
|
<el-input
|
|
|
+ :disabled="isEdit"
|
|
|
v-model="outMessageParams.wordNum"
|
|
|
placeholder="请输入文件字号"
|
|
|
></el-input>
|
|
@@ -140,7 +194,9 @@
|
|
|
@handleRemove="romveFile"
|
|
|
multiple
|
|
|
>
|
|
|
- <el-button type="primary">点击上传附件</el-button>
|
|
|
+ <el-button v-if="!isEdit" type="primary"
|
|
|
+ >点击上传附件</el-button
|
|
|
+ >
|
|
|
</el-upload>
|
|
|
<div></div>
|
|
|
<el-link
|
|
@@ -221,6 +277,7 @@
|
|
|
>
|
|
|
<el-form-item label="文件字号: " prop="title">
|
|
|
<el-input
|
|
|
+ :disabled="isEdit"
|
|
|
v-model="outMessageParams.wordNum"
|
|
|
placeholder="请输入文件字号"
|
|
|
></el-input>
|
|
@@ -228,6 +285,7 @@
|
|
|
|
|
|
<el-form-item label="信息公开类型:">
|
|
|
<el-select
|
|
|
+ :disabled="isEdit"
|
|
|
style="width: 100%"
|
|
|
@change="changeSelect2"
|
|
|
v-model="outMessageParams.infoOpenType"
|
|
@@ -272,7 +330,6 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
-
|
|
|
<!-- 发送到下一步操作 -->
|
|
|
<div v-show="guidangBt != true">
|
|
|
<el-form-item
|
|
@@ -304,14 +361,14 @@
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
style="display: inline-block"
|
|
|
- v-if="nowNode"
|
|
|
+ v-if="nowNode && flowDatas.FK_Node != '207'"
|
|
|
@click="sendBack"
|
|
|
type="danger"
|
|
|
>退回
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
style="display: inline-block"
|
|
|
- v-if="nowNode"
|
|
|
+ v-if="nowNode && flowDatas.FK_Node != '207'"
|
|
|
@click="notApproved"
|
|
|
type="warning"
|
|
|
>不予审批
|
|
@@ -628,6 +685,7 @@ import print from "print-js";
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
|
|
+const { urgent_type } = proxy.useDict("urgent_type");
|
|
|
const { archive_levels } = proxy.useDict("archive_levels");
|
|
|
const { sw_open_type } = proxy.useDict("sw_open_type");
|
|
|
const { no_open_reason } = proxy.useDict("no_open_reason");
|
|
@@ -967,10 +1025,18 @@ async function reSendFlowToNext() {
|
|
|
});
|
|
|
SendMsgB();
|
|
|
} else {
|
|
|
- ElMessage({
|
|
|
- message: response.data.Message.replaceAll("@", ""),
|
|
|
- type: "success",
|
|
|
- });
|
|
|
+ if (response.data.Message.replaceAll("@", "")) {
|
|
|
+ ElMessage({
|
|
|
+ message: response.data.Message.replaceAll("@", ""),
|
|
|
+ type: "success",
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ ElMessage({
|
|
|
+ message: response.data.Message,
|
|
|
+ type: "success",
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
SendMsgB();
|
|
|
}
|
|
|
proxy.$modal.closeLoading();
|
|
@@ -1362,10 +1428,7 @@ onMounted(async () => {
|
|
|
dangansel.value = getUrlParameter("dangan") == "true";
|
|
|
//判断当前节点是不是最后一个.
|
|
|
if (hanldType.value) {
|
|
|
- if (
|
|
|
- formData.value.optionName.indexOf("归档") != -1 ||
|
|
|
- flowDatas.value.FK_Node == "204"
|
|
|
- ) {
|
|
|
+ if (formData.value.optionName.indexOf("归档") != -1) {
|
|
|
getTypeList();
|
|
|
formData.value.reviewMsg = "归档";
|
|
|
guidangBt.value = true;
|