From 918cf69e763d30a1315fa1c83a964dae4dd88f12 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <xltys1995>
Date: 星期六, 03 四月 2021 15:11:08 +0800
Subject: [PATCH] #
---
src/main/webapp/views/resource/resource.html | 5 ++++-
src/main/webapp/static/js/locStatis/locStatis.js | 1 -
src/main/webapp/views/pda/locDetlIframe.html | 3 +--
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/main/webapp/static/js/locStatis/locStatis.js b/src/main/webapp/static/js/locStatis/locStatis.js
index c747d16..bffdc77 100644
--- a/src/main/webapp/static/js/locStatis/locStatis.js
+++ b/src/main/webapp/static/js/locStatis/locStatis.js
@@ -47,7 +47,6 @@
statusCode: 200
},
done: function(res, curr, count) {
- console.log(res)
if (res.code === 403) {
top.location.href = baseUrl+"/";
}
diff --git a/src/main/webapp/views/pda/locDetlIframe.html b/src/main/webapp/views/pda/locDetlIframe.html
index 7d0cbaf..f2bc1d0 100644
--- a/src/main/webapp/views/pda/locDetlIframe.html
+++ b/src/main/webapp/views/pda/locDetlIframe.html
@@ -102,7 +102,6 @@
var countDom = $('#count');
function save() {
- console.log(countDom.val())
if (countDom.val() < 1) {
return;
}
@@ -133,4 +132,4 @@
countDom.val(countDom.val() - 1);
}
</script>
-</html>
\ No newline at end of file
+</html>
diff --git a/src/main/webapp/views/resource/resource.html b/src/main/webapp/views/resource/resource.html
index 7afe989..817ed15 100644
--- a/src/main/webapp/views/resource/resource.html
+++ b/src/main/webapp/views/resource/resource.html
@@ -210,7 +210,7 @@
form.val('detail', mData);
// 琛ㄥ崟鎻愪氦浜嬩欢
form.on('submit(editSubmit)', function (data) {
- data.field.parentId = insXmSel.getValue('valueStr');
+ data.field.resourceId = insXmSel.getValue('valueStr');
var loadIndex = layer.load(2);
$.ajax({
url: baseUrl+"/resource/"+(mData?'update':'add')+"/auth",
@@ -223,6 +223,9 @@
layer.close(dIndex);
layer.msg(res.msg, {icon: 1});
insTb.refresh();
+ setTimeout(function () {
+ insTb.expand(data.field.resourceId);
+ }, 200)
} else if (res.code === 403){
top.location.href = baseUrl+"/";
}else {
--
Gitblit v1.9.1