高项-信息化技术
TJundx

反观

回顾记录

  • 信息的特点

  • 信息化概念、内涵、六大要素

  • 现代化基础设施

    • 新型基础设施
      • 信息基础设施(技术新)
        • 通信网络
        • 新技术
        • 算力
      • 融合基础设施(应用新)
        • 智慧交通
        • 智慧能源
      • 创新基础设施(平台新),公益属性
        • 科研
        • 开发
        • 产研
    • 工业互联网
      • 体系架构
        • 网络-基础
        • 平台-中枢
        • 安全-保障
        • 数据-要素
    • 车联网
      • 定义:新技术+电子、车辆、交通信息=新产业
      • 架构:端系统(感知)、管系统(互联)、云系统(应用)
  • 现代化创新示例

    • 农业农村现代化
      • 如何实现农业现代化
        • 引入制造装备
        • 提高农民科学素质
        • 使用科学管理
        • 使用技术改造
      • 如何实现农村现代化
        • 基建-铺网
        • 数字-电子政务
        • 智慧农业-新技术与农业生产经营融合
    • 两化融合与智能制造
    • 消费互联网
  • 数字中国

    • 数字经济
    • 数字社会
    • 数字政府
    • 数字生态
  • 如何实现数字化转型?

    • 数字化转型方向
    • 数字化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//【今日工作】获取

//日报文件名格式(定义成你自己的格式,替换其中的变量)
//yyyy = 年份(例如:2023)
//m = 自适应位数月份(例如:3、10)
//mm = 两位数月份(例如:03、10)
//d = 自适应位数日期(例如:3、10)
//dd = 两位数日期(例如:03、10)
let dailyWorkFileFormat = "日报:yyyy年m月d日";
//日报文件夹目录
let dailyWorkFilePath = "002.工作/工作记录/日报";


//获取当天日报
const fileToday = new Date(dv.current().create);
const file = dv.page(dailyWorkFilePath + "/" + formatDailyFileName(fileToday,dailyWorkFileFormat));
if(file != null){
dv.header("3","今日工作")
dv.taskList(file.file.tasks,false)
}
//文件名日期格式化
function formatDailyFileName(date,format){
const dateYear = date.getFullYear();
const dateMonth = date.getMonth() + 1;
const dateDate = date.getDate();
return format
.replace("yyyy",dateYear)
.replace("mm",dateMonth < 10 ? '0' + dateMonth : dateMonth)
.replace("m",dateMonth)
.replace("dd",dateDate < 10 ? '0' + dateDate : dateDate)
.replace("d",dateDate)
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//【今日文章】获取
//获取当天创建的文件
const fileToday = new Date(dv.current().create);
const todayFileArray = dv.pages().where(file => {
const fileDate = new Date(file.file.cday);
return (fileDate.getDate() == fileToday.getDate() && fileDate.getMonth() == fileToday.getMonth() && fileDate.getFullYear() && fileToday.getFullYear());
})

if(todayFileArray.length > 0){
dv.header("3","今日文章")
}
for(var i = 0;i<todayFileArray.length;i++){
dv.el("li","[[ " + todayFileArray[i].file.path + "|"+todayFileArray[i].file.name+" ]]\n");
}
Powered by Hexo & Theme Keep
Total words 36.5k Unique Visitor Page View