当前位置: 首页 > wzjs >正文

北京外包做网站如何报价网站seo策划方案

北京外包做网站如何报价,网站seo策划方案,做网站必须要购买空间吗,建小公司网站要多少钱自定义列甘特图&#xff0c;原生开发dhtmlxgantt根特图&#xff0c;根据数据生成只读根特图&#xff0c;页面展示html demo 1、实现只读甘特图 2、实现自定义cell颜色 3、实现自定义任务条颜色进度条颜色 4、实现自定义列左侧配置 5、实现dhtmlxgantt的汉化 <!DOCTYPE…

自定义列甘特图,原生开发dhtmlxgantt根特图,根据数据生成只读根特图,页面展示html demo

1、实现只读甘特图

2、实现自定义cell颜色

3、实现自定义任务条颜色进度条颜色

4、实现自定义列左侧配置

5、实现dhtmlxgantt的汉化

<!DOCTYPE html>
<html>
<head><title>自定义左侧列甘特图</title><link rel="stylesheet" href="https://cdn.dhtmlx.com/gantt/edge/dhtmlxgantt.css"><script src="https://cdn.dhtmlx.com/gantt/edge/dhtmlxgantt.js"></script><style>html, body { height: 100%; margin: 0; }/* 隐藏任务树连线 *//* .gantt_tree_indent { display: none !important; } *//* .gantt_tree_icon { display: none !important; } */.gantt_level_1_row {background-color: #e6f3ff !important; /* 浅蓝色背景 */}.gantt_task_line.gantt_level_1_bar {background: green !important;  /* 任务条主色 */border-color: green !important;  /* 边框颜色 */}</style>
</head>
<body><div id="gantt_here" style="width:100%; height:600px;"></div><script>gantt.init("gantt_here");// 禁用所有交互gantt.config.editable = false;gantt.config.drag_move = gantt.config.drag_resize = false;gantt.config.select_task = false;// 禁用编辑功能gantt.config.readonly = true;gantt.config.drag_move = false;gantt.config.drag_resize = false;gantt.config.grid_editable = false;// 隐藏操作栏配置gantt.config.tree_actions = true;    // 隐藏展开/折叠图标gantt.config.tree_line = false;       // 隐藏层级连线gantt.config.row_height = 30;         // 调整行高适应多行内容//是否显示左侧树表格gantt.config.show_grid = true;// 自定义行样式(关键修改部分)gantt.templates.task_row_class = function(start, end, task) {if(task.level == 1) {return "gantt_level_1_row";}return "";};// 新增任务条颜色模板(关键代码)gantt.templates.task_class = function(start, end, task) {if(task.level == 1) {return "gantt_level_1_bar";}return "";};// 自定义左侧列配置gantt.config.columns = [{ name: "text", label: "任务名称", width: "*", tree: true },{ name: "start_date", label: "开始时间", align: "center", width: 100},{ name: "duration", label: "持续时间", align: "center", width: 70 }];// 格式化日期-汉化gantt.locale.date = {month_full: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],month_short: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],day_full: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],day_short: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"]};gantt.locale.labels = {dhx_cal_today_button: "今天",day_tab: "日",week_tab: "周",month_tab: "月",new_event: "新建日程",icon_save: "保存",icon_cancel: "关闭",icon_details: "详细",icon_edit: "编辑",icon_delete: "删除",confirm_closing: "请确认是否撤销修改!", //Your changes will be lost, are your sure?confirm_deleting: "是否删除计划?",section_description: "描述:",section_time: "时间范围:",section_type: "类型:",section_text: "计划名称:",section_test: "测试:",section_projectClass: "项目类型:",taskProjectType_0: "项目任务",taskProjectType_1: "普通任务",section_head: "负责人:",section_priority: '优先级:',taskProgress: '任务状态',taskProgress_0: "未开始",taskProgress_1: "进行中",taskProgress_2: "已完成",taskProgress_3: "已延期",taskProgress_4: "搁置中",section_template: 'Details',/* grid columns */column_text: "计划名称",column_start_date: "开始时间",column_duration: "持续时间",column_add: "",column_priority: "难度",/* link confirmation */link: "关联",confirm_link_deleting: "将被删除",message_ok: '确定',message_cancel: '取消',link_start: " (开始)",link_end: " (结束)",type_task: "任务",type_project: "项目",type_milestone: "里程碑",minutes: "分钟",hours: "小时",days: "天",weeks: "周",months: "月",years: "年"};// 示例数据gantt.parse({data: [// 项目调研{ id: 2, text: "项目调研", open: true, level: 1, start_date: new Date(2023, 01-1, 02), duration: 1 },{ id: 3, text: "需求分析", status: 1, start_date: new Date(2023, 01-1, 02), duration: 2, parent: 2 },{ id: 4, text: "市场调研",  start_date: new Date(2023, 01-1, 09), duration: 3, parent: 2 },// 项目开发{ id: 5, text: "项目开发", open: true, level: 1, start_date: new Date(2023, 01-1, 16) , duration: 3},{ id: 6, text: "系统设计", start_date: new Date(2023, 01-1, 16), duration: 1, parent: 5 },{ id: 7, text: "编码开发",  start_date: new Date(2023, 01-1, 30) , duration: 5, parent: 5 },// 项目审核{ id: 8, text: "项目审核", open: true, level: 1, start_date: new Date(2023, 02-1, 20), duration: 17 },{ id: 9, text: "内部测试",   start_date: new Date(2023, 02-1, 20), duration: 10, parent: 8 },{ id: 10, text: "客户验收",  start_date:new Date(2023, 03-1, 04), duration: 5, parent: 8 },// 新品发布{ id: 11, text: "新品发布会", open: true, level: 1,  start_date: new Date(2023, 03-1, 10), duration: 5},{ id: 12, text: "场地准备",  start_date: new Date(2023, 03-1, 10), duration: 3, parent: 11 },{ id: 13, text: "发布会执行",   start_date: new Date(2023, 03-1, 13), duration: 2, parent: 11 },// 新品发布{ id: 14, text: "新品发布会2", open: true, level: 1, start_date: new Date(2023, 03-1, 10), duration: 5 },{ id: 15, text: "场地准备2", start_date: new Date(2023, 03-1, 10), duration: 3, parent: 14 },{ id: 16, text: "发布会执行2",  start_date: new Date(2023, 03-1, 13), duration: 2, parent: 14 }]// 任务之间连接线,目前注释掉了,需要的话打开//         links: [//             { id: 1, source: 3, target: 4, type: "0" },// { id: 2, source: 6, target: 7, type: "0" },// { id: 3, source: 9, target: 10, type: "0" },// { id: 4, source: 12, target: 13, type: "0" }//         ]});</script>
</body>
</html>

页面生成截图:

demo生成录屏

http://www.dtcms.com/wzjs/184214.html

相关文章:

  • 网站文章更新怎么做图片外链在线生成网址
  • 网站滚动图片代码seo外链平台热狗
  • 为什么有些公司却没有自己的网站推广普通话宣传标语
  • 怎么申请免费国内免费网站seo排名赚app
  • 网站建设策划书结束语app推广工作是做什么的
  • 成都建工雅安建设有限责任公司网站搜索引擎优化的核心本质
  • 网站有源代码如何做seo做网站推广
  • 2017年做哪个网站致富个人网站建站教程
  • 公众号 微网站开发线上销售平台如何推广
  • 中山做网站好的公司打广告
  • 晨光科技+网站建设企业建站
  • 企业宣传网站建设方案小米市场营销案例分析
  • 建网站需要哪些条件产品如何推广市场
  • 做商城网站需要什么资质品牌网络营销策划方案
  • 服务器2003系统如何建设网站丹东网站seo
  • 网站上的高清动态图怎么做的百度经验手机版官网
  • 做网站需要团队还是一个人关键词优化平台有哪些
  • 一个大型网站建设得多少钱打广告的免费软件
  • 长沙做黄叶和网站的公司有哪些360推广登陆入口
  • 三亚网百度的关键词优化
  • 网站添加flv视频代码搜易网服务内容
  • 上海新闻头条网站推广优化排名seo
  • dw做简易表格网站南昌做seo的公司有哪些
  • 怎样看一个网站的信息吗企业文化建设方案
  • 做网站开发有前途吗互联网营销师证书是国家认可的吗
  • 西安360免费做网站百度极速版app下载安装挣钱
  • 想自己做网站 有免费的吗电子商务网站建设与管理
  • 平台类网站做多久海淀网站建设公司
  • wordpress 安全选项seo推广技术
  • 杭州91网站建设济宁seo公司