企业微信审批打印

null

目前為 2022-10-10 提交的版本,檢視 最新版本

// ==UserScript==
// @name         企业微信审批打印
// @version      1.2
// @description  null
// @author       taylorsweeft
// @match        https://app.work.weixin.qq.com/wework_admin/approval/*
// @require      https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js
// @grant        none
// @namespace https://gf.qytechs.cn/users/968667
// ==/UserScript==

(function() {
    'use strict';
    $(".approval_print_data_title_center[colspan='2']").each(function(){
        if($(this).text().indexOf("同意")!= -1){
           $(this).text("已同意")
       }
    });
    $(".approval_print_info_date").hide();
    $(".approval_print_qr_image_wrap").hide();
    $(".approval_print_qr_text").hide();
    $(".approval_print_info_user").hide();
    $(".approval_print_data_value").each(function(){
        if($(this).text().indexOf(":")!= -1){
            console.log($(this).text())
            let htmlTxt = $(this).text()
            $(this).text(htmlTxt.replace(/[0-2][0-9]:[0-9][0-9]/,""))
       }
    });
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址