diff --git a/src/components/DesignForm/public/form/childTable.vue b/src/components/DesignForm/public/form/childTable.vue index c4b8abd..9302203 100644 --- a/src/components/DesignForm/public/form/childTable.vue +++ b/src/components/DesignForm/public/form/childTable.vue @@ -53,9 +53,9 @@ const addColumn = () => { } } const getText = (text: any,val:any,name:any) => { - console.log("text===>",text) - console.log("name===>",name) - console.log("val===>",val) + // console.log("text===>",text) + // console.log("name===>",name) + // console.log("val===>",val) if (typeof text === 'string') { return text } else { @@ -93,6 +93,7 @@ const timeToAry = (timestamp:number) => { @ 功能: 将时间戳转换成字符串 */ const timeToString = (timeVal:any,types:int) => { + // console.log("将时间戳转换成字符串",timeVal,types) let timeStr = "" if(Array.isArray(timeVal)){ if(timeVal.length >= 2){ @@ -169,7 +170,7 @@ const timeToString = (timeVal:any,types:int) => { case "week": //周 timeStr = getYearWeek(timeVal) break; - case "timeCalss": //时间 + case "timePicker": //时间 timeStr = `${hours}:${minutes}:${seconds}`; break; default: @@ -210,6 +211,8 @@ const timeToString = (timeVal:any,types:int) => {
+
+
{{ getText(scope.row[item.name],scope.row,item.name) }}
diff --git a/src/components/DesignForm/public/form/formItem.vue b/src/components/DesignForm/public/form/formItem.vue index 57c69ff..ab16857 100644 --- a/src/components/DesignForm/public/form/formItem.vue +++ b/src/components/DesignForm/public/form/formItem.vue @@ -670,6 +670,7 @@ const judgeIsDisabled = (key:string) => { @ 功能: 将时间戳转换成字符串 */ const timeToString = (timeVal:any,types:int) => { + // console.log("将时间戳转换成字符串",timeVal,types) let timeStr = "" if(Array.isArray(timeVal)){ if(timeVal.length >= 2){ diff --git a/src/components/DesignForm/tableListPage/formPageCont.vue b/src/components/DesignForm/tableListPage/formPageCont.vue index 75f39d0..04337ed 100644 --- a/src/components/DesignForm/tableListPage/formPageCont.vue +++ b/src/components/DesignForm/tableListPage/formPageCont.vue @@ -417,6 +417,7 @@ const jsuanKuandu = () => { +