FinalYu 4 mesi fa
parent
commit
8b765c340a

+ 7 - 0
nasc-admin/src/main/java/com/nasc/web/controller/custom/NascRecordController.java

@@ -235,4 +235,11 @@ public class NascRecordController extends BaseController {
         return getDataTable(list);
     }
 
+    @GetMapping("/listPrintLogList")
+    public TableDataInfo listPrintLogList(NascPrintLog printLog) {
+        startPage();
+        List<Map<String, Object>> list = recordService.selectPrintLogList(printLog);
+        return getDataTable(list);
+    }
+
 }

+ 23 - 1
nasc-system/src/main/java/com/nasc/custom/domain/NascPrint.java

@@ -19,9 +19,15 @@ public class NascPrint {
     /** 事项所属ID */
     private Long matterId;
 
-    /** 打印内容 */
+    /** 打印内容:受理通知单 */
     private String content;
 
+    /** 打印内容:补正材料告知书 */
+    private String missContent;
+
+    /** 打印内容:不予受理通知书 */
+    private String denyContent;
+
     /** 打印人员ID */
     private Long printBy;
 
@@ -54,6 +60,22 @@ public class NascPrint {
         this.content = content;
     }
 
+    public String getMissContent() {
+        return missContent;
+    }
+
+    public void setMissContent(String missContent) {
+        this.missContent = missContent;
+    }
+
+    public String getDenyContent() {
+        return denyContent;
+    }
+
+    public void setDenyContent(String denyContent) {
+        this.denyContent = denyContent;
+    }
+
     public Long getPrintBy() {
         return printBy;
     }

+ 11 - 0
nasc-system/src/main/java/com/nasc/custom/domain/NascPrintLog.java

@@ -19,6 +19,9 @@ public class NascPrintLog {
     /** 打印人员ID */
     private Long userId;
 
+    /** 受理编号 */
+    private String serialNumber;
+
     /** 打印人员姓名 */
     private String userName;
 
@@ -58,6 +61,14 @@ public class NascPrintLog {
         this.id = id;
     }
 
+    public String getSerialNumber() {
+        return serialNumber;
+    }
+
+    public void setSerialNumber(String serialNumber) {
+        this.serialNumber = serialNumber;
+    }
+
     public Long getMatter() {
         return matter;
     }

+ 6 - 1
nasc-system/src/main/java/com/nasc/custom/mapper/NascPrintLogMapper.java

@@ -2,6 +2,9 @@ package com.nasc.custom.mapper;
 
 import com.nasc.custom.domain.NascPrintLog;
 
+import java.util.List;
+import java.util.Map;
+
 /**
  * @Author: Yujianq
  * @Date: 2024/6/4 16:38
@@ -17,6 +20,8 @@ public interface NascPrintLogMapper {
      * @param printLog
      * @return: int
      */
-    public int insertPrintLog(NascPrintLog printLog);
+    int insertPrintLog(NascPrintLog printLog);
+
+    List<Map<String, Object>> selectPrintLogList(NascPrintLog printLog);
 
 }

+ 2 - 0
nasc-system/src/main/java/com/nasc/custom/service/INascRecordService.java

@@ -75,4 +75,6 @@ public interface INascRecordService {
     Map<String, Object> getDealRecordById(Long id);
 
     int updateDealRecordStatus(NascDealRecord dealRecord);
+
+    List<Map<String, Object>> selectPrintLogList(NascPrintLog printLog);
 }

+ 5 - 0
nasc-system/src/main/java/com/nasc/custom/service/impl/NascRecordServiceImpl.java

@@ -80,6 +80,11 @@ public class NascRecordServiceImpl implements INascRecordService {
     }
 
     @Override
+    public List<Map<String, Object>> selectPrintLogList(NascPrintLog printLog) {
+        return printLogMapper.selectPrintLogList(printLog);
+    }
+
+    @Override
     @Transactional
     public int addManualVerify(NascManualVerify manualVerify) {
         int result = manualVerifyMapper.insertManualVerify(manualVerify);

+ 3 - 1
nasc-system/src/main/resources/mapper/custom/NascMatterMapper.xml

@@ -25,6 +25,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <id     property="id"         column="printId"        />
         <result property="matterId"   column="matter_id" />
         <result property="content"    column="content"   />
+        <result property="missContent"    column="miss_content"   />
+        <result property="denyContent"    column="deny_content"   />
         <result property="printBy"    column="print_by"  />
         <result property="printTime"  column="print_ime" />
     </resultMap>
@@ -90,7 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="getMatterInfo" parameterType="NascMatter" resultMap="matterResult">
         SELECT nm.id, nm.item_name, nm.dept_id, nm.prefix_question, nm.contacts, nm.contacts_phone, nm.sort_num, nm.del_flag, nm.create_by, nm.create_time, nm.update_by, nm.update_time,
                d.dept_name, d.dept_id, d.parent_id,
-               np.id AS printId, np.matter_id, np.content, np.print_by, np.print_time
+               np.id AS printId, np.matter_id, np.content, np.miss_content, np.deny_content, np.print_by, np.print_time
         FROM nasc_matter nm
         LEFT JOIN sys_dept d ON nm.dept_id = d.dept_id
         LEFT JOIN nasc_print np ON nm.id = np.matter_id

+ 35 - 2
nasc-system/src/main/resources/mapper/custom/NascPrintLogMapper.xml

@@ -5,10 +5,43 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 <mapper namespace="com.nasc.custom.mapper.NascPrintLogMapper">
 
     <insert id="insertPrintLog" parameterType="NascPrintLog" useGeneratedKeys="true" keyProperty="id">
-        INSERT INTO nasc_print_log (user_id, user_name, matter, matter_name, with_type, contacts,
+        INSERT INTO nasc_print_log (serial_number, user_id, user_name, matter, matter_name, with_type, contacts,
                                     phone, id_card, content, print_type, print_time)
-        VALUES (#{userId}, #{userName}, #{matter}, #{matterName}, #{withType}, #{contacts},
+        VALUES (#{serialNumber}, #{userId}, #{userName}, #{matter}, #{matterName}, #{withType}, #{contacts},
             #{phone}, #{idCard}, #{content}, #{printType}, sysdate());
     </insert>
 
+    <resultMap id="printLogResult" type="java.util.HashMap">
+        <result property="id" column="id"/>
+        <result property="serialNumber" column="serial_number"/>
+        <result property="userName" column="user_name"/>
+        <result property="matterName" column="matter_name"/>
+        <result property="withType" column="with_type"/>
+        <result property="contacts" column="contacts"/>
+        <result property="phone" column="phone"/>
+        <result property="idCard" column="id_card"/>
+        <result property="content" column="content"/>
+        <result property="printType" column="print_type"/>
+        <result property="deptName" column="dept_name"/>
+        <result property="printTime" column="print_time"/>
+    </resultMap>
+
+    <select id="selectPrintLogList" resultMap="printLogResult">
+        SELECT pl.id, pl.serial_number, pl.user_name, pl.matter_name, pl.with_type, pl.contacts, pl.phone,
+               pl.id_card, pl.content, pl.print_type, d.dept_name,
+               DATE_FORMAT(pl.print_time, '%Y-%m-%d %H:%i:%s') AS print_time
+        FROM nasc_print_log pl
+        LEFT JOIN sys_user u ON u.user_id = pl.user_id
+        LEFT JOIN sys_dept d ON d.dept_id = u.dept_id
+        <where>
+            <if test="matterName != null and matterName != ''">
+                AND pl.matter_name = #{matterName}
+            </if>
+            <if test="printType != null">
+                AND pl.print_type = #{printType}
+            </if>
+        </where>
+        ORDER BY pl.print_time DESC
+    </select>
+
 </mapper> 

+ 6 - 4
nasc-system/src/main/resources/mapper/custom/NascPrintMapper.xml

@@ -8,23 +8,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <id     property="id"         column="id"        />
         <result property="matterId"   column="matter_id" />
         <result property="content"    column="content"   />
+        <result property="missContent"    column="miss_content"   />
+        <result property="denyContent"    column="deny_content"   />
         <result property="printBy"    column="print_by"  />
         <result property="printTime"  column="print_ime" />
     </resultMap>
 
     <insert id="insertPrint" parameterType="NascPrint" useGeneratedKeys="true" keyProperty="id">
-        INSERT INTO nasc_print (matter_id, content, print_by, print_time)
-        VALUES (#{matterId}, #{content}, #{printBy}, sysdate())
+        INSERT INTO nasc_print (matter_id, content, miss_content, deny_content, print_by, print_time)
+        VALUES (#{matterId}, #{content}, #{missContent}, #{denyContent}, #{printBy}, sysdate())
     </insert>
 
     <update id="updatePrint" parameterType="NascPrint">
         UPDATE nasc_print
-        SET content = #{content}, print_by = #{printBy}, print_time = sysdate()
+        SET content = #{content}, miss_content = #{missContent}, deny_content = #{denyContent}, print_by = #{printBy}, print_time = sysdate()
         WHERE id = #{id}
     </update>
 
     <select id="getPrintByMatterId" parameterType="Long" resultMap="printResult">
-        SELECT np.id, np.matter_id, np.content, np.print_by, np.print_time
+        SELECT np.id, np.matter_id, np.content, np.miss_content, np.deny_content, np.print_by, np.print_time
         FROM nasc_print np
         WHERE np.matter_id = #{matterId}
     </select>

+ 13 - 0
nasc-ui/src/api/matter/record.js

@@ -202,3 +202,16 @@ export function listCertificateSend(query) {
     params: query
   })
 }
+
+/**
+ * 查询日志
+ * @param query
+ * @returns {*}
+ */
+export function listPrintLogList(query) {
+  return request({
+    url: '/nasc/record/listPrintLogList',
+    method: 'get',
+    params: query
+  })
+}

+ 151 - 10
nasc-ui/src/views/matter/deal_record/index.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="app-container">
-    <el-tabs v-model="activeName">
-      <el-tab-pane label="物料流转" name="first">
+    <el-tabs v-model="activeName" @tab-click="handleTabClick">
+      <el-tab-pane label="物料流转" style="height: calc(-180px + 100vh); overflow: auto;" name="first">
         <el-row :gutter="20">
           <!-- 物料流转数据 -->
           <el-col :span="24" :xs="24">
@@ -49,16 +49,106 @@
           </el-col>
         </el-row>
       </el-tab-pane>
-<!--      <el-tab-pane label="受理通知单" name="second">配置管理</el-tab-pane>-->
-<!--      <el-tab-pane label="补正材料告知书" name="third">角色管理</el-tab-pane>-->
-<!--      <el-tab-pane label="不予受理通知书" name="fourth">定时任务补偿</el-tab-pane>-->
+      <el-tab-pane label="受理通知单" style="height: calc(-180px + 100vh); overflow: auto;" name="second">
+        <el-table :data="dealRecord1List">
+          <el-table-column label="受理编号" align="center" prop="serialNumber"/>
+          <el-table-column label="业务类型" align="center" prop="withType">
+            <template slot-scope="scope">
+              <span v-if="scope.row.withType === 1">个人</span>
+              <span v-if="scope.row.withType === 2">企业</span>
+            </template>
+          </el-table-column>
+          <el-table-column label="事项名称" align="center" prop="matterName"/>
+          <el-table-column label="联系人" align="center" prop="contacts" width="100"/>
+          <el-table-column label="联系电话" align="center" prop="phone" width="120"/>
+          <el-table-column label="打印人" align="center" prop="userName">
+            <template slot-scope="scope">
+              <span v-if="scope.row.userName">{{ scope.row.userName }}({{ scope.row.deptName }})</span>
+            </template>
+          </el-table-column>
+          <el-table-column label="打印时间" align="center" prop="printTime" width="160">
+          </el-table-column>
+          <el-table-column label="操作" align="center" width="160" class-name="small-padding fixed-width">
+            <template slot-scope="scope" v-if="scope.row.userId !== 1">
+              <el-button size="mini" type="text" icon="el-icon-document" @click="handleDealDetail(scope.row)">详情
+              </el-button>
+            </template>
+          </el-table-column>
+        </el-table>
+
+        <pagination v-show="total1 > 0" :total="total1" :page.sync="queryParams.pageNum"
+                    :limit.sync="queryParams.pageSize" @pagination="getDeal1List"/>
+      </el-tab-pane>
+      <el-tab-pane label="补正材料告知书" style="height: calc(-180px + 100vh); overflow: auto;" name="third">
+        <el-table :data="dealRecord2List">
+          <el-table-column label="受理编号" align="center" prop="serialNumber"/>
+          <el-table-column label="业务类型" align="center" prop="withType">
+            <template slot-scope="scope">
+              <span v-if="scope.row.withType === 1">个人</span>
+              <span v-if="scope.row.withType === 2">企业</span>
+            </template>
+          </el-table-column>
+          <el-table-column label="事项名称" align="center" prop="matterName"/>
+          <el-table-column label="联系人" align="center" prop="contacts" width="100"/>
+          <el-table-column label="联系电话" align="center" prop="phone" width="120"/>
+          <el-table-column label="打印人" align="center" prop="userName">
+            <template slot-scope="scope">
+              <span v-if="scope.row.userName">{{ scope.row.userName }}({{ scope.row.deptName }})</span>
+            </template>
+          </el-table-column>
+          <el-table-column label="打印时间" align="center" prop="printTime" width="160">
+          </el-table-column>
+          <el-table-column label="操作" align="center" width="160" class-name="small-padding fixed-width">
+            <template slot-scope="scope" v-if="scope.row.userId !== 1">
+              <el-button size="mini" type="text" icon="el-icon-document" @click="handleDealDetail(scope.row)">详情
+              </el-button>
+            </template>
+          </el-table-column>
+        </el-table>
+
+        <pagination v-show="total2 > 0" :total="total2" :page.sync="queryParams.pageNum"
+                    :limit.sync="queryParams.pageSize" @pagination="getDeal2List"/>
+      </el-tab-pane>
+      <el-tab-pane label="不予受理通知书" style="height: calc(-180px + 100vh); overflow: auto;" name="fourth">
+        <el-table :data="dealRecord3List">
+          <el-table-column label="受理编号" align="center" prop="serialNumber"/>
+          <el-table-column label="业务类型" align="center" prop="withType">
+            <template slot-scope="scope">
+              <span v-if="scope.row.withType === 1">个人</span>
+              <span v-if="scope.row.withType === 2">企业</span>
+            </template>
+          </el-table-column>
+          <el-table-column label="事项名称" align="center" prop="matterName"/>
+          <el-table-column label="联系人" align="center" prop="contacts" width="100"/>
+          <el-table-column label="联系电话" align="center" prop="phone" width="120"/>
+          <el-table-column label="打印人" align="center" prop="userName">
+            <template slot-scope="scope">
+              <span v-if="scope.row.userName">{{ scope.row.userName }}({{ scope.row.deptName }})</span>
+            </template>
+          </el-table-column>
+          <el-table-column label="打印时间" align="center" prop="printTime" width="160">
+          </el-table-column>
+          <el-table-column label="操作" align="center" width="160" class-name="small-padding fixed-width">
+            <template slot-scope="scope" v-if="scope.row.userId !== 1">
+              <el-button size="mini" type="text" icon="el-icon-document" @click="handleDealDetail(scope.row)">详情
+              </el-button>
+            </template>
+          </el-table-column>
+        </el-table>
+
+        <pagination v-show="total3 > 0" :total="total3" :page.sync="queryParams.pageNum"
+                    :limit.sync="queryParams.pageSize" @pagination="getDeal3List"/>
+      </el-tab-pane>
     </el-tabs>
 
     <el-dialog title="受理单详情" :visible.sync="dealDetailDialog" :close-on-click-modal="false" width="60%"
                destroy-on-close append-to-body>
-      <el-button type="primary" size="small" icon="el-icon-printer" v-print="printObj" style="margin-left: 85%;margin-bottom: 10px;">打印</el-button>
+      <el-button type="primary" size="small" icon="el-icon-printer" v-print="printObj"
+                 style="margin-left: 85%;margin-bottom: 10px;">打印
+      </el-button>
       <el-row style="height: 70vh; overflow: auto;">
-        <el-descriptions v-if="currDealRecord" id="print_deal_detail" class="margin-top" style="width: 100%; overflow: auto;" :column="3"
+        <el-descriptions v-if="currDealRecord" id="print_deal_detail" class="margin-top"
+                         style="width: 100%; overflow: auto;" :column="3"
                          border :key="detailKey">
           <el-descriptions-item :span="3" label-style="width:110px;">
             <template slot="label">
@@ -156,7 +246,13 @@
 </template>
 
 <script>
-import {addPrintLog, getManualVerifyByIds, listDealRecord, updateDealRecordStatus} from "@/api/matter/record";
+import {
+  addPrintLog,
+  getManualVerifyByIds,
+  listDealRecord,
+  listPrintLogList,
+  updateDealRecordStatus
+} from "@/api/matter/record";
 
 export default {
   name: "DealRecord",
@@ -178,8 +274,14 @@ export default {
       },
       // 总条数
       total: 0,
+      total1: 0,
+      total2: 0,
+      total3: 0,
       // 受理记录数据
       dealRecordList: [],
+      dealRecord1List: [],
+      dealRecord2List: [],
+      dealRecord3List: [],
       currDealRecord: null,
       detailKey: 0,
       printObj: {
@@ -199,8 +301,19 @@ export default {
   watch: {},
   created() {
     this.getList();
+    this.getDeal1List();
+    this.getDeal2List();
+    this.getDeal3List();
   },
   methods: {
+    handleTabClick(tab, event) {
+      this.queryParams = {
+        pageNum: 1,
+        pageSize: 10,
+        serialNumber: undefined,
+        withStatus: 0
+      }
+    },
     /** 查询物料流转数据 */
     getList() {
       this.loading = true;
@@ -210,6 +323,33 @@ export default {
         this.loading = false;
       });
     },
+    getDeal1List() {
+      let params = JSON.parse(JSON.stringify(this.queryParams))
+      params.printType = 1
+      listPrintLogList(params).then(response => {
+        this.dealRecord1List = response.rows;
+        this.total1 = response.total;
+      });
+    },
+    getDeal2List() {
+      let params = JSON.parse(JSON.stringify(this.queryParams))
+      params.printType = 2
+      listPrintLogList(params).then(response => {
+        this.dealRecord2List = response.rows;
+        this.total2 = response.total;
+      });
+    },
+    getDeal3List() {
+      let params = JSON.parse(JSON.stringify(this.queryParams))
+      params.printType = 3
+      listPrintLogList(params).then(response => {
+        this.dealRecord3List = response.rows;
+        this.total3 = response.total;
+      });
+    },
+    handleDealDetail(row) {
+
+    },
     /** 搜索按钮操作 */
     handleQuery() {
       this.queryParams.pageNum = 1;
@@ -244,13 +384,13 @@ export default {
             })
             this.$nextTick(() => {
               this.currDealRecord.materialList = obj
-              this.detailKey ++
+              this.detailKey++
             })
           });
         } else {
           this.$nextTick(() => {
             this.currDealRecord.materialList = obj
-            this.detailKey ++
+            this.detailKey++
           })
         }
       }
@@ -267,6 +407,7 @@ export default {
       data.contacts = this.currDealRecord.contacts
       data.phone = this.currDealRecord.phone
       data.idCard = this.currDealRecord.idCard
+      data.serialNumber = this.currDealRecord.serialNumber
       addPrintLog(data).then((response) => {
       });
     },

+ 139 - 34
nasc-ui/src/views/matter/index/index.vue

@@ -133,16 +133,21 @@
               </el-row>
             </el-row>
           </el-row>
-          <el-row id="print_ycxgzd" style="height: 100%; padding: 10px;">
+          <el-row id="print_ycxgzd" style="height: auto; padding: 10px;">
             <el-row style="overflow: auto; height: calc(100% - 120px);">
               <div class="matter-material" style="background-color: #fff;" v-html="currMatterPrintInfo"></div>
             </el-row>
           </el-row>
-          <el-row id="print_ycxgzd_fail" style="height: 100%; padding: 10px;">
+          <el-row id="print_ycxgzd_fail" style="height: auto; padding: 10px;">
             <el-row style="overflow: auto; height: calc(100% - 120px);">
               <div class="matter-material" style="background-color: #fff;" v-html="currMatterFailPrintInfo"></div>
             </el-row>
           </el-row>
+          <el-row id="print_ycxgzd_deny" style="height: auto; padding: 10px;">
+            <el-row style="overflow: auto; height: calc(100% - 120px);">
+              <div class="matter-material" style="background-color: #fff;" v-html="currMatterDenyPrintInfo"></div>
+            </el-row>
+          </el-row>
         </template>
       </el-col>
     </el-row>
@@ -230,9 +235,10 @@
       <div slot="footer" class="dialog-footer">
         <el-button type="success" @click="handlePrintDealWith('print_suc')">受理通知单</el-button>
         <el-button type="info" @click="handlePrintDealWith('print_fail')">补正材料告知书</el-button>
-        <el-button type="danger" @click="handlePrintDealWith('print_fail')">不予受理通知书</el-button>
+        <el-button type="danger" @click="handlePrintDealWith('print_deny')">不予受理通知书</el-button>
         <el-button id="print_suc" type="success" v-print="printSuccessObj" style="display: none;">受理通知单</el-button>
         <el-button id="print_fail" type="info" v-print="printFailObj" style="display: none;">补正材料告知书</el-button>
+        <el-button id="print_deny" type="info" v-print="printDenyObj" style="display: none;">不予受理通知书</el-button>
         <el-button type="warning" @click="handleBtnSaveDealWith(1)">物料流转</el-button>
         <el-button type="primary" @click="handleBtnSaveDealWith(0)">保存</el-button>
         <el-button @click="handleCancelDealWith">取消</el-button>
@@ -358,6 +364,7 @@ import {
   getSerialNumber,
   listDealRecord
 } from "@/api/matter/record";
+import Cookies from "js-cookie";
 
 export default {
   name: "Index",
@@ -418,10 +425,12 @@ export default {
       currMatter: undefined,
       // 当前选中的审查事项的问题情况
       currMatterQuestion: {},
-      // 当前选中的审查事项的一次性告知单打印模板
+      // 当前选中的审查事项的一次性告知单打印模板(受理通知单)
       currMatterPrintInfo: {},
-      // 当前选中的审查事项的一次性告知单打印模板(失败
+      // 当前选中的审查事项的一次性告知单打印模板(补正材料告知书
       currMatterFailPrintInfo: {},
+      // 当前选中的审查事项的一次性告知单打印模板(不予受理通知书)
+      currMatterDenyPrintInfo: {},
       // 当前选中的审查事项问题选项情况
       currMaterial: {},
       // 材料清单对应的材料介绍
@@ -470,6 +479,16 @@ export default {
         closeCallback(vue) {
         }
       },
+      printDenyObj: {
+        id: "print_ycxgzd_deny",
+        popTitle: "不予受理通知书",
+        extraHead: '<meta http-equiv="Content-Language"content="zh-cn"/>',
+        openCallback(vue) {
+          vue.savePrintLog('print_ycxgzd_deny', 3)
+        },
+        closeCallback(vue) {
+        }
+      },
       dealWithKey: 0,
       dealWithForm: {
         serialNumber: '',
@@ -609,42 +628,97 @@ export default {
     changeView(flag) {
       this.showMatterView = flag
     },
-    /** 一次性告知单模板
+    commDrawLayoutPrint(content) {
+      let nTime = new Date();
+      let nYear = nTime.getFullYear();
+      let nMonth = nTime.getMonth() + 1;
+      let nDay = nTime.getDate();
+      content = content.replace(/{\$year}/g, nYear)
+      content = content.replace(/{\$month}/g, nMonth < 10 ? ('0' + nMonth) : nMonth)
+      content = content.replace(/{\$day}/g, nDay < 10 ? ('0' + nDay) : nDay)
+      content = content.replace(/{\$matter}/g, this.currMatter.itemName)
+      const username = Cookies.get("username");
+      content = content.replace(/{\$dealWithUser}/g, username)
+      content = content.replace(/{\$approveUser}/g, this.dealWithForm.contacts)
+      content = content.replace(/{\$serialNumber}/g, this.dealWithForm.serialNumber)
+      return content
+    },
+    /** 受理通知单
      * {$year}:当前年
      * {$month}:当前月
      * {$day}:当前日
      * {$matter}:事项名称
-     * {$material}:材料清单
+     * {$materialNum}:材料数量
+     * {$dealWithUser}:受理人
+     * {$approveUser}:申请人
+     * {$serialNumber}:受理编号
      */
-    dealWithPrintInfo() {
+    dealWithPrintInfo(num) {
       let printObj = this.currMatter.print ? this.currMatter.print : {}
       let pintContent = printObj.content ? printObj.content : ''
-      let nTime = new Date();
-      let nYear = nTime.getFullYear();
-      let nMonth = nTime.getMonth() + 1;
-      let nDay = nTime.getDate();
-      pintContent = pintContent.replace(/{\$year}/g, nYear)
-      pintContent = pintContent.replace(/{\$month}/g, nMonth < 10 ? ('0' + nMonth) : nMonth)
-      pintContent = pintContent.replace(/{\$day}/g, nDay < 10 ? ('0' + nDay) : nDay)
-      pintContent = pintContent.replace(/{\$matter}/g, this.currMatter.itemName)
+      pintContent = pintContent.replace(/{\$materialNum}/g, num)
+      pintContent = this.commDrawLayoutPrint(pintContent)
+      this.currMatterPrintInfo = pintContent
+    },
+    /** 补正材料告知书
+     * {$year}:当前年
+     * {$month}:当前月
+     * {$day}:当前日
+     * {$matter}:事项名称
+     * {$materialNum}:提交材料数量
+     * {$materials}:缺失材料信息
+     * {$dealWithUser}:受理人
+     * {$approveUser}:申请人
+     * {$serialNumber}:不予受理编号
+     */
+    dealWithMissPrintInfo() {
+      let printObj = this.currMatter.print ? this.currMatter.print : {}
+      let pintContent = printObj.missContent ? printObj.missContent : ''
       let materialList = this.dealWithForm.materials
-      let yy = '', qs = ''
-      let nodata = '<li style="padding: 5px;">无</li>'
-      materialList.forEach(item => {
-        if (item.reasonFlag) {
-          yy += '<li style="padding: 5px;">' + item.listName + '</li>'
+      let html = '<div>'
+      let num = 0, mindex = 0
+      if (materialList && materialList.length > 0) {
+        let miss = ''
+        materialList.forEach((item, index) => {
+          if (!item.reasonFlag) {
+            num ++
+            mindex ++
+            miss += '<p style="padding: 5px;">' + (mindex) + '. ' + item.listName + (item.reason ? (',【理由】:' + item.reason) : '') + '(□ 材料不齐全&nbsp;&nbsp;&nbsp;&nbsp;□不符合法定形式 )</p>'
+          }
+        })
+        if (miss) {
+          html += miss
         } else {
-          qs += '<li style="padding: 5px;">' + item.listName + ',【理由】:' + (item.reason ? item.reason : '') + '</li>'
+          html += '<p style="padding: 5px;">无</p>'
         }
-      })
-      if (!yy) yy = nodata
-      if (!qs) qs = nodata
-      let html = '<br><h3>已有材料:</h3>'
-      html += '<ul>' + yy + '</ul><hr>'
-      html += '<br><h3>缺失材料:</h3>'
-      html += '<ul>' + qs + '</ul>'
-      pintContent = pintContent.replace(/{\$material}/g, html)
-      this.currMatterPrintInfo = pintContent
+      } else {
+        html += '<p style="padding: 5px;">无</p>'
+      }
+      html += '</div>'
+      pintContent = pintContent.replace(/{\$materials}/g, html)
+      pintContent = pintContent.replace(/{\$materialNum}/g, materialList.length - num)
+      pintContent = this.commDrawLayoutPrint(pintContent)
+      this.currMatterFailPrintInfo = pintContent
+    },
+    /** 不予受理通知书
+     * {$year}:当前年
+     * {$month}:当前月
+     * {$day}:当前日
+     * {$matter}:事项名称
+     * {$materialNum}:材料数量
+     * {$dealWithUser}:受理人
+     * {$approveUser}:申请人
+     * {$serialNumber}:不予受理编号
+     * {$reason}:不予受理理由
+     */
+    dealWithDenyPrintInfo(reason) {
+      let printObj = this.currMatter.print ? this.currMatter.print : {}
+      let pintContent = printObj.denyContent ? printObj.denyContent : ''
+      let materialList = this.dealWithForm.materials
+      pintContent = pintContent.replace(/{\$materialNum}/g, materialList.length)
+      pintContent = pintContent.replace(/{\$reason}/g, reason)
+      pintContent = this.commDrawLayoutPrint(pintContent)
+      this.currMatterDenyPrintInfo = pintContent
     },
     /** 问题选项单击事件 **/
     handleOptionClick(data, evt) {
@@ -813,7 +887,6 @@ export default {
         (this.currMaterial.materialList.length == 1 && this.currMaterial.materialList[0].listName !== '无')) {
         this.dealWithForm.materials = JSON.parse(JSON.stringify(this.currMaterial.materialList))
       }
-      this.dealWithPrintInfo()
       getSerialNumber().then(response => {
         if (response.msg == "success") {
           this.dealWithForm.serialNumber = response.data
@@ -857,7 +930,40 @@ export default {
     handlePrintDealWith(elm) {
       this.$refs['dealWithForm'].validate((valid) => {
         if (valid) {
-          document.getElementById(elm).click()
+          if (elm == 'print_suc') {
+            let materialList = this.dealWithForm.materials
+            let objs = materialList.filter(obj => obj.reasonFlag)
+            if (materialList.length > 0 && objs.length == 0) {
+              this.$modal.msgError("请选择相关材料")
+              return
+            }
+            this.dealWithPrintInfo(objs.length)
+            document.getElementById(elm).click()
+          }
+          if (elm == 'print_fail') {
+            let materialList = this.dealWithForm.materials
+            let objs = materialList.filter(obj => !obj.reasonFlag)
+            if (materialList.length == 0 || objs.length == 0) {
+              this.$modal.msgError("当前没有缺失材料")
+              return
+            }
+            this.dealWithMissPrintInfo()
+            document.getElementById(elm).click()
+          }
+          if (elm == 'print_deny') {
+            this.$prompt('请输入不予受理的理由和依据', '温馨提示', {
+              confirmButtonText: '确定',
+              cancelButtonText: '取消',
+            }).then(({ value }) => {
+              if (!value || !value.trim()) {
+                this.$modal.msgError("理由和依据不能为空")
+                return
+              }
+              this.dealWithDenyPrintInfo(value)
+              document.getElementById(elm).click()
+            }).catch(() => {
+            })
+          }
         } else {
           return false;
         }
@@ -958,7 +1064,6 @@ export default {
           }
         })
       })
-      this.dealWithPrintInfo()
     },
     /** 新增打印日志 **/
     savePrintLog(elm, type) {

+ 53 - 4
nasc-ui/src/views/matter/item/index.vue

@@ -224,16 +224,57 @@
         </el-row>
         <el-row>
           <el-col :span="24">
-            <label class="el-form-item__label" style="width: 80px; line-height: 16px;">受理通知单模板</label>
+            <label class="el-form-item__label" style="width: 80px; line-height: 16px;">受理通知单</label>
             <editor v-model="formData.printContent" :min-height="152" style="margin-left: 80px;" />
           </el-col>
           <el-col>
-            <div style="color: #8f8f8f; font-size: 12px; margin-left: 80px; margin-top: 8px;">表达式:
+            <div style="color: #8f8f8f; font-size: 12px; margin-left: 80px; margin-top: 8px; margin-bottom: 20px;">表达式:
               <span>① {$year}:当前年;&nbsp;&nbsp;&nbsp;&nbsp;</span>
               <span>② {$month}:当前月;&nbsp;&nbsp;&nbsp;&nbsp;</span>
               <span>③ {$day}:当前日;&nbsp;&nbsp;&nbsp;&nbsp;</span>
               <span>④ {$matter}:事项名称;&nbsp;&nbsp;&nbsp;&nbsp;</span>
-              <span>⑤ {$material}:材料清单;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑤ {$materialNum}:材料数量;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑥ {$dealWithUser}:受理人;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑦ {$approveUser}:申请人;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑧ {$serialNumber}:受理编号;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+            </div>
+          </el-col>
+        </el-row>
+        <el-row>
+          <el-col :span="24">
+            <label class="el-form-item__label" style="width: 80px; line-height: 16px;">补正材料告知书</label>
+            <editor v-model="formData.printMissContent" :min-height="152" style="margin-left: 80px;" />
+          </el-col>
+          <el-col>
+            <div style="color: #8f8f8f; font-size: 12px; margin-left: 80px; margin-top: 8px; margin-bottom: 20px;">表达式:
+              <span>① {$year}:当前年;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>② {$month}:当前月;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>③ {$day}:当前日;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>④ {$matter}:事项名称;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑤ {$materialNum}:提交材料数量;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑥ {$materials}:缺失材料信息;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑦ {$dealWithUser}:受理人;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑧ {$approveUser}:申请人;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑨ {$serialNumber}:不予受理编号;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+            </div>
+          </el-col>
+        </el-row>
+        <el-row>
+          <el-col :span="24">
+            <label class="el-form-item__label" style="width: 80px; line-height: 16px;">不予受理通知书</label>
+            <editor v-model="formData.printDenyContent" :min-height="152" style="margin-left: 80px;" />
+          </el-col>
+          <el-col>
+            <div style="color: #8f8f8f; font-size: 12px; margin-left: 80px; margin-top: 8px; margin-bottom: 20px;">表达式:
+              <span>① {$year}:当前年;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>② {$month}:当前月;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>③ {$day}:当前日;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>④ {$matter}:事项名称;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑤ {$materialNum}:提交材料数量;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑥ {$dealWithUser}:受理人;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑦ {$approveUser}:申请人;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑧ {$serialNumber}:不予受理编号;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+              <span>⑨ {$reason}:不予受理理由;&nbsp;&nbsp;&nbsp;&nbsp;</span>
             </div>
           </el-col>
         </el-row>
@@ -1012,6 +1053,8 @@
             dealWith: data.material ? data.material.dealWith : "",
             materialList: material,
             printContent: data.print ? data.print.content : "",
+            printMissContent: data.print ? data.print.missContent : "",
+            printDenyContent: data.print ? data.print.denyContent : "",
             printid: data.print ? data.print.id : ""
           }
           this.open = true;
@@ -1267,6 +1310,8 @@
                 print: {
                   id: data.printid,
                   content: data.printContent,
+                  missContent: data.printMissContent,
+                  denyContent: data.printDenyContent
                 }
               };
             } else {
@@ -1300,6 +1345,8 @@
                 print: {
                   id: data.printid,
                   content: data.printContent,
+                  missContent: data.printMissContent,
+                  denyContent: data.printDenyContent
                 }
               };
               for (var i = 0; i < materialList.length; i++) {
@@ -1385,7 +1432,9 @@
           dealWith: '',
           material: '',
           desc: '',
-          printContent: ''
+          printContent: '',
+          printMissContent: '',
+          printDenyContent: ''
         }
         this.materialList = [{
           customError: "",

+ 93 - 0
sql/p_bysltzs.html

@@ -0,0 +1,93 @@
+<div>
+    <style>
+        p{margin-block-start:10px;margin-block-end:10px;}
+    </style>
+    <p class="ql-align-right" style=" text-align: right;">
+        <strong>
+            不予受理编号:
+        </strong>
+        {$serialNumber}
+    </p>
+    <p class="ql-align-center" style=" font-size: 26px;">
+        <strong>
+            不予受理通知书(存根联)
+        </strong>
+    </p>
+    <p>
+        <u>{$approveUser}</u>&nbsp;单位(同志):
+    </p>
+    <p style=" text-indent: 2em; line-height: 25px;">
+        本窗口收到贵单位(个人)申请办理&nbsp;<u>{$matter}</u>&nbsp;事项所提交的申请材料&nbsp;<u>{$materialNum}</u>&nbsp;项。依法进行初审后,不予受理贵单位(个人)申请事项。不予受理的理由和依据如下:
+    </p>
+    <p style=" text-indent: 2em; line-height: 25px;">
+        {$reason}
+    </p>
+    <p style=" text-indent: 2em;">
+        特此告知!
+    </p>
+    <p>
+        &nbsp;
+    </p>
+    <div style=" display: flex; justify-content: space-between; flex-direction: row; flex-wrap: nowrap; align-content: center;">
+        <p>
+            申请人(签字):
+        </p>
+        <p>
+            联系方式:
+        </p>
+        <p>
+            签字日期:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日
+        </p>
+    </div>
+    <p class="ql-align-right" style=" text-align: right;">
+        受理机构(专用章)
+    </p>
+    <p class="ql-align-right" style=" text-align: right;">
+        {$year}&nbsp;年&nbsp;{$month}&nbsp;月&nbsp;{$day}&nbsp;日
+    </p>
+    <div style=" border-bottom: 1px dashed; margin: 50px 0;">
+    </div>
+    <p class="ql-align-right" style=" text-align: right;">
+        <strong>
+            不予受理编号:
+        </strong>
+        {$serialNumber}
+    </p>
+    <p class="ql-align-center" style=" font-size: 26px;">
+        <strong>
+            不予受理通知书(回执联)
+        </strong>
+    </p>
+    <p>
+        <u>{$approveUser}</u>&nbsp;单位(同志):
+    </p>
+    <p style=" text-indent: 2em; line-height: 25px;">
+        本窗口收到您单位(个人)申请办理&nbsp;<u>{$matter}</u>&nbsp;事项所提交的申请材料&nbsp;<u>{$materialNum}</u>&nbsp;项。依法进行初审后,不予受理您单位(个人)申请事项。不予受理的理由和依据如下:
+    </p>
+    <p style=" text-indent: 2em; line-height: 25px;">
+        {$reason}
+    </p>
+    <p style=" text-indent: 2em;">
+        特此告知!
+    </p>
+    <p>
+        &nbsp;
+    </p>
+    <div style=" display: flex; justify-content: space-between; flex-direction: row; flex-wrap: nowrap;">
+        <p>
+            受理人:{$dealWithUser}
+        </p>
+        <p>
+            联系电话:023-00000000
+        </p>
+        <p>
+            监督投诉电话:023-00000000
+        </p>
+    </div>
+    <p class="ql-align-right" style=" text-align: right;">
+        受理机构(专用章)
+    </p>
+    <p class="ql-align-center" style=" text-align: right;">
+        {$year}&nbsp;年&nbsp;{$month}&nbsp;月&nbsp;{$day}&nbsp;日
+    </p>
+</div>

+ 0 - 41
sql/p_bysltzs.txt

@@ -1,41 +0,0 @@
-<div><style>p{margin-block-start:10px;margin-block-end:10px;}</style><p class="ql-align-right" style="
-    text-align: right;
-"><strong>不予受理编号:</strong>×××××× &nbsp;&nbsp;</p><p class="ql-align-center" style="
-    font-size: 26px;
-"><strong>不予受理通知书(存根联)</strong></p><p>	××××××单位(同志):</p><p style="
-    text-indent: 2em;
-">	本窗口收到贵单位(个人)申请办理××××××事项(事项编号:××××××)所提交的申请材料××项。依法进行初审后,不予受理贵单位(个人)申请事项。不予受理的理由和依据如下:</p><p>	&nbsp;</p><p style="
-    text-indent: 2em;
-">	特此告知!</p><p>	&nbsp;</p><div style="
-    display: flex;
-    justify-content: space-between;
-    flex-direction: row;
-    flex-wrap: nowrap;
-    align-content: center;
-"><p>申请人(签字): </p><p>联系方式:</p><p>签字日期:××××年××月××日</p></div><p>	&nbsp;</p><p class="ql-align-right" style="
-    text-align: right;
-">	受理机构(专用章)</p><p class="ql-align-right" style="
-    text-align: right;
-    margin-right: 20px;
-">	××××年××月××日</p><div style="
-    border-bottom: 1px dashed;
-    margin: 50px 0;
-"></div><p class="ql-align-right" style="
-    text-align: right;
-"><strong>不予受理编号:</strong>×××××× &nbsp;&nbsp;&nbsp;</p><p class="ql-align-center" style="
-    font-size: 26px;
-"><strong>不予受理通知书(回执联)</strong></p><p>	××××××单位(同志)::</p><p style="
-    text-indent: 2em;
-">	本窗口收到您单位(个人)申请办理××××××事项(事项编号:××××××)所提交的申请材料××项。依法进行初审后,不予受理您单位(个人)申请事项。不予受理的理由和依据如下:</p><p>	&nbsp;</p><p style="
-    text-indent: 2em;
-">	特此告知!</p><p>	&nbsp;</p><div style="
-    display: flex;
-    justify-content: space-between;
-    flex-direction: row;
-    flex-wrap: nowrap;
-"><p>受理人:×××</p><p>联系电话:023-00000000</p><p>监督投诉电话:023-00000000</p></div><p>&nbsp;</p><p class="ql-align-right" style="
-    text-align: right;
-">	受理机构(专用章)</p><p class="ql-align-center" style="
-    text-align: right;
-    margin-right: 20px;
-">××××年××月××日</p></div>

+ 93 - 0
sql/p_bzclgzs.html

@@ -0,0 +1,93 @@
+<div>
+    <style>
+        p{margin-block-start:10px;margin-block-end:10px;}
+    </style>
+    <p class="ql-align-right" style=" text-align: right;">
+        <strong>
+            No:
+        </strong>
+        {$serialNumber}
+    </p>
+    <p class="ql-align-center" style=" font-size: 26px;">
+        <strong>
+            补正材料一次性告知书(存根联)
+        </strong>
+    </p>
+    <p>
+        <u>{$approveUser}</u>&nbsp;单位(同志):
+    </p>
+    <p style=" text-indent: 2em; line-height: 25px;">
+        本窗口收到您单位(个人)申请办理&nbsp;<u>{$matter}</u>&nbsp;事项所提交的申请材料&nbsp;<u>{$materialNum}</u>&nbsp;项。依法进行初审后,因您所送的材料不齐全(或不符合法定形式),暂时不能受理。请您将下述材料尽快补正后再次来本窗口办理。
+    </p>
+    <p style=" text-indent: 2em;">
+        需补交或更正的材料如下:
+    </p>
+    <div style=" text-indent: 2em; line-height: 25px;">
+        {$materials}
+    </div>
+    <p style=" text-indent: 2em;">
+        特此告知!
+    </p>
+    <div style=" display: flex; justify-content: space-between; flex-direction: row; flex-wrap: nowrap; align-content: center;">
+        <p>
+            申请人(签字):
+        </p>
+        <p>
+            联系方式:
+        </p>
+        <p>
+            签字日期:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日
+        </p>
+    </div>
+    <p class="ql-align-right" style=" text-align: right;">
+        受理机构(专用章)
+    </p>
+    <p class="ql-align-right" style=" text-align: right;">
+        {$year}&nbsp;年&nbsp;{$month}&nbsp;月&nbsp;{$day}&nbsp;日
+    </p>
+    <div style=" border-bottom: 1px dashed; margin: 50px 0;">
+    </div>
+    <p class="ql-align-right" style=" text-align: right;">
+        <strong>
+            No:
+        </strong>
+        {$serialNumber}
+    </p>
+    <p class="ql-align-center" style=" font-size: 26px;">
+        <strong>
+            补正材料一次性告知书(回执联)&nbsp;
+        </strong>
+    </p>
+    <p>
+        <u>{$approveUser}</u>&nbsp;单位(同志):
+    </p>
+    <p style=" text-indent: 2em; line-height: 25px;">
+        本窗口收到您单位(个人)申请办理&nbsp;<u>{$matter}</u>&nbsp;事项所提交的申请材料&nbsp;<u>{$materialNum}</u>&nbsp;项。依法进行初审后,因您所送的材料不齐全(或不符合法定形式),暂时不能受理。请您将下述材料尽快补正后再次来本窗口办理。
+    </p>
+    <p style=" text-indent: 2em;">
+        需补交或更正的材料如下:
+    </p>
+    <div style=" text-indent: 2em; line-height: 25px;">
+        {$materials}
+    </div>
+    <p style=" text-indent: 2em;">
+        特此告知!
+    </p>
+    <div style=" display: flex; justify-content: space-between; flex-direction: row; flex-wrap: nowrap;">
+        <p>
+            受理人:{$dealWithUser}
+        </p>
+        <p>
+            联系电话:023-00000000
+        </p>
+        <p>
+            监督投诉电话:023-00000000
+        </p>
+    </div>
+    <p class="ql-align-right" style=" text-align: right;">
+        受理机构(专用章)
+    </p>
+    <p class="ql-align-center" style=" text-align: right;">
+        {$year}&nbsp;年&nbsp;{$month}&nbsp;月&nbsp;{$day}&nbsp;日
+    </p>
+</div>

+ 0 - 49
sql/p_bzclgzs.txt

@@ -1,49 +0,0 @@
-<div><style>p{margin-block-start:10px;margin-block-end:10px;}</style><p class="ql-align-right" style="
-    text-align: right;
-"><strong>No</strong>:×××××× &nbsp;&nbsp;&nbsp;</p><p class="ql-align-center" style="
-    font-size: 26px;
-"><strong>补正材料一次性告知书(存根联)</strong></p><p>××××××单位(同志):</p><p style="
-    text-indent: 2em;
-">本窗口收到您单位(个人)申请办理××××××事项(事项编号:××××××)所提交的申请材料××项。依法进行初审后,因您所送的材料不齐全(或不符合法定形式),暂时不能受理。请您将下述材料尽快补正后再次来本窗口办理。</p><p style="
-    text-indent: 2em;
-">	需补交或更正的材料如下:</p><div style="
-    text-indent: 2em;
-"><p>	1.××××××(□ 材料不齐全 &nbsp;&nbsp;□不符合法定形式 )</p><p>	2.××××××(□ 材料不齐全 &nbsp;&nbsp;□不符合法定形式 )</p></div><p style="
-    text-indent: 2em;
-">	特此告知!</p><div style="
-    display: flex;
-    justify-content: space-between;
-    flex-direction: row;
-    flex-wrap: nowrap;
-    align-content: center;
-"><p>申请人(签字): </p><p>联系方式:</p><p>签字日期:××××年××月××日</p></div><p class="ql-align-right" style="
-    text-align: right;
-">	受理机构(专用章)</p><p class="ql-align-right" style="
-    text-align: right;
-    margin-right: 20px;
-">	××××年××月××日</p><div style="
-    border-bottom: 1px dashed;
-    margin: 50px 0;
-"></div><p class="ql-align-right" style="
-    text-align: right;
-"><strong>No</strong>:×××××× &nbsp;&nbsp;</p><p class="ql-align-center" style="
-    font-size: 26px;
-"><strong>补正材料一次性告知书(回执联)&nbsp;</strong></p><p>	××××××单位(同志):</p><p style="
-    text-indent: 2em;
-">	本窗口收到您单位(个人)申请办理××××××事项(事项编号:××××××)所提交的申请材料××项。依法进行初审后,因您所送的材料不齐全(或不符合法定形式),暂时不能受理。请您将下述材料尽快补正后再次来本窗口办理。</p><p style="
-    text-indent: 2em;
-">	需补交或更正的材料如下:</p><div style="
-    text-indent: 2em;
-"><p>	1.××××××(□ 材料不齐全 &nbsp;&nbsp;□不符合法定形式 )</p><p>	2.××××××(□ 材料不齐全 &nbsp;&nbsp;□不符合法定形式 )</p></div><p style="
-    text-indent: 2em;
-">	特此告知!</p><div style="
-    display: flex;
-    justify-content: space-between;
-    flex-direction: row;
-    flex-wrap: nowrap;
-"><p>联系人:×××</p><p>联系电话:023-00000000</p><p>监督投诉电话:023-00000000</p></div><p class="ql-align-right" style="
-    text-align: right;
-">	受理机构(专用章)</p><p class="ql-align-center" style="
-    text-align: right;
-    margin-right: 20px;
-">××××年××月××日</p></div>

+ 109 - 0
sql/p_sltzd.html

@@ -0,0 +1,109 @@
+<div>
+    <style>
+        p{margin-block-start:10px;margin-block-end:10px;}
+    </style>
+    <p class="ql-align-right" style=" text-align: right;">
+        <strong>
+            受理编号:
+        </strong>
+        {$serialNumber}
+    </p>
+    <p class="ql-align-center" style=" font-size: 26px;">
+        <strong>
+            受理通知单(存根联)
+        </strong>
+    </p>
+    <p>
+        <u>{$approveUser}</u>&nbsp;单位(同志):
+    </p>
+    <p style=" text-indent: 2em; line-height: 25px;">
+        本窗口收到您单位(个人)申请办理&nbsp;<u>{$matter}</u>&nbsp;事项所提交的申请材料&nbsp;<u>{$materialNum}</u>&nbsp;项。经审查,申请资料齐全、符合法定形式,现予受理。我窗口将在
+        <u>
+            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+        </u>
+        个工作日内予以办结。其中,该事项受理后依法需要的以下程序:□听证、□招标、□拍卖、□检验、□检测、□检疫、□测绘、□鉴定、□专家评审(可根据实际情况选择),不计入法定时限之内。
+    </p>
+    <p style=" text-indent: 2em;">
+        特此告知!
+    </p>
+    <div style=" display: flex; justify-content: space-between; flex-direction: row; flex-wrap: nowrap; align-content: center;">
+        <p>
+            申请人(签字):
+        </p>
+        <p>
+            联系方式:
+        </p>
+        <p>
+            签字日期:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;日
+        </p>
+    </div>
+    <p class="ql-align-right" style=" text-align: right;">
+        受理机构(专用章)
+    </p>
+    <p class="ql-align-right" style=" text-align: right;">
+        {$year}&nbsp;年&nbsp;{$month}&nbsp;月&nbsp;{$day}&nbsp;日
+    </p>
+    <div style=" border-bottom: 1px dashed; margin: 50px 0;">
+    </div>
+    <p class="ql-align-right" style=" text-align: right;">
+        <strong>
+            受理编号:
+        </strong>
+        {$serialNumber}
+    </p>
+    <p class="ql-align-center" style=" font-size: 26px;">
+        <strong>
+            受理通知单(回执联)
+        </strong>
+    </p>
+    <p>
+        <u>{$approveUser}</u>&nbsp;单位(同志):
+    </p>
+    <p style=" text-indent: 2em; line-height: 25px;">
+        本窗口收到您单位(个人)申请办理&nbsp;<u>{$matter}</u>&nbsp;事项所提交的申请材料&nbsp;<u>{$materialNum}</u>&nbsp;项。经审查,申请资料齐全、符合法定形式,现予受理。我窗口将在
+        <u>
+            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+        </u>
+        个工作日内予以办结。其中,该事项受理后依法需要的以下程序:□听证、□招标、□拍卖、□检验、□检测、□检疫、□测绘、□鉴定、□专家评审(可根据实际情况选择),不计入法定时限之内。
+    </p>
+    <p style=" text-indent: 2em;">
+        特此告知!
+    </p>
+    <div style=" display: flex; justify-content: space-between; flex-direction: row; flex-wrap: nowrap;">
+        <p>
+            受理人:{$dealWithUser}
+        </p>
+        <p>
+            联系电话:023-00000000
+        </p>
+        <p>
+            监督投诉电话:023-00000000
+        </p>
+    </div>
+    <p style=" text-indent: 2em;">
+        <strong>
+            友情提醒:
+        </strong>
+    </p>
+    <p style=" text-indent: 2em;">
+        <span class="ql-size-huge">
+        </span>
+        本受理单仅作为行政相对人申请受理证明,与审批结果无相关性。
+    </p>
+    <p style=" text-indent: 2em;">
+        结果送达方式:□ 窗口领取,领取窗口编号:
+        <u>
+            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+        </u>
+        &nbsp;&nbsp;□ 邮寄
+    </p>
+    <p style=" text-indent: 2em;">
+        办理进度(结果)查询方式,见《{$matter}事项服务指南》
+    </p>
+    <p class="ql-align-right" style=" text-align: right;">
+        受理机构(专用章)
+    </p>
+    <p class="ql-align-right" style=" text-align: right;">
+        {$year}&nbsp;年&nbsp;{$month}&nbsp;月&nbsp;{$day}&nbsp;日
+    </p>
+</div>

+ 0 - 50
sql/p_sltzd.txt

@@ -1,50 +0,0 @@
-<div><style>p{margin-block-start:10px;margin-block-end:10px;}</style><p class="ql-align-right" style="
-    text-align: right;
-"><strong>受理编号:</strong>×××××× &nbsp;&nbsp;</p><p class="ql-align-center" style="
-    font-size: 26px;
-"><strong>受理通知单(存根联)</strong></p><p>	××××××单位(同志):</p><p style="
-    text-indent: 2em;
-">本窗口收到您单位(个人)申请办理××××××事项(事项编号:××××××)所提交的申请材料××项。经审查,申请资料齐全、符合法定形式,现予受理。我窗口将在××个工作日内予以办结。其中,该事项受理后依法需要的以下程序:□听证、□招标、□拍卖、□检验、□检测、□检疫、□测绘、□鉴定、□专家评审(可根据实际情况选择),不计入法定时限之内。</p><p style="
-    text-indent: 2em;
-">特此告知!</p><div style="
-    display: flex;
-    justify-content: space-between;
-    flex-direction: row;
-    flex-wrap: nowrap;
-    align-content: center;
-"><p>申请人(签字): </p><p>联系方式:</p><p>签字日期:××××年××月××日</p></div><p class="ql-align-right" style="
-    text-align: right;
-">	受理机构(专用章)</p><p class="ql-align-right" style="
-    text-align: right;
-    margin-right: 20px;
-">	××××年××月××日</p><div style="
-    border-bottom: 1px dashed;
-    margin: 50px 0;
-"></div><p class="ql-align-right" style="
-    text-align: right;
-"><strong>受理编号:</strong>×××××× &nbsp;&nbsp;&nbsp;</p><p class="ql-align-center" style="
-    font-size: 26px;
-"><strong>受理通知单(回执联)</strong></p><p>××××××单位(同志)::</p><p style="
-    text-indent: 2em;
-">本窗口收到您单位(个人)申请办理××××××事项(事项编号:××××××)所提交的申请材料××项。经审查,申请资料齐全、符合法定形式,现予受理。我窗口将在××个工作日内予以办结。其中,该事项受理后依法需要的以下程序:□听证、□招标、□拍卖、□检验、□检测、□检疫、□测绘、□鉴定、□专家评审(可根据实际情况选择),不计入法定时限之内。</p><p style="
-    text-indent: 2em;
-">特此告知!</p><div style="
-    display: flex;
-    justify-content: space-between;
-    flex-direction: row;
-    flex-wrap: nowrap;
-    text-indent: 2em;
-"><p>受理人:×××</p><p>联系电话:023-00000000</p><p>监督投诉电话:023-00000000</p></div><p style="
-    text-indent: 2em;
-">	<strong>友情提醒:</strong></p><p style="
-    text-indent: 2em;
-"><span class="ql-size-huge">	</span>本受理单仅作为行政相对人申请受理证明,与审批结果无相关性。</p><p style="
-    text-indent: 2em;
-">	结果送达方式:□ 窗口领取,领取窗口编号:<u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</u>&nbsp;&nbsp;□ 邮寄</p><p style="
-    text-indent: 2em;
-">	办理进度(结果) 查询方式,见《××××××事项服务指南》</p><p class="ql-align-right" style="
-    text-align: right;
-">	受理机构(专用章)</p><p class="ql-align-right" style="
-    text-align: right;
-    margin-right: 20px;
-">	××××年××月××日</p></div>