Prechádzať zdrojové kódy

Merge remote-tracking branch 'origin/master'

xiao-xx 2 mesiacov pred
rodič
commit
846a11b717

+ 9 - 11
src/views/clocking/sealApplication.vue

@@ -121,15 +121,15 @@
                     ></el-input>
                   </el-col>
                 </el-form-item>
-                <el-form-item  label="附件信息:">
+                <el-form-item label="附件信息:">
                   <el-upload
-                      ref="fujianUpload"
-                      v-model:file-list="fujian"
-                      :action="upload.url"
-                      :headers="upload.headers"
-                      :limit="1"
-                      :on-success="uploadFuJianFiles1"
-                      multiple
+                    ref="fujianUpload"
+                    v-model:file-list="fujian"
+                    :action="upload.url"
+                    :headers="upload.headers"
+                    :limit="1"
+                    :on-success="uploadFuJianFiles1"
+                    multiple
                   >
                     <el-button type="primary">点击上传附件</el-button>
                   </el-upload>
@@ -161,7 +161,6 @@
                           :value="item.NodeID"
                       /></el-select>
                     </el-form-item>
-
                   </div>
                   <div v-else>
                     <el-form-item
@@ -570,10 +569,9 @@ export default {
 };
 </script>
 
-
 <style lang="scss" scoped>
 ::v-deep .el-upload-list__item {
-  transition: all .5s cubic-bezier(.55,0,.1,1);
+  transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
   font-size: 14px;
   color: var(--el-text-color-regular);
   margin-bottom: 5px;

+ 1 - 1
src/views/incomingMessages/index.vue

@@ -37,7 +37,7 @@
           font-weight: 700;
         "
       >
-        省卫生健康委健康河北知道中心收文呈办笺
+        省卫生健康委健康河北指导中心收文呈办笺
       </div>
 
       <div

+ 446 - 409
src/views/liucheng/todowork/formView/sealApplicational.vue

@@ -1,75 +1,76 @@
 <template>
-  <el-dialog width="80%" title="用章申请" v-model="superVisionDialog">
-    <div
-      style="
-        background-color: #f4f7fc;
-        height: 75vh;
-        padding: 20px;
-        overflow: auto;
-      "
-    >
-      <el-row>
-        <el-col :span="3">
-          <div class="grid-content ep-bg-purple" />
-        </el-col>
-        <el-col :span="18">
-          <el-tabs
-            style="min-height: 600px"
-            type="border-card"
-            class="demo-tabs"
-          >
-            <el-tab-pane label="基本信息">
-              <template #label>
-                <span style="font-size: 15px" class="custom-tabs-label">
-                  <span>
-                    <el-icon><Document style="padding-top: 2px" /></el-icon
-                    >基本信息</span
-                  >
-                </span>
-              </template>
-              <div
-                class="grid-content ep-bg-purple-light"
-                style="
-                  background-color: white;
-                  width: 100%;
-                  border: 1px solid #e4e7ed;
-                "
-              >
+  <div>
+    <el-dialog width="80%" title="用章申请" v-model="superVisionDialog">
+      <div
+        style="
+          background-color: #f4f7fc;
+          height: 75vh;
+          padding: 20px;
+          overflow: auto;
+        "
+      >
+        <el-row>
+          <el-col :span="3">
+            <div class="grid-content ep-bg-purple" />
+          </el-col>
+          <el-col :span="18">
+            <el-tabs
+              style="min-height: 600px"
+              type="border-card"
+              class="demo-tabs"
+            >
+              <el-tab-pane label="基本信息">
+                <template #label>
+                  <span style="font-size: 15px" class="custom-tabs-label">
+                    <span>
+                      <el-icon><Document style="padding-top: 2px" /></el-icon
+                      >基本信息</span
+                    >
+                  </span>
+                </template>
                 <div
+                  class="grid-content ep-bg-purple-light"
                   style="
-                    height: 60px;
-                    line-height: 60px;
-                    text-align: center;
-                    color: red;
-                    font-weight: 700;
-                    font-size: 20px;
-                    border-bottom: 1px solid #e4e7ed;
+                    background-color: white;
+                    width: 100%;
+                    border: 1px solid #e4e7ed;
                   "
                 >
-                  用章申请
-                </div>
-                <div style="padding: 20px">
-                  <el-form
-                    ref="ruleFormRef"
-                    :model="form"
-                    :rules="formRules"
-                    label-width="10vw"
+                  <div
+                    style="
+                      height: 60px;
+                      line-height: 60px;
+                      text-align: center;
+                      color: red;
+                      font-weight: 700;
+                      font-size: 20px;
+                      border-bottom: 1px solid #e4e7ed;
+                    "
                   >
-                    <el-row>
-                      <el-col :span="12">
-                        <el-form-item prop="createBy" label="用章人:">
-                          <el-input
-                            disabled
-                            v-model="form.createBy"
-                          /> </el-form-item
-                      ></el-col>
-                      <el-col :span="12">
-                        <el-form-item
-                          label-width="7vw"
-                          prop="deptId"
-                          label="用章处室:"
-                        >
-                          <!-- <el-tree-select
+                    用章申请
+                  </div>
+                  <div style="padding: 20px">
+                    <el-form
+                      ref="ruleFormRef"
+                      :model="form"
+                      :rules="formRules"
+                      label-width="10vw"
+                    >
+                      <el-row>
+                        <el-col :span="12">
+                          <el-form-item prop="createBy" label="用章人:">
+                            <el-input
+                              disabled
+                              v-model="form.createBy"
+                            /> </el-form-item
+                        ></el-col>
+                        <el-col :span="12">
+                          <el-form-item
+                            label-width="7vw"
+                            prop="deptId"
+                            label="用章处室:"
+                          >
+                            <!-- <el-tree-select
                             disabled
                             style="width: 14vw"
                             v-model="form.deptId"
@@ -83,386 +84,418 @@
                             placeholder="请选择用章处室"
                             check-strictly
                           /> -->
-                          <el-input
-                            style="width: 14vw"
-                            v-model="form.useDept"
-                            disabled
-                          ></el-input>
-                        </el-form-item>
-                      </el-col>
-                    </el-row>
-                    <el-row justify="">
-                      <el-col :span="12">
-                        <el-form-item prop="useTime" label="用章日期:">
-                          <el-date-picker
-                            disabled
-                            style="width: 100%"
-                            v-model="form.useTime"
-                          /> </el-form-item
-                      ></el-col>
-                      <el-col :span="12">
-                        <el-form-item
-                          label-width="7vw"
-                          prop="signetType"
-                          label="印章类型:"
-                        >
-                          <el-select
-                            disabled
-                            style="width: 14vw"
-                            v-model="form.signetType"
-                            placeholder="请选择"
+                            <el-input
+                              style="width: 14vw"
+                              v-model="form.useDept"
+                              disabled
+                            ></el-input>
+                          </el-form-item>
+                        </el-col>
+                      </el-row>
+                      <el-row justify="">
+                        <el-col :span="12">
+                          <el-form-item prop="useTime" label="用章日期:">
+                            <el-date-picker
+                              disabled
+                              style="width: 100%"
+                              v-model="form.useTime"
+                            /> </el-form-item
+                        ></el-col>
+                        <el-col :span="12">
+                          <el-form-item
+                            label-width="7vw"
+                            prop="signetType"
+                            label="印章类型:"
                           >
-                            <el-option
-                              v-for="dict in signet_type"
-                              :key="dict.value"
-                              :label="dict.label"
-                              :value="dict.value"
+                            <el-select
+                              disabled
+                              style="width: 14vw"
+                              v-model="form.signetType"
+                              placeholder="请选择"
                             >
-                            </el-option>
-                          </el-select> </el-form-item
-                      ></el-col>
-                    </el-row>
-                    <el-form-item prop="usingReason" label="用章事由:">
-                      <el-input
-                        disabled
-                        v-model="form.usingReason"
-                        style="max-width: 36vw"
-                        rows="3"
-                        type="textarea"
-                      ></el-input>
-                    </el-form-item>
-                    <el-form-item prop="activeSend" label="主送单位:">
-                      <el-col :span="24">
+                              <el-option
+                                v-for="dict in signet_type"
+                                :key="dict.value"
+                                :label="dict.label"
+                                :value="dict.value"
+                              >
+                              </el-option>
+                            </el-select> </el-form-item
+                        ></el-col>
+                      </el-row>
+                      <el-form-item prop="usingReason" label="用章事由:">
                         <el-input
                           disabled
-                          v-model="form.activeSend"
+                          v-model="form.usingReason"
                           style="max-width: 36vw"
                           rows="3"
                           type="textarea"
                         ></el-input>
-                      </el-col>
-                    </el-form-item>
+                      </el-form-item>
+                      <el-form-item prop="activeSend" label="主送单位:">
+                        <el-col :span="24">
+                          <el-input
+                            disabled
+                            v-model="form.activeSend"
+                            style="max-width: 36vw"
+                            rows="3"
+                            type="textarea"
+                          ></el-input>
+                        </el-col>
+                      </el-form-item>
 
-                    <el-form-item label="附件信息:">
-                      <el-link
-                          v-if="form.fuJianFile!=null"
+                      <el-form-item label="附件信息:">
+                        <el-link
+                          v-if="form.fuJianFile != null"
                           type="primary"
-                          @click="openFujianFile(form.fuJianFile.url)">
-                        <el-icon class="el-icon--left">
-                          <Document />
-                        </el-icon>
-                        {{ form.fuJianFile.name }}
-                      </el-link>
-                    </el-form-item>
-                    <el-form-item prop="signetCopies" label="盖章份数:">
-                      <el-col :span="24">
-                        <el-input
-                          disabled
-                          v-model="form.signetCopies"
-                          style="max-width: 5vw; margin-right: 5px"
-                        ></el-input
-                        >份
-                      </el-col>
-                    </el-form-item>
-
-                    <div v-if="leaveTrue !== true">
-                      <div v-if="leaveClear == true">
-                        <el-form-item
-                          v-if="showTable !== undefined"
-                          label="下一步节点:"
+                          @click="openFujianFile(form.fuJianFile.url)"
                         >
-                          <el-select
-                            v-model="selNextNode"
-                            placeholder="请选择下一步节点"
+                          <el-icon class="el-icon--left">
+                            <Document />
+                          </el-icon>
+                          {{ form.fuJianFile.name }}
+                        </el-link>
+                      </el-form-item>
+                      <el-form-item prop="signetCopies" label="盖章份数:">
+                        <el-col :span="24">
+                          <el-input
+                            disabled
+                            v-model="form.signetCopies"
+                            style="max-width: 5vw; margin-right: 5px"
+                          ></el-input
+                          >份
+                        </el-col>
+                      </el-form-item>
+
+                      <div v-if="leaveTrue !== true">
+                        <div v-if="leaveClear == true">
+                          <el-form-item
+                            v-if="showTable !== undefined"
+                            label="下一步节点:"
                           >
-                            <el-option
-                              v-for="item in options"
-                              :key="item.NodeID"
-                              :label="item.Name"
-                              :value="item.NodeID"
-                          /></el-select>
-                        </el-form-item>
-                        <el-form-item label="销假日期:">
-                          <el-date-picker
-                            v-model="valDate"
-                            type="date"
-                            placeholder="请选择销假日期"
-                            :size="size"
-                          />
-                        </el-form-item>
-                      </div>
-                      <div v-else>
-                        <el-form-item
+                            <el-select
+                              v-model="selNextNode"
+                              placeholder="请选择下一步节点"
+                            >
+                              <el-option
+                                v-for="item in options"
+                                :key="item.NodeID"
+                                :label="item.Name"
+                                :value="item.NodeID"
+                            /></el-select>
+                          </el-form-item>
+                          <el-form-item label="销假日期:">
+                            <el-date-picker
+                              v-model="valDate"
+                              type="date"
+                              placeholder="请选择销假日期"
+                              :size="size"
+                            />
+                          </el-form-item>
+                        </div>
+                        <div v-else>
+                          <el-form-item
+                            v-if="showTable !== undefined"
+                            label="下一步节点:"
+                          >
+                            <el-select
+                              v-model="selNextNode"
+                              placeholder="请选择下一步节点"
+                            >
+                              <el-option
+                                v-for="item in options"
+                                :key="item.NodeID"
+                                :label="item.Name"
+                                :value="item.NodeID"
+                            /></el-select>
+                          </el-form-item>
+                          <el-form-item v-if="showTable" label="审核意见:">
+                            <el-col :span="23">
+                              <el-input
+                                v-model="reviewMsg"
+                                style="width: 20vw"
+                                type="textarea"
+                              />
+                            </el-col>
+                          </el-form-item>
+                        </div>
+                        <div
                           v-if="showTable !== undefined"
-                          label="下一步节点:"
+                          style="text-align: center"
+                        >
+                          <el-form-item>
+                            <el-button
+                              style="margin-top: 4vh"
+                              type="primary"
+                              @click="sendNext"
+                              >提交</el-button
+                            >
+                            <el-button
+                              style="margin-top: 4vh"
+                              type="danger"
+                              @click="sendBack"
+                              >退回</el-button
+                            >
+                          </el-form-item>
+                        </div>
+                        <!-- <div v-else style="text-align: center; width: 100%">
+                        <el-button
+                          style="padding: 0 35px; margin-top: 4vh"
+                          type="primary"
+                          @click="onSubmit"
+                          >提交</el-button
                         >
+                      </div> -->
+                      </div>
+                    </el-form>
+                    <!--  下一步提交            -->
+                    <div v-if="liucheng">
+                      <el-divider></el-divider>
+                      <el-form v-show="submitShow" label-width="10vw">
+                        <el-form-item label="下一步节点:">
                           <el-select
                             v-model="selNextNode"
                             placeholder="请选择下一步节点"
                           >
                             <el-option
-                              v-for="item in options"
+                              v-for="item in NextStepNode"
                               :key="item.NodeID"
                               :label="item.Name"
                               :value="item.NodeID"
-                          /></el-select>
-                        </el-form-item>
-                        <el-form-item v-if="showTable" label="审核意见:">
-                          <el-col :span="23">
-                            <el-input
-                              v-model="reviewMsg"
-                              style="width: 20vw"
-                              type="textarea"
-                            />
-                          </el-col>
+                            >
+                            </el-option>
+                          </el-select>
                         </el-form-item>
-                      </div>
-                      <div
-                        v-if="showTable !== undefined"
-                        style="text-align: center"
-                      >
-                        <el-form-item>
-                          <el-button
-                            style="margin-top: 4vh"
-                            type="primary"
-                            @click="sendNext"
-                            >提交</el-button
-                          >
-                          <el-button
-                            style="margin-top: 4vh"
-                            type="danger"
-                            @click="sendBack"
-                            >退回</el-button
-                          >
+                        <div style="width: 100%" v-show="guidangBt != true">
+                          <el-form-item label="审核意见:">
+                            <el-col :span="24">
+                              <el-input
+                                style="width: 16vw"
+                                type="textarea"
+                                :rows="2"
+                                placeholder="请输入审核意见"
+                                v-model="formData.reviewMsg"
+                              />
+                            </el-col>
+                          </el-form-item>
+                          <div style="text-align: center; width: 100%">
+                            <el-button
+                              :loading="loadingWebLoad"
+                              @click="sendNext"
+                              type="primary"
+                              >提交
+                            </el-button>
+
+                            <el-button
+                              v-if="showBack"
+                              @click="sendBack"
+                              type="danger"
+                              >退回
+                            </el-button>
+                          </div>
+                        </div>
+                      </el-form>
+                      <el-form label-width="10vw" v-show="guidangBt">
+                        <el-form-item label="档案分类: ">
+                          <el-tree-select
+                            v-model="guidangData.typeId"
+                            :data="typeList"
+                            :props="{
+                              value: 'archiveTypeId',
+                              label: 'name',
+                              children: 'children',
+                            }"
+                            value-key="archiveTypeId"
+                            placeholder="请选择档案分类"
+                          />
                         </el-form-item>
-                      </div>
-                      <!-- <div v-else style="text-align: center; width: 100%">
-                        <el-button
-                          style="padding: 0 35px; margin-top: 4vh"
-                          type="primary"
-                          @click="onSubmit"
-                          >提交</el-button
-                        >
-                      </div> -->
-                    </div>
-                  </el-form>
-                  <!--  下一步提交            -->
-                  <div v-if="liucheng">
-                    <el-divider></el-divider>
-                    <el-form v-show="submitShow" label-width="10vw">
-                      <el-form-item label="下一步节点:">
-                        <el-select
-                          v-model="selNextNode"
-                          placeholder="请选择下一步节点"
+                        <div
+                          style="text-align: center; align-items: center"
+                          label=" "
                         >
-                          <el-option
-                            v-for="item in NextStepNode"
-                            :key="item.NodeID"
-                            :label="item.Name"
-                            :value="item.NodeID"
-                          >
-                          </el-option>
-                        </el-select>
-                      </el-form-item>
-                      <div style="width: 100%" v-show="guidangBt != true">
-                        <el-form-item label="审核意见:">
-                          <el-col :span="24">
-                            <el-input
-                              style="width: 16vw"
-                              type="textarea"
-                              :rows="2"
-                              placeholder="请输入审核意见"
-                              v-model="formData.reviewMsg"
-                            />
-                          </el-col>
-                        </el-form-item>
-                        <div style="text-align: center; width: 100%">
                           <el-button
-                            :loading="loadingWebLoad"
+                            :disabled="false"
                             @click="sendNext"
                             type="primary"
-                            >提交
-                          </el-button>
-
-                          <el-button
-                            v-if="showBack"
-                            @click="sendBack"
-                            type="danger"
-                            >退回
+                            >归档
                           </el-button>
                         </div>
-                      </div>
-                    </el-form>
-                    <el-form label-width="10vw" v-show="guidangBt">
-                      <el-form-item label="档案分类: ">
-                        <el-tree-select
-                          v-model="guidangData.typeId"
-                          :data="typeList"
-                          :props="{
-                            value: 'archiveTypeId',
-                            label: 'name',
-                            children: 'children',
-                          }"
-                          value-key="archiveTypeId"
-                          placeholder="请选择档案分类"
-                        />
-                      </el-form-item>
-                      <div
-                        style="text-align: center; align-items: center"
-                        label=" "
-                      >
-                        <el-button
-                          :disabled="false"
-                          @click="sendNext"
-                          type="primary"
-                          >归档
-                        </el-button>
-                      </div>
-                    </el-form>
+                      </el-form>
+                    </div>
                   </div>
                 </div>
-              </div>
-            </el-tab-pane>
-            <el-tab-pane label="流转记录">
-              <template #label>
-                <span style="font-size: 15px" class="custom-tabs-label">
-                  <el-icon><Promotion style="padding-top: 2px" /></el-icon>
-                  <span>流转记录</span>
-                </span>
-              </template>
-              <div>
-                <el-table border :data="liuzhuanData" style="width: 100%">
-                  <el-table-column
-                    align="center"
-                    label="序号"
-                    width="60"
-                    type="index"
-                  >
-                  </el-table-column>
-                  <el-table-column
-                    align="center"
-                    prop="NDFromT"
-                    label="节点名称"
-                    width="180"
-                  >
-                  </el-table-column>
-                  <el-table-column
-                    align="center"
-                    width="80"
-                    prop="ActionTypeText"
-                    label="办理状态"
-                  >
-                  </el-table-column>
-                  <el-table-column
-                    align="center"
-                    prop="EmpFromT"
-                    label="办理人"
-                  >
-                  </el-table-column>
-                  <el-table-column
-                    width="160"
-                    align="center"
-                    prop="SDT"
-                    label="到达时间"
-                  >
-                  </el-table-column>
-                  <el-table-column
-                    width="160"
-                    align="center"
-                    prop="RDT"
-                    label="处理时间"
-                  >
-                  </el-table-column>
-                  <el-table-column
-                    align="center"
-                    prop="ActionType22"
-                    label="审核意见"
-                  >
-                    <template #default="scope">
-                      <div v-if="scope.row.ActionType22 != undefined">
-                        <div v-for="item in scope.row.ActionType22" :key="item">
-                          <div>{{ item.Msg }}</div>
-                        </div>
-                      </div>
-                      <div v-else>
-                        <div v-if="scope.row.ActionTypeText == '退回'">
-                          退回原因:{{ scope.row.Msg }}
+              </el-tab-pane>
+              <el-tab-pane label="流转记录">
+                <template #label>
+                  <span style="font-size: 15px" class="custom-tabs-label">
+                    <el-icon><Promotion style="padding-top: 2px" /></el-icon>
+                    <span>流转记录</span>
+                  </span>
+                </template>
+                <div>
+                  <el-table border :data="liuzhuanData" style="width: 100%">
+                    <el-table-column
+                      align="center"
+                      label="序号"
+                      width="60"
+                      type="index"
+                    >
+                    </el-table-column>
+                    <el-table-column
+                      align="center"
+                      prop="NDFromT"
+                      label="节点名称"
+                      width="180"
+                    >
+                    </el-table-column>
+                    <el-table-column
+                      align="center"
+                      width="80"
+                      prop="ActionTypeText"
+                      label="办理状态"
+                    >
+                    </el-table-column>
+                    <el-table-column
+                      align="center"
+                      prop="EmpFromT"
+                      label="办理人"
+                    >
+                    </el-table-column>
+                    <el-table-column
+                      width="160"
+                      align="center"
+                      prop="SDT"
+                      label="到达时间"
+                    >
+                    </el-table-column>
+                    <el-table-column
+                      width="160"
+                      align="center"
+                      prop="RDT"
+                      label="处理时间"
+                    >
+                    </el-table-column>
+                    <el-table-column
+                      align="center"
+                      prop="ActionType22"
+                      label="审核意见"
+                    >
+                      <template #default="scope">
+                        <div v-if="scope.row.ActionType22 != undefined">
+                          <div
+                            v-for="item in scope.row.ActionType22"
+                            :key="item"
+                          >
+                            <div>{{ item.Msg }}</div>
+                          </div>
                         </div>
-                        <div v-if="scope.row.ActionTypeText == '移交'">
-                          移交原因:{{ scope.row.Msg }}
+                        <div v-else>
+                          <div v-if="scope.row.ActionTypeText == '退回'">
+                            退回原因:{{ scope.row.Msg }}
+                          </div>
+                          <div v-if="scope.row.ActionTypeText == '移交'">
+                            移交原因:{{ scope.row.Msg }}
+                          </div>
                         </div>
-                      </div>
-                    </template>
-                  </el-table-column>
-                </el-table>
-              </div>
-              <!-- <iframe :src="tuurl" width="100%" height="500px"></iframe> -->
-            </el-tab-pane>
-          </el-tabs>
-        </el-col>
-        <el-col :span="3">
-          <div class="grid-content ep-bg-purple" />
-        </el-col>
-      </el-row>
+                      </template>
+                    </el-table-column>
+                  </el-table>
+                </div>
+                <!-- <iframe :src="tuurl" width="100%" height="500px"></iframe> -->
+              </el-tab-pane>
+              <el-tab-pane label="用章审批单">
+                <template #label>
+                  <span class="custom-tabs-label">
+                    <el-icon>
+                      <SetUp />
+                    </el-icon>
+                    <span>用章审批单</span>
+                  </span></template
+                >
+                <div style="text-align: center">
+                  用章审批单
+                  <el-button
+                    type="primary"
+                    icon="view"
+                    style="margin-left: 5px"
+                    @click="openYzsp"
+                    >预览</el-button
+                  >
+                </div>
+              </el-tab-pane>
+            </el-tabs>
+          </el-col>
+          <el-col :span="3">
+            <div class="grid-content ep-bg-purple" />
+          </el-col>
+        </el-row>
 
-      <select-user
-        ref="selectRef"
-        @ok="handleQuery"
-        @closeDialogf="closeSelUser"
-      ></select-user>
-      <!-- 退回 -->
-      <el-dialog title="退回" v-model="dialogBack" width="40%">
-        <el-form>
-          <el-form-item label-width="12vw" label="退回节点:">
-            <el-select
-              v-model="nodeValue"
-              placeholder="请选择退回节点信息"
-              style="width: 240px"
+        <select-user
+          ref="selectRef"
+          @ok="handleQuery"
+          @closeDialogf="closeSelUser"
+        ></select-user>
+        <!-- 退回 -->
+        <el-dialog title="退回" v-model="dialogBack" width="40%">
+          <el-form>
+            <el-form-item label-width="12vw" label="退回节点:">
+              <el-select
+                v-model="nodeValue"
+                placeholder="请选择退回节点信息"
+                style="width: 240px"
+              >
+                <el-option
+                  v-for="item in nodeData"
+                  :key="item.No"
+                  :label="item.Name"
+                  :value="item.No"
+                />
+              </el-select>
+            </el-form-item>
+            <el-form-item
+              label-width="12vw"
+              label="退回原因:"
+              placeholder="请输入退回原因"
             >
-              <el-option
-                v-for="item in nodeData"
-                :key="item.No"
-                :label="item.Name"
-                :value="item.No"
+              <el-input
+                v-model="returnMsg"
+                style="width: 20vw"
+                type="textarea"
               />
-            </el-select>
-          </el-form-item>
-          <el-form-item
-            label-width="12vw"
-            label="退回原因:"
-            placeholder="请输入退回原因"
+            </el-form-item>
+          </el-form>
+          <span
+            style="position: relative; left: 26vw"
+            slot="footer"
+            class="dialog-footer"
           >
-            <el-input v-model="returnMsg" style="width: 20vw" type="textarea" />
-          </el-form-item>
-        </el-form>
-        <span
-          style="position: relative; left: 26vw"
-          slot="footer"
-          class="dialog-footer"
+            <el-button @click="dialogBack = false">取 消</el-button>
+            <el-button type="primary" @click="submitNodeBack">确 定</el-button>
+          </span>
+        </el-dialog>
+        <!-- 进展情况 -->
+        <el-dialog
+          title="进展情况"
+          style="height: 460px"
+          v-model="dialogEdit"
+          width="60%"
         >
-          <el-button @click="dialogBack = false">取 消</el-button>
-          <el-button type="primary" @click="submitNodeBack">确 定</el-button>
-        </span>
-      </el-dialog>
-      <!-- 进展情况 -->
-      <el-dialog
-        title="进展情况"
-        style="height: 460px"
-        v-model="dialogEdit"
-        width="60%"
-      >
-        <el-form style="padding: 0 30px">
-          <el-form-item label-width="6vw" label="进展情况:">
-            <el-input v-model="progress" :rows="14" type="textarea" />
-          </el-form-item>
-        </el-form>
-        <span style="float: right" slot="footer">
-          <el-button @click="dialogEdit = false">取 消</el-button>
-          <el-button type="primary" @click="jinDuSub">确 定</el-button>
-        </span>
-      </el-dialog>
-    </div>
-  </el-dialog>
+          <el-form style="padding: 0 30px">
+            <el-form-item label-width="6vw" label="进展情况:">
+              <el-input v-model="progress" :rows="14" type="textarea" />
+            </el-form-item>
+          </el-form>
+          <span style="float: right" slot="footer">
+            <el-button @click="dialogEdit = false">取 消</el-button>
+            <el-button type="primary" @click="jinDuSub">确 定</el-button>
+          </span>
+        </el-dialog>
+      </div>
+    </el-dialog>
+    <el-dialog style="width: 1000px" title="用章审批单" v-model="Yzsp">
+      <yzspdanVue ref="yzsp"></yzspdanVue>
+    </el-dialog>
+  </div>
 </template>
 <script>
 import { addCar } from "@/api/car";
@@ -489,7 +522,7 @@ import { listType } from "@/api/archive/type";
 import { saveArchive } from "@/api/archive/archive";
 
 import { sealSel } from "@/api/sealApplicational";
-
+import yzspdanVue from "../../../yzspdan/yzspdan.vue";
 export default {
   name: "YinetoaLeaveApplication",
   props: [
@@ -502,7 +535,7 @@ export default {
     "trueLeave",
     "closeDialog",
   ],
-  components: { selectUser },
+  components: { selectUser, yzspdanVue },
   data() {
     return {
       isEval: false,
@@ -564,6 +597,7 @@ export default {
       dialogEdit: false,
       progress: "",
       id: "",
+      Yzsp: false,
     };
   },
 
@@ -575,6 +609,9 @@ export default {
   mounted() {},
 
   methods: {
+    openYzsp() {
+      this.Yzsp = true;
+    },
     jinDuSub() {
       this.dialogEdit = false;
       updatemyselfDetail({ progress: this.progress, id: this.id }).then(

+ 227 - 0
src/views/yzspdan/yzspdan.vue

@@ -0,0 +1,227 @@
+<template>
+  <div>
+    <div
+      class="color"
+      style="
+        background-color: #f6fafd;
+        height: 5vh;
+        line-height: 5vh;
+        padding-left: 20px;
+        border-bottom: 1px solid black;
+      "
+    >
+      <el-button v-print="print" plain type="primary">打印</el-button>
+    </div>
+    <div
+      id="printContent"
+      style="
+        width: 680px;
+        font-family: '宋体';
+        margin: 0 auto;
+        margin-top: 15px;
+      "
+      class="grid-content ep-bg-purple-light"
+    >
+      <div
+        style="
+          width: 680px;
+          font-size: 30px;
+          height: 4vh;
+          line-height: 4vh;
+          margin: auto;
+          color: black;
+          text-align: center;
+          margin-top: 50px;
+          font-family: '宋体';
+          font-weight: 700;
+        "
+      >
+        省卫生健康委健康河北指导中心用章审批单
+      </div>
+
+      <div
+        style="
+          display: flex;
+          justify-content: space-between;
+          color: black;
+          margin-top: 1.5vh;
+          margin-left: 40px;
+          width: 640px;
+          font-size: 24px;
+          font-weight: 500;
+          margin-bottom: 0.5vh;
+        "
+      >
+        <div style="display: inline-block">
+          &nbsp;日期:{{ YbjData.yOffcialReceive.serial }}
+        </div>
+        <div style="margin-top: 2px; display: inline-block; margin-right: 70px">
+          序号:
+        </div>
+      </div>
+      <div style="margin: 20px; margin-top: 0px; color: black">
+        <table
+          style="border-collapse: collapse"
+          border="1"
+          width="100%"
+          height="90vh"
+          align="center"
+        >
+          <tr style="height: 12vh">
+            <td colspan="1" style="font-size: 22px" width="20%" align="center">
+              经办人
+            </td>
+            <td colspan="4" style="font-size: 22px; text-align: center">
+              <!-- {{ YbjData.yOffcialReceive.sender }} -->
+            </td>
+            <td colspan="1" style="font-size: 22px; width: 22%" align="center">
+              用章处室
+            </td>
+            <td colspan="3" style="font-size: 22px; text-align: center">
+              <!-- {{ YbjData.yOffcialReceive.documentNum }} -->
+            </td>
+          </tr>
+          <tr style="height: 12vh">
+            <td colspan="1" style="font-size: 22px" width="20%" align="center">
+              印章类型
+            </td>
+            <td colspan="4" style="font-size: 22px; text-align: center">
+              <!-- {{ YbjData.yOffcialReceive.sender }} -->
+            </td>
+            <td colspan="1" style="font-size: 22px; width: 22%" align="center">
+              盖章日期
+            </td>
+            <td colspan="3" style="font-size: 22px; text-align: center">
+              <!-- {{ YbjData.yOffcialReceive.documentNum }} -->
+            </td>
+          </tr>
+          <tr style="height: 12vh">
+            <td colspan="1" style="font-size: 22px" width="20%" align="center">
+              主送单位
+            </td>
+            <td colspan="4" style="font-size: 22px; text-align: center">
+              <!-- {{ YbjData.yOffcialReceive.sender }} -->
+            </td>
+            <td colspan="1" style="font-size: 22px; width: 22%" align="center">
+              盖章份数
+            </td>
+            <td colspan="3" style="font-size: 22px; text-align: center">
+              <!-- {{ YbjData.yOffcialReceive.documentNum }} -->
+            </td>
+          </tr>
+          <tr style="height: 18vh">
+            <td style="font-size: 22px" align="center">
+              文件名称<br />(主题)
+            </td>
+            <td
+              colspan="10"
+              style="font-size: 22px; line-height: 35px; height: 35px"
+            >
+              <!-- <div
+                v-if="YbjData.ldpsMaps != undefined && YbjData.ldpsMaps != null"
+              >
+                <template
+                  v-for="(item, index) in YbjData.ldpsMaps"
+                  :key="index"
+                >
+                  <div>{{ item.nickName }}:{{ item.Msg }}</div>
+                </template>
+              </div> -->
+            </td>
+          </tr>
+          <tr style="height: 18vh">
+            <td style="font-size: 22px" align="center">领导审批</td>
+            <td
+              style="font-size: 22px; line-height: 35px; height: 35px"
+              colspan="10"
+            >
+              <!-- <div
+                v-if="YbjData.nbyjMaps != undefined && YbjData.nbyjMaps != null"
+              >
+                <template
+                  v-for="(item, index) in YbjData.nbyjMaps"
+                  :key="index"
+                >
+                  <span>{{ item.nickName }}:{{ item.Msg }}</span>
+                </template>
+              </div> -->
+            </td>
+          </tr>
+        </table>
+      </div>
+      <div
+        style="
+          display: flex;
+          justify-content: space-between;
+          color: black;
+          margin-top: 2vh;
+          margin-left: 40px;
+          width: 640px;
+          font-size: 22px;
+          font-weight: 500;
+          margin-bottom: 0.5vh;
+        "
+      >
+        <div style="display: inline-block">
+          备注:序号由综合处在实际用章时登记填写
+        </div>
+      </div>
+    </div>
+  </div>
+</template>
+<script>
+// import { VueHtmlToPaper } from "vue-html-to-paper";
+import { getYbjInfo } from "@/api/liucheng";
+import { ElMessage } from "element-plus";
+import { useDict } from "@/utils/dict";
+
+export default {
+  // directives: {
+  //   htmlToPaper: VueHtmlToPaper,
+  // },
+
+  name: "YinetYbjIndex",
+  props: ["id"],
+  data() {
+    return {
+      sw_open_type: useDict("sw_open_type").sw_open_type,
+
+      //打印
+      print: {
+        id: "printContent",
+      },
+      YbjData: {
+        cbcsStr: "",
+        nbyjStr: "",
+        ldpsStr: "",
+        yOffcialReceive: {},
+      },
+      aaid: 32,
+    };
+  },
+  mounted() {
+    this.getInfoData();
+  },
+  methods: {
+    getInfoData() {
+      getYbjInfo(this.id).then((reData) => {
+        this.YbjData = reData.data;
+      });
+    },
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+table {
+  border-collapse: collapse;
+}
+</style>
+<style>
+@media print {
+  html,
+  body {
+    height: inherit;
+  }
+}
+</style>