From cbabb7b9670c1f82749a0efbd9b423d0c9cefb81 Mon Sep 17 00:00:00 2001
From: FUYU <fuyu@prec-tech.com>
Date: 星期五, 26 五月 2023 09:52:51 +0800
Subject: [PATCH] 修改显示类型
---
force-app/main/default/aura/taskManage/taskManageHelper.js | 62 ++++++++++++++++--------------
1 files changed, 33 insertions(+), 29 deletions(-)
diff --git a/force-app/main/default/aura/taskManage/taskManageHelper.js b/force-app/main/default/aura/taskManage/taskManageHelper.js
index ce5ac00..a9bbebe 100644
--- a/force-app/main/default/aura/taskManage/taskManageHelper.js
+++ b/force-app/main/default/aura/taskManage/taskManageHelper.js
@@ -64,13 +64,14 @@
{
label: "鍒涘缓鏃ユ湡",
fieldName: "taskCreateddate",
- type: "date-local",
- typeAttributes:{
- weekday: "long",
- year: "numeric",
- month: "long",
- day: "2-digit"
- },
+ type: "text",
+ // type: "date-local",
+ // typeAttributes:{
+ // weekday: "long",
+ // year: "numeric",
+ // month: "long",
+ // day: "2-digit"
+ // },
sortable: true ,
wrapText: true,
},
@@ -195,13 +196,14 @@
{
label: "鍒涘缓鏃ユ湡",
fieldName: "taskCreateddate",
- type: "date-local",
- typeAttributes:{
- weekday: "long",
- year: "numeric",
- month: "long",
- day: "2-digit"
- },
+ type: "text",
+ // type: "date-local",
+ // typeAttributes:{
+ // weekday: "long",
+ // year: "numeric",
+ // month: "long",
+ // day: "2-digit"
+ // },
sortable: true
},
{
@@ -289,13 +291,14 @@
{
label: "鍒涘缓鏃ユ湡",
fieldName: "taskCreateddate",
- type: "date-local",
- typeAttributes:{
- weekday: "long",
- year: "numeric",
- month: "long",
- day: "2-digit"
- },
+ type: "text",
+ // type: "date-local",
+ // typeAttributes:{
+ // weekday: "long",
+ // year: "numeric",
+ // month: "long",
+ // day: "2-digit"
+ // },
sortable: true ,
wrapText: true,
},
@@ -445,13 +448,14 @@
{
label: "鍒涘缓鏃ユ湡",
fieldName: "taskCreateddate",
- type: "date-local",
- typeAttributes:{
- weekday: "long",
- year: "numeric",
- month: "long",
- day: "2-digit"
- },
+ type: "text",
+ // type: "date-local",
+ // typeAttributes:{
+ // weekday: "long",
+ // year: "numeric",
+ // month: "long",
+ // day: "2-digit"
+ // },
sortable: true ,
wrapText: true,
},
@@ -1379,7 +1383,7 @@
},
//wangweipeng 鑾峰彇url鐨勫弬鏁� 2021/09/27 start
getURLParameterValue: function() {
- var querystring = location.search.substr(1);
+ var querystring = window.location.search.substr(1);
var paramValue = {};
querystring.split("&").forEach(function(part) {
var param = part.split("=");
--
Gitblit v1.9.1