From fc3e41679ca6eeafb6973715d3fcb1a52df263df Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期一, 10 七月 2023 09:40:40 +0800
Subject: [PATCH] 业绩指标单 列表
---
WebTM/views/工资管理/核算方式/Gy_ClassTimePrjSubBillList.html | 46 ++++++++++++++++++++++++++++++++++++----------
1 files changed, 36 insertions(+), 10 deletions(-)
diff --git "a/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\346\240\270\347\256\227\346\226\271\345\274\217/Gy_ClassTimePrjSubBillList.html" "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\346\240\270\347\256\227\346\226\271\345\274\217/Gy_ClassTimePrjSubBillList.html"
index f517dd7..7fb2e90 100644
--- "a/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\346\240\270\347\256\227\346\226\271\345\274\217/Gy_ClassTimePrjSubBillList.html"
+++ "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\346\240\270\347\256\227\346\226\271\345\274\217/Gy_ClassTimePrjSubBillList.html"
@@ -45,6 +45,7 @@
<button type="button" class="layui-btn layui-btn-sm" lay-event="set_DeleteBill"><i class="layui-icon layui-icon-delete"></i>鍒犻櫎</button>
<button type="button" class="layui-btn layui-btn-sm" lay-event="get_Refresh"><i class="layui-icon layui-icon-refresh-3"></i>鍒锋柊</button>
<button type="button" class="layui-btn layui-btn-sm" lay-event="get_Exit"><i class="layui-icon layui-icon-logout"></i>閫�鍑�</button>
+ <button type="button" class="layui-btn layui-btn-sm" lay-event="get_AddGZD"><i class="layui-icon layui-icon-logout"></i>鐢熸垚宸ヨ祫鍗�</button>
</div>
</script>
</form>
@@ -103,6 +104,9 @@
break;
//閫�鍑烘寜閽�
case 'get_Exit': Pub_Close(2);
+ break
+ //鐢熸垚宸ヨ祫鍗�
+ case 'get_AddGZD': get_AddGZD();
break;
};
@@ -142,15 +146,18 @@
, height: 'full-50'
, page: true
, cellMinWidth: 90
+ , limit: 50
+ , limits: [50, 500, 5000, 20000]
, cols: [[
{ type: 'checkbox', fixed: 'left' }
- , { field: 'HItemID', title: 'HItemID', sort: true, hide: true }
- , { field: 'HParentID', title: 'HParentID', sort: true, hide: true }
- , { field: '鏈堝害鏍哥畻璁板綍浠g爜', title: '鏈堝害鏍哥畻璁板綍浠g爜', width: 150 }
+ , { field: 'HInterID', title: 'HInterID', sort: true, hide: true }
+ , { field: 'HEntryID', title: 'HEntryID', sort: true, hide: true }
+ //, { field: '鏈堝害鏍哥畻璁板綍浠g爜', title: '鏈堝害鏍哥畻璁板綍浠g爜', width: 150 }
+ //, { field: '鏈堝害鏍哥畻璁板綍鍚嶇О', title: '鏈堝害鏍哥畻璁板綍鍚嶇О', width: 150 }
, { field: '浼氳骞翠唤', title: '浼氳骞翠唤',width: 120 }
, { field: '浼氳鏈堜唤', title: '浼氳鏈堜唤' }
- , { field: '缁勪唬鐮�', title: '缁勪唬鐮�' }
- , { field: '缁勫悕绉�', title: '缁勫悕绉�', width: 190 }
+ , { field: '缁勪唬鐮�', title: '缁勪唬鐮�', width: 150 }
+ , { field: '缁勫悕绉�', title: '缁勫悕绉�', width: 150 }
, { field: '鎬婚噾棰�', title: '鎬婚噾棰�' }
, { field: '鎬诲熀鏁�', title: '鎬诲熀鏁�' }
, { field: '骞冲潎宸ヨ祫', title: '骞冲潎宸ヨ祫' }
@@ -173,7 +180,7 @@
$.ajax({
url: GetWEBURL() + '/Gy_ClassTimePrjSub/list',
type: "GET",
- data: { "sWhere": sWhere },
+ data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] },
success: function (data1) {
if (data1.count == 1) {
option.data = data1.data;
@@ -225,16 +232,22 @@
, title: '鏍哥畻璁板綍-鏂板'
, shift: 0//寮瑰嚭鍔ㄧ敾
, content: '../鏍哥畻鏂瑰紡/Gy_ClassTimePrjSubBillEdit.html?OperationType=1&linterid=&HSouceBillType='
+ , end: function () {
+ //鍒锋柊椤甸潰,
+ location.reload();
+ }
})
}
//#endregion
+
+
//#region 缂栬緫
function set_ShowBill() {
var checkStatus = table.checkStatus('mainTable')
, data = checkStatus.data;
if (checkStatus.data.length === 1) {
- var HInterID = data[0].HitemID;
+ var HInterID = data[0].HInterID;
//if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉
layer.open({
type: 2
@@ -242,6 +255,10 @@
, title: '鏍哥畻璁板綍-缂栬緫'
, shift: 0//寮瑰嚭鍔ㄧ敾
, content: '../鏍哥畻鏂瑰紡/Gy_ClassTimePrjSubBillEdit.html?OperationType=3&linterid=' + HInterID + '&HSouceBillType='
+ , end: function () {
+ //鍒锋柊椤甸潰,
+ location.reload();
+ }
})
} else {
layer.msg('璇烽�夋嫨涓�琛屾暟鎹紪杈戯紒');
@@ -254,14 +271,14 @@
var checkStatus = table.checkStatus('mainTable')
, data = checkStatus.data;
if (checkStatus.data.length === 1) {
- var ItemID = data[0].HItemID.toString();
+ var ItemID = data[0].HInterID.toString();
layer.confirm("纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠", { title: "鍒犻櫎纭" }, function (index) {
var wait = layer.load();
//閫昏緫鍒犻櫎鏂规硶
$.ajax({
url: GetWEBURL() + 'DeltetGy_ClassTimePrjSub',
type: "GET",
- data: { "HItemID": ItemID },
+ data: { "HItemID": ItemID, "user": sessionStorage["HUserName"] },
success: function (result) {
if (result.count == 1) {
layer.msg(result.Message, { icon: 1 }, function () {
@@ -290,7 +307,16 @@
}
//#endregion
-
+ function get_AddGZD() {
+ layer.open({
+ type: 2
+ , skin: 'layui-layer-rim' //鍔犱笂杈规
+ , area: ['100%', '100%']
+ , title: '鏍哥畻璁板綍-鏂板'
+ , shift: 0//寮瑰嚭鍔ㄧ敾
+ , content: '../鏍哥畻鏂瑰紡/Gy_ClassTimePrjSubBillEdit.html?OperationType=1&linterid=&HSouceBillType='
+ })
+ }
//#region 鍒锋柊
function get_Refresh() {
set_ClearQuery();
--
Gitblit v1.9.1