专责审批代码调试
This commit is contained in:
parent
eb0bc28afd
commit
8759bde930
|
|
@ -1,17 +1,21 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Demo</title>
|
<title>Demo</title>
|
||||||
<link rel="stylesheet" href="../../../layui/css/layui.css" />
|
<link rel="stylesheet" href="../../../layui/css/layui.css" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="layui-btn-group" style="margin-top: 10px;display: flex;justify-content: flex-end; margin-right: 10px;" id="btnGroup">
|
<div class="layui-btn-group" style="margin-top: 10px;display: flex;justify-content: flex-end; margin-right: 10px;"
|
||||||
|
id="btnGroup">
|
||||||
<button class="layui-btn layui-btn-sm" onclick="allAudit(1)">全部通过</button>
|
<button class="layui-btn layui-btn-sm" onclick="allAudit(1)">全部通过</button>
|
||||||
<button class="layui-btn layui-btn-sm" onclick="allAudit(2)">全部驳回</button>
|
<button class="layui-btn layui-btn-sm" onclick="allAudit(2)">全部驳回</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="txtTip" style="margin-top: 10px;display: flex;justify-content: flex-end;width: 99%;">注:如无审核按钮,则表示当前评价停留在一级审核处</div>
|
<div id="txtTip" style="margin-top: 10px;display: flex;justify-content: flex-end;width: 99%;">
|
||||||
|
注:如无审核按钮,则表示当前评价停留在一级审核处</div>
|
||||||
<form class="layui-form layui-form-pane fromData" action="">
|
<form class="layui-form layui-form-pane fromData" action="">
|
||||||
<div style="width: 100%;overflow:auto">
|
<div style="width: 100%;overflow:auto">
|
||||||
<table class="layui-table" id="baseTable" lay-filter="test">
|
<table class="layui-table" id="baseTable" lay-filter="test">
|
||||||
|
|
@ -226,7 +230,7 @@
|
||||||
layer.confirm('确定' + title + '吗?', function (index) {
|
layer.confirm('确定' + title + '吗?', function (index) {
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: ctxPath + '/outsourcer/allAudit',
|
url: ctxPath + '/outsourcer/dedicatedAllAudit',
|
||||||
type: 'post',
|
type: 'post',
|
||||||
async: false,
|
async: false,
|
||||||
data: {
|
data: {
|
||||||
|
|
@ -266,7 +270,7 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: ctxPath + '/outsourcer/allAudit',
|
url: ctxPath + '/outsourcer/dedicatedAllAudit',
|
||||||
type: 'post',
|
type: 'post',
|
||||||
async: false,
|
async: false,
|
||||||
data: {
|
data: {
|
||||||
|
|
@ -302,7 +306,7 @@
|
||||||
if (type == 1) {
|
if (type == 1) {
|
||||||
layer.confirm('确定' + title + '吗?', function (index) {
|
layer.confirm('确定' + title + '吗?', function (index) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: ctxPath + '/outsourcer/audit',
|
url: ctxPath + '/outsourcer/dedicatedAudit',
|
||||||
type: 'post',
|
type: 'post',
|
||||||
async: false,
|
async: false,
|
||||||
data: {
|
data: {
|
||||||
|
|
@ -344,7 +348,7 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: ctxPath + '/outsourcer/audit',
|
url: ctxPath + '/outsourcer/dedicatedAudit',
|
||||||
type: 'post',
|
type: 'post',
|
||||||
data: {
|
data: {
|
||||||
templateId: getUrlParam('templateId'),
|
templateId: getUrlParam('templateId'),
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@
|
||||||
console.log("ddddd:", d)
|
console.log("ddddd:", d)
|
||||||
//如果d.isApprove == 1 去除当前行的编辑功能
|
//如果d.isApprove == 1 去除当前行的编辑功能
|
||||||
let text = "";
|
let text = "";
|
||||||
if (d.isTwoApprove == 0 && d.isApprove == 1) {
|
if (d.isTwoApprove == 1 && d.isApprove == 1) {
|
||||||
text += '<a lay-event="pass" style="color: #009688;cursor: pointer;font-size: 15px"' +
|
text += '<a lay-event="pass" style="color: #009688;cursor: pointer;font-size: 15px"' +
|
||||||
' id="pass">通过</a>';
|
' id="pass">通过</a>';
|
||||||
text +=
|
text +=
|
||||||
|
|
|
||||||
|
|
@ -142,4 +142,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
$("#dt-table").treetable(option);
|
$("#dt-table").treetable(option);
|
||||||
|
|
||||||
|
// 递归函数
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
Loading…
Reference in New Issue