perf: 添加任务模板

This commit is contained in:
kuaifan 2024-12-02 00:11:35 +08:00
parent 153d26ffcd
commit 6bafa0a6dd
5 changed files with 907 additions and 111 deletions

View File

@ -2711,14 +2711,11 @@ class ProjectController extends AbstractController
*/
public function task__template_list()
{
$user = User::auth();
User::auth();
//
$projectId = intval(Request::input('project_id'));
if (!$projectId) {
return Base::retError('缺少参数project_id');
}
$project = Project::userProject($projectId);
if (!$project) {
return Base::retError('项目不存在或已被删除');
return Base::retError('参数错误');
}
$templates = ProjectTaskTemplate::where('project_id', $projectId)
->orderBy('sort')
@ -2751,7 +2748,7 @@ class ProjectController extends AbstractController
//
$projectId = intval(Request::input('project_id'));
if (!$projectId) {
return Base::retError('缺少参数project_id');
return Base::retError('参数错误');
}
Project::userProject($projectId, true, true);
//
@ -2783,7 +2780,7 @@ class ProjectController extends AbstractController
} else {
$templateCount = ProjectTaskTemplate::where('project_id', $projectId)->count();
if ($templateCount >= 20) {
return Base::retError('每个项目最多添加10个模板');
return Base::retError('每个项目最多添加20个模板');
}
$data['sort'] = ProjectTaskTemplate::where('project_id', $projectId)->max('sort') + 1;
$template = ProjectTaskTemplate::create($data);
@ -2811,7 +2808,7 @@ class ProjectController extends AbstractController
//
$id = intval(Request::input('id'));
if (!$id) {
return Base::retError('缺少参数id');
return Base::retError('参数错误');
}
$template = ProjectTaskTemplate::find($id);
if (!$template) {

View File

@ -67,9 +67,9 @@
</FormItem>
<FormItem v-if="!editingTemplate.id">
<div class="project-task-template-system">
<div v-if="!systemTemplateShow" @click="systemTemplateShow=true" class="tip-title">{{$L('使用示例模板')}}</div>
<div v-if="!systemTemplateShow" @click="onSystemTemplate" class="tip-title">{{$L('使用示例模板')}}</div>
<ul v-else>
<li v-for="(item, index) in systemTemplates" :key="index" @click="useSystemTemplate(item)">{{item.name}}</li>
<li v-for="(item, index) in systemTemplateData" :key="index" @click="useSystemTemplate(item)">{{item.name}}</li>
</ul>
</div>
</FormItem>
@ -84,7 +84,9 @@
<script>
import {mapState} from 'vuex'
import VMPreviewNostyle from "../../../components/VMEditor/nostyle.vue";
import VMPreviewNostyle from "../../../../components/VMEditor/nostyle.vue";
import AllTaskTemplates from "./template";
import {getLanguage} from "../../../../language";
export default {
name: 'ProjectTaskTemplate',
@ -108,103 +110,7 @@ export default {
},
systemTemplateShow: false,
systemTemplates: [
{
"name": "通用任务",
"title": "xxxx 任务",
"content": "描述xxxx\n清单xxxx"
},
{
"name": "产品需求",
"title": "xxxx 功能需求/产品任务",
"content": "背景xxxx\n目标xxxx\n清单xxxx"
},
{
"name": "技术任务",
"title": "xxxx 开发任务/技术优化任务",
"content": "背景xxxx\n技术目标xxxx\n任务清单xxxx"
},
{
"name": "运营任务",
"title": "xxxx 活动策划/运营任务",
"content": "背景xxxx\n活动方案xxxx\n数据指标xxxx\n任务清单xxxx"
},
{
"name": "市场推广",
"title": "xxxx 推广任务/品牌活动",
"content": "背景xxxx\n推广方案xxxx\n数据指标xxxx\n任务清单xxxx"
},
{
"name": "设计任务",
"title": "xxxx 设计任务",
"content": "背景xxxx\n设计要求xxxx\n任务清单xxxx\n相关资源xxxx"
},
{
"name": "人力资源",
"title": "xxxx 招聘任务/培训任务",
"content": "目标xxxx\n内容xxxx\n任务清单xxxx"
},
{
"name": "财务任务",
"title": "xxxx 预算审批/报销任务",
"content": "背景xxxx\n审批流程xxxx\n报销清单xxxx"
},
{
"name": "销售任务",
"title": "xxxx 销售跟进任务",
"content": "客户信息xxxx\n销售目标xxxx\n任务清单xxxx"
},
{
"name": "客户支持",
"title": "xxxx 客户问题处理任务",
"content": "客户问题xxxx\n优先级xxxx\n解决方案xxxx\n任务清单xxxx"
},
{
"name": "内容创作",
"title": "xxxx 内容创作任务",
"content": "主题xxxx\n目标xxxx\n任务清单xxxx"
},
{
"name": "法律事务",
"title": "xxxx 合同审核/法律任务",
"content": "合同背景xxxx\n审核重点xxxx\n任务清单xxxx"
},
{
"name": "学习计划",
"title": "xxxx 学习计划任务",
"content": "学习目标xxxx\n学习资源xxxx\n任务清单xxxx"
},
{
"name": "项目管理",
"title": "xxxx 项目管理任务",
"content": "项目背景xxxx\n任务清单xxxx\n状态xxxx"
},
{
"name": "测试任务",
"title": "xxxx 测试任务",
"content": "测试目标xxxx\n测试范围xxxx\n测试用例xxxx\n问题记录xxxx"
},
{
"name": "数据分析",
"title": "xxxx 数据分析任务",
"content": "分析目标xxxx\n数据来源xxxx\n分析方法xxxx\n结论与建议xxxx"
},
{
"name": "供应链管理",
"title": "xxxx 供应链任务",
"content": "任务目标xxxx\n供应商信息xxxx\n任务清单xxxx"
},
{
"name": "安全检查",
"title": "xxxx 安全检查任务",
"content": "检查范围xxxx\n检查标准xxxx\n问题记录xxxx\n整改计划xxxx"
},
{
"name": "行政事务",
"title": "xxxx 行政任务",
"content": "任务描述xxxx\n负责人xxxx\n任务清单xxxx"
}
]
systemTemplateData: [],
}
},
computed: {
@ -327,6 +233,12 @@ export default {
}
},
onSystemTemplate() {
const lang = getLanguage()
this.systemTemplateData = typeof AllTaskTemplates[lang] === "undefined" ? AllTaskTemplates['en'] : AllTaskTemplates[lang]
this.systemTemplateShow = true
},
// 使
useSystemTemplate(item) {
this.editingTemplate.name = item.name

View File

@ -0,0 +1,883 @@
export default {
"zh": [
{
"name": "通用任务",
"title": "xxxx 任务",
"content": "描述xxxx\n清单xxxx"
},
{
"name": "产品需求",
"title": "xxxx 功能需求/产品任务",
"content": "背景xxxx\n目标xxxx\n清单xxxx"
},
{
"name": "技术任务",
"title": "xxxx 开发任务/技术优化任务",
"content": "背景xxxx\n技术目标xxxx\n任务清单xxxx"
},
{
"name": "运营任务",
"title": "xxxx 活动策划/运营任务",
"content": "背景xxxx\n活动方案xxxx\n数据指标xxxx\n任务清单xxxx"
},
{
"name": "市场推广",
"title": "xxxx 推广任务/品牌活动",
"content": "背景xxxx\n推广方案xxxx\n数据指标xxxx\n任务清单xxxx"
},
{
"name": "设计任务",
"title": "xxxx 设计任务",
"content": "背景xxxx\n设计要求xxxx\n任务清单xxxx\n相关资源xxxx"
},
{
"name": "人力资源",
"title": "xxxx 招聘任务/培训任务",
"content": "目标xxxx\n内容xxxx\n任务清单xxxx"
},
{
"name": "财务任务",
"title": "xxxx 预算审批/报销任务",
"content": "背景xxxx\n审批流程xxxx\n报销清单xxxx"
},
{
"name": "销售任务",
"title": "xxxx 销售跟进任务",
"content": "客户信息xxxx\n销售目标xxxx\n任务清单xxxx"
},
{
"name": "客户支持",
"title": "xxxx 客户问题处理任务",
"content": "客户问题xxxx\n优先级xxxx\n解决方案xxxx\n任务清单xxxx"
},
{
"name": "内容创作",
"title": "xxxx 内容创作任务",
"content": "主题xxxx\n目标xxxx\n任务清单xxxx"
},
{
"name": "法律事务",
"title": "xxxx 合同审核/法律任务",
"content": "合同背景xxxx\n审核重点xxxx\n任务清单xxxx"
},
{
"name": "学习计划",
"title": "xxxx 学习计划任务",
"content": "学习目标xxxx\n学习资源xxxx\n任务清单xxxx"
},
{
"name": "项目管理",
"title": "xxxx 项目管理任务",
"content": "项目背景xxxx\n任务清单xxxx\n状态xxxx"
},
{
"name": "测试任务",
"title": "xxxx 测试任务",
"content": "测试目标xxxx\n测试范围xxxx\n测试用例xxxx\n问题记录xxxx"
},
{
"name": "数据分析",
"title": "xxxx 数据分析任务",
"content": "分析目标xxxx\n数据来源xxxx\n分析方法xxxx\n结论与建议xxxx"
},
{
"name": "供应链管理",
"title": "xxxx 供应链任务",
"content": "任务目标xxxx\n供应商信息xxxx\n任务清单xxxx"
},
{
"name": "安全检查",
"title": "xxxx 安全检查任务",
"content": "检查范围xxxx\n检查标准xxxx\n问题记录xxxx\n整改计划xxxx"
},
{
"name": "行政事务",
"title": "xxxx 行政任务",
"content": "任务描述xxxx\n负责人xxxx\n任务清单xxxx"
}
],
"zh-CHT": [
{
"name": "通用任務",
"title": "xxxx 任務",
"content": "描述xxxx\n清單xxxx"
},
{
"name": "產品需求",
"title": "xxxx 任務",
"content": "背景xxxx\n目標xxxx\n清單xxxx"
},
{
"name": "技術任務",
"title": "xxxx 任務",
"content": "背景xxxx\n技術目標xxxx\n任務清單xxxx"
},
{
"name": "運營任務",
"title": "xxxx 任務",
"content": "背景xxxx\n活動方案xxxx\n數據指標xxxx\n任務清單xxxx"
},
{
"name": "市場推廣",
"title": "xxxx 任務",
"content": "背景xxxx\n推廣方案xxxx\n數據指標xxxx\n任務清單xxxx"
},
{
"name": "設計任務",
"title": "xxxx 任務",
"content": "背景xxxx\n設計要求xxxx\n任務清單xxxx\n相關資源xxxx"
},
{
"name": "人力資源",
"title": "xxxx 任務",
"content": "目標xxxx\n內容xxxx\n任務清單xxxx"
},
{
"name": "財務任務",
"title": "xxxx 任務",
"content": "背景xxxx\n審批流程xxxx\n報銷清單xxxx"
},
{
"name": "銷售任務",
"title": "xxxx 任務",
"content": "客戶信息xxxx\n銷售目標xxxx\n任務清單xxxx"
},
{
"name": "客戶支持",
"title": "xxxx 任務",
"content": "客戶問題xxxx\n優先級xxxx\n解決方案xxxx\n任務清單xxxx"
},
{
"name": "內容創作",
"title": "xxxx 任務",
"content": "主題xxxx\n目標xxxx\n任務清單xxxx"
},
{
"name": "法律事務",
"title": "xxxx 任務",
"content": "合同背景xxxx\n審核重點xxxx\n任務清單xxxx"
},
{
"name": "學習計劃",
"title": "xxxx 任務",
"content": "學習目標xxxx\n學習資源xxxx\n任務清單xxxx"
},
{
"name": "項目管理",
"title": "xxxx 任務",
"content": "項目背景xxxx\n任務清單xxxx\n狀態xxxx"
},
{
"name": "測試任務",
"title": "xxxx 任務",
"content": "測試目標xxxx\n測試範圍xxxx\n測試用例xxxx\n問題記錄xxxx"
},
{
"name": "數據分析",
"title": "xxxx 任務",
"content": "分析目標xxxx\n數據來源xxxx\n分析方法xxxx\n結論與建議xxxx"
},
{
"name": "供應鏈管理",
"title": "xxxx 任務",
"content": "任務目標xxxx\n供應商信息xxxx\n任務清單xxxx"
},
{
"name": "安全檢查",
"title": "xxxx 任務",
"content": "檢查範圍xxxx\n檢查標準xxxx\n問題記錄xxxx\n整改計劃xxxx"
},
{
"name": "行政事務",
"title": "xxxx 任務",
"content": "任務描述xxxx\n負責人xxxx\n任務清單xxxx"
}
],
"en": [
{
"name": "General Task",
"title": "xxxx Task",
"content": "Description: xxxx\nChecklist: xxxx"
},
{
"name": "Product Requirement",
"title": "xxxx Task",
"content": "Background: xxxx\nGoal: xxxx\nChecklist: xxxx"
},
{
"name": "Technical Task",
"title": "xxxx Task",
"content": "Background: xxxx\nTechnical Goal: xxxx\nTask Checklist: xxxx"
},
{
"name": "Operations Task",
"title": "xxxx Task",
"content": "Background: xxxx\nActivity Plan: xxxx\nData Metrics: xxxx\nTask Checklist: xxxx"
},
{
"name": "Marketing",
"title": "xxxx Task",
"content": "Background: xxxx\nPromotion Plan: xxxx\nData Metrics: xxxx\nTask Checklist: xxxx"
},
{
"name": "Design Task",
"title": "xxxx Task",
"content": "Background: xxxx\nDesign Requirements: xxxx\nTask Checklist: xxxx\nRelated Resources: xxxx"
},
{
"name": "Human Resources",
"title": "xxxx Task",
"content": "Goal: xxxx\nContent: xxxx\nTask Checklist: xxxx"
},
{
"name": "Finance Task",
"title": "xxxx Task",
"content": "Background: xxxx\nApproval Process: xxxx\nReimbursement Checklist: xxxx"
},
{
"name": "Sales Task",
"title": "xxxx Task",
"content": "Customer Information: xxxx\nSales Target: xxxx\nTask Checklist: xxxx"
},
{
"name": "Customer Support",
"title": "xxxx Task",
"content": "Customer Issues: xxxx\nPriority: xxxx\nSolution: xxxx\nTask Checklist: xxxx"
},
{
"name": "Content Creation",
"title": "xxxx Task",
"content": "Topic: xxxx\nGoal: xxxx\nTask Checklist: xxxx"
},
{
"name": "Legal Affairs",
"title": "xxxx Task",
"content": "Contract Background: xxxx\nReview Focus: xxxx\nTask Checklist: xxxx"
},
{
"name": "Learning Plan",
"title": "xxxx Task",
"content": "Learning Goal: xxxx\nLearning Resources: xxxx\nTask Checklist: xxxx"
},
{
"name": "Project Management",
"title": "xxxx Task",
"content": "Project Background: xxxx\nTask Checklist: xxxx\nStatus: xxxx"
},
{
"name": "Testing Task",
"title": "xxxx Task",
"content": "Testing Goal: xxxx\nTesting Scope: xxxx\nTest Cases: xxxx\nIssue Records: xxxx"
},
{
"name": "Data Analysis",
"title": "xxxx Task",
"content": "Analysis Goal: xxxx\nData Source: xxxx\nAnalysis Methods: xxxx\nConclusions and Suggestions: xxxx"
},
{
"name": "Supply Chain Management",
"title": "xxxx Task",
"content": "Task Goal: xxxx\nSupplier Information: xxxx\nTask Checklist: xxxx"
},
{
"name": "Safety Inspection",
"title": "xxxx Task",
"content": "Inspection Scope: xxxx\nInspection Standards: xxxx\nIssue Records: xxxx\nCorrection Plan: xxxx"
},
{
"name": "Administrative Affairs",
"title": "xxxx Task",
"content": "Task Description: xxxx\nPerson in Charge: xxxx\nTask Checklist: xxxx"
}
],
"ko": [
{
"name": "일반 작업",
"title": "xxxx 작업",
"content": "설명: xxxx\n체크리스트: xxxx"
},
{
"name": "제품 요구사항",
"title": "xxxx 작업",
"content": "배경: xxxx\n목표: xxxx\n체크리스트: xxxx"
},
{
"name": "기술 작업",
"title": "xxxx 작업",
"content": "배경: xxxx\n기술 목표: xxxx\n작업 체크리스트: xxxx"
},
{
"name": "운영 작업",
"title": "xxxx 작업",
"content": "배경: xxxx\n활동 계획: xxxx\n데이터 지표: xxxx\n작업 체크리스트: xxxx"
},
{
"name": "마케팅",
"title": "xxxx 작업",
"content": "배경: xxxx\n홍보 계획: xxxx\n데이터 지표: xxxx\n작업 체크리스트: xxxx"
},
{
"name": "디자인 작업",
"title": "xxxx 작업",
"content": "배경: xxxx\n디자인 요구사항: xxxx\n작업 체크리스트: xxxx\n관련 자료: xxxx"
},
{
"name": "인사 관리",
"title": "xxxx 작업",
"content": "목표: xxxx\n내용: xxxx\n작업 체크리스트: xxxx"
},
{
"name": "재무 작업",
"title": "xxxx 작업",
"content": "배경: xxxx\n승인 절차: xxxx\n비용 청구서: xxxx"
},
{
"name": "영업 작업",
"title": "xxxx 작업",
"content": "고객 정보: xxxx\n영업 목표: xxxx\n작업 체크리스트: xxxx"
},
{
"name": "고객 지원",
"title": "xxxx 작업",
"content": "고객 문제: xxxx\n우선 순위: xxxx\n해결책: xxxx\n작업 체크리스트: xxxx"
},
{
"name": "콘텐츠 제작",
"title": "xxxx 작업",
"content": "주제: xxxx\n목표: xxxx\n작업 체크리스트: xxxx"
},
{
"name": "법률 업무",
"title": "xxxx 작업",
"content": "계약 배경: xxxx\n검토 초점: xxxx\n작업 체크리스트: xxxx"
},
{
"name": "학습 계획",
"title": "xxxx 작업",
"content": "학습 목표: xxxx\n학습 자료: xxxx\n작업 체크리스트: xxxx"
},
{
"name": "프로젝트 관리",
"title": "xxxx 작업",
"content": "프로젝트 배경: xxxx\n작업 체크리스트: xxxx\n상태: xxxx"
},
{
"name": "테스트 작업",
"title": "xxxx 작업",
"content": "테스트 목표: xxxx\n테스트 범위: xxxx\n테스트 케이스: xxxx\n문제 기록: xxxx"
},
{
"name": "데이터 분석",
"title": "xxxx 작업",
"content": "분석 목표: xxxx\n데이터 출처: xxxx\n분석 방법: xxxx\n결론 및 제안: xxxx"
},
{
"name": "공급망 관리",
"title": "xxxx 작업",
"content": "작업 목표: xxxx\n공급업체 정보: xxxx\n작업 체크리스트: xxxx"
},
{
"name": "안전 점검",
"title": "xxxx 작업",
"content": "점검 범위: xxxx\n점검 기준: xxxx\n문제 기록: xxxx\n수정 계획: xxxx"
},
{
"name": "행정 업무",
"title": "xxxx 작업",
"content": "작업 설명: xxxx\n담당자: xxxx\n작업 체크리스트: xxxx"
}
],
"ja": [
{
"name": "一般タスク",
"title": "xxxx タスク",
"content": "説明xxxx\nチェックリストxxxx"
},
{
"name": "製品要件",
"title": "xxxx タスク",
"content": "背景xxxx\n目標xxxx\nチェックリストxxxx"
},
{
"name": "技術タスク",
"title": "xxxx タスク",
"content": "背景xxxx\n技術目標xxxx\nタスクリストxxxx"
},
{
"name": "運営タスク",
"title": "xxxx タスク",
"content": "背景xxxx\n活動計画xxxx\nデータ指標xxxx\nタスクリストxxxx"
},
{
"name": "マーケティング",
"title": "xxxx タスク",
"content": "背景xxxx\nプロモーション計画xxxx\nデータ指標xxxx\nタスクリストxxxx"
},
{
"name": "デザインタスク",
"title": "xxxx タスク",
"content": "背景xxxx\nデザイン要件xxxx\nタスクリストxxxx\n関連リソースxxxx"
},
{
"name": "人事タスク",
"title": "xxxx タスク",
"content": "目標xxxx\n内容xxxx\nタスクリストxxxx"
},
{
"name": "財務タスク",
"title": "xxxx タスク",
"content": "背景xxxx\n承認プロセスxxxx\n精算リストxxxx"
},
{
"name": "営業タスク",
"title": "xxxx タスク",
"content": "顧客情報xxxx\n営業目標xxxx\nタスクリストxxxx"
},
{
"name": "カスタマーサポート",
"title": "xxxx タスク",
"content": "顧客問題xxxx\n優先順位xxxx\n解決策xxxx\nタスクリストxxxx"
},
{
"name": "コンテンツ制作",
"title": "xxxx タスク",
"content": "テーマxxxx\n目標xxxx\nタスクリストxxxx"
},
{
"name": "法務業務",
"title": "xxxx タスク",
"content": "契約背景xxxx\nレビューのポイントxxxx\nタスクリストxxxx"
},
{
"name": "学習計画",
"title": "xxxx タスク",
"content": "学習目標xxxx\n学習リソースxxxx\nタスクリストxxxx"
},
{
"name": "プロジェクト管理",
"title": "xxxx タスク",
"content": "プロジェクト背景xxxx\nタスクリストxxxx\nステータスxxxx"
},
{
"name": "テストタスク",
"title": "xxxx タスク",
"content": "テスト目標xxxx\nテスト範囲xxxx\nテストケースxxxx\n問題記録xxxx"
},
{
"name": "データ分析",
"title": "xxxx タスク",
"content": "分析目標xxxx\nデータソースxxxx\n分析方法xxxx\n結論と提案xxxx"
},
{
"name": "サプライチェーン管理",
"title": "xxxx タスク",
"content": "タスク目標xxxx\nサプライヤー情報xxxx\nタスクリストxxxx"
},
{
"name": "安全点検",
"title": "xxxx タスク",
"content": "点検範囲xxxx\n点検基準xxxx\n問題記録xxxx\n是正計画xxxx"
},
{
"name": "管理業務",
"title": "xxxx タスク",
"content": "タスク説明xxxx\n担当者xxxx\nタスクリストxxxx"
}
],
"de": [
{
"name": "Allgemeine Aufgabe",
"title": "xxxx Aufgabe",
"content": "Beschreibung: xxxx\nCheckliste: xxxx"
},
{
"name": "Produktanforderung",
"title": "xxxx Aufgabe",
"content": "Hintergrund: xxxx\nZiel: xxxx\nCheckliste: xxxx"
},
{
"name": "Technische Aufgabe",
"title": "xxxx Aufgabe",
"content": "Hintergrund: xxxx\nTechnisches Ziel: xxxx\nAufgabenliste: xxxx"
},
{
"name": "Betriebsaufgabe",
"title": "xxxx Aufgabe",
"content": "Hintergrund: xxxx\nAktivitätsplan: xxxx\nDatenkennzahlen: xxxx\nAufgabenliste: xxxx"
},
{
"name": "Marketing",
"title": "xxxx Aufgabe",
"content": "Hintergrund: xxxx\nWerbeplan: xxxx\nDatenkennzahlen: xxxx\nAufgabenliste: xxxx"
},
{
"name": "Design-Aufgabe",
"title": "xxxx Aufgabe",
"content": "Hintergrund: xxxx\nDesignanforderungen: xxxx\nAufgabenliste: xxxx\nRelevante Ressourcen: xxxx"
},
{
"name": "Personalwesen",
"title": "xxxx Aufgabe",
"content": "Ziel: xxxx\nInhalt: xxxx\nAufgabenliste: xxxx"
},
{
"name": "Finanzaufgabe",
"title": "xxxx Aufgabe",
"content": "Hintergrund: xxxx\nGenehmigungsprozess: xxxx\nErstattungsliste: xxxx"
},
{
"name": "Verkaufsaufgabe",
"title": "xxxx Aufgabe",
"content": "Kundeninformationen: xxxx\nVerkaufsziel: xxxx\nAufgabenliste: xxxx"
},
{
"name": "Kundensupport",
"title": "xxxx Aufgabe",
"content": "Kundenprobleme: xxxx\nPrioritäten: xxxx\nLösung: xxxx\nAufgabenliste: xxxx"
},
{
"name": "Inhaltserstellung",
"title": "xxxx Aufgabe",
"content": "Thema: xxxx\nZiel: xxxx\nAufgabenliste: xxxx"
},
{
"name": "Rechtsangelegenheiten",
"title": "xxxx Aufgabe",
"content": "Vertragsgrundlage: xxxx\nPrüfungsschwerpunkte: xxxx\nAufgabenliste: xxxx"
},
{
"name": "Lernplan",
"title": "xxxx Aufgabe",
"content": "Lernziel: xxxx\nLernressourcen: xxxx\nAufgabenliste: xxxx"
},
{
"name": "Projektmanagement",
"title": "xxxx Aufgabe",
"content": "Projektgrundlage: xxxx\nAufgabenliste: xxxx\nStatus: xxxx"
},
{
"name": "Testaufgabe",
"title": "xxxx Aufgabe",
"content": "Testziel: xxxx\nTestumfang: xxxx\nTestfälle: xxxx\nProblemliste: xxxx"
},
{
"name": "Datenanalyse",
"title": "xxxx Aufgabe",
"content": "Analyseziel: xxxx\nDatenquelle: xxxx\nAnalysemethoden: xxxx\nSchlussfolgerungen und Empfehlungen: xxxx"
},
{
"name": "Lieferkettenmanagement",
"title": "xxxx Aufgabe",
"content": "Aufgabenziel: xxxx\nLieferanteninformationen: xxxx\nAufgabenliste: xxxx"
},
{
"name": "Sicherheitsprüfung",
"title": "xxxx Aufgabe",
"content": "Prüfungsumfang: xxxx\nPrüfungsstandards: xxxx\nProblemliste: xxxx\nKorrekturplan: xxxx"
},
{
"name": "Verwaltungsaufgaben",
"title": "xxxx Aufgabe",
"content": "Aufgabenbeschreibung: xxxx\nVerantwortliche Person: xxxx\nAufgabenliste: xxxx"
}
],
"fr": [
{
"name": "Tâche Générale",
"title": "xxxx Tâche",
"content": "Description : xxxx\nListe de contrôle : xxxx"
},
{
"name": "Exigence Produit",
"title": "xxxx Tâche",
"content": "Contexte : xxxx\nObjectif : xxxx\nListe de contrôle : xxxx"
},
{
"name": "Tâche Technique",
"title": "xxxx Tâche",
"content": "Contexte : xxxx\nObjectif Technique : xxxx\nListe des tâches : xxxx"
},
{
"name": "Tâche Opérationnelle",
"title": "xxxx Tâche",
"content": "Contexte : xxxx\nPlan d'activité : xxxx\nIndicateurs de données : xxxx\nListe des tâches : xxxx"
},
{
"name": "Marketing",
"title": "xxxx Tâche",
"content": "Contexte : xxxx\nPlan de promotion : xxxx\nIndicateurs de données : xxxx\nListe des tâches : xxxx"
},
{
"name": "Tâche de Design",
"title": "xxxx Tâche",
"content": "Contexte : xxxx\nExigences de design : xxxx\nListe des tâches : xxxx\nRessources associées : xxxx"
},
{
"name": "Ressources Humaines",
"title": "xxxx Tâche",
"content": "Objectif : xxxx\nContenu : xxxx\nListe des tâches : xxxx"
},
{
"name": "Tâche Financière",
"title": "xxxx Tâche",
"content": "Contexte : xxxx\nProcessus d'approbation : xxxx\nListe des remboursements : xxxx"
},
{
"name": "Tâche Commerciale",
"title": "xxxx Tâche",
"content": "Informations client : xxxx\nObjectif de vente : xxxx\nListe des tâches : xxxx"
},
{
"name": "Support Client",
"title": "xxxx Tâche",
"content": "Problèmes client : xxxx\nPriorité : xxxx\nSolution : xxxx\nListe des tâches : xxxx"
},
{
"name": "Création de Contenu",
"title": "xxxx Tâche",
"content": "Thème : xxxx\nObjectif : xxxx\nListe des tâches : xxxx"
},
{
"name": "Affaires Juridiques",
"title": "xxxx Tâche",
"content": "Contexte du contrat : xxxx\nPoints clés de révision : xxxx\nListe des tâches : xxxx"
},
{
"name": "Plan d'Apprentissage",
"title": "xxxx Tâche",
"content": "Objectif d'apprentissage : xxxx\nRessources d'apprentissage : xxxx\nListe des tâches : xxxx"
},
{
"name": "Gestion de Projet",
"title": "xxxx Tâche",
"content": "Contexte du projet : xxxx\nListe des tâches : xxxx\nStatut : xxxx"
},
{
"name": "Tâche de Test",
"title": "xxxx Tâche",
"content": "Objectif du test : xxxx\nPérimètre du test : xxxx\nCas de test : xxxx\nEnregistrements des problèmes : xxxx"
},
{
"name": "Analyse de Données",
"title": "xxxx Tâche",
"content": "Objectif d'analyse : xxxx\nSource de données : xxxx\nMéthodes d'analyse : xxxx\nConclusions et recommandations : xxxx"
},
{
"name": "Gestion de la Chaîne d'Approvisionnement",
"title": "xxxx Tâche",
"content": "Objectif de la tâche : xxxx\nInformations sur le fournisseur : xxxx\nListe des tâches : xxxx"
},
{
"name": "Inspection de Sécurité",
"title": "xxxx Tâche",
"content": "Périmètre de l'inspection : xxxx\nNormes d'inspection : xxxx\nEnregistrements des problèmes : xxxx\nPlan de correction : xxxx"
},
{
"name": "Affaires Administratives",
"title": "xxxx Tâche",
"content": "Description de la tâche : xxxx\nResponsable : xxxx\nListe des tâches : xxxx"
}
],
"id": [
{
"name": "Tugas Umum",
"title": "xxxx Tugas",
"content": "Deskripsi: xxxx\nDaftar Periksa: xxxx"
},
{
"name": "Kebutuhan Produk",
"title": "xxxx Tugas",
"content": "Latar Belakang: xxxx\nTujuan: xxxx\nDaftar Periksa: xxxx"
},
{
"name": "Tugas Teknis",
"title": "xxxx Tugas",
"content": "Latar Belakang: xxxx\nTujuan Teknis: xxxx\nDaftar Tugas: xxxx"
},
{
"name": "Tugas Operasional",
"title": "xxxx Tugas",
"content": "Latar Belakang: xxxx\nRencana Aktivitas: xxxx\nIndikator Data: xxxx\nDaftar Tugas: xxxx"
},
{
"name": "Pemasaran",
"title": "xxxx Tugas",
"content": "Latar Belakang: xxxx\nRencana Promosi: xxxx\nIndikator Data: xxxx\nDaftar Tugas: xxxx"
},
{
"name": "Tugas Desain",
"title": "xxxx Tugas",
"content": "Latar Belakang: xxxx\nPersyaratan Desain: xxxx\nDaftar Tugas: xxxx\nSumber Daya Terkait: xxxx"
},
{
"name": "Sumber Daya Manusia",
"title": "xxxx Tugas",
"content": "Tujuan: xxxx\nIsi: xxxx\nDaftar Tugas: xxxx"
},
{
"name": "Tugas Keuangan",
"title": "xxxx Tugas",
"content": "Latar Belakang: xxxx\nProses Persetujuan: xxxx\nDaftar Penggantian: xxxx"
},
{
"name": "Tugas Penjualan",
"title": "xxxx Tugas",
"content": "Informasi Pelanggan: xxxx\nTarget Penjualan: xxxx\nDaftar Tugas: xxxx"
},
{
"name": "Dukungan Pelanggan",
"title": "xxxx Tugas",
"content": "Masalah Pelanggan: xxxx\nPrioritas: xxxx\nSolusi: xxxx\nDaftar Tugas: xxxx"
},
{
"name": "Pembuatan Konten",
"title": "xxxx Tugas",
"content": "Topik: xxxx\nTujuan: xxxx\nDaftar Tugas: xxxx"
},
{
"name": "Urusan Hukum",
"title": "xxxx Tugas",
"content": "Latar Belakang Kontrak: xxxx\nFokus Peninjauan: xxxx\nDaftar Tugas: xxxx"
},
{
"name": "Rencana Pembelajaran",
"title": "xxxx Tugas",
"content": "Tujuan Pembelajaran: xxxx\nSumber Belajar: xxxx\nDaftar Tugas: xxxx"
},
{
"name": "Manajemen Proyek",
"title": "xxxx Tugas",
"content": "Latar Belakang Proyek: xxxx\nDaftar Tugas: xxxx\nStatus: xxxx"
},
{
"name": "Tugas Pengujian",
"title": "xxxx Tugas",
"content": "Tujuan Pengujian: xxxx\nLingkup Pengujian: xxxx\nKasus Pengujian: xxxx\nCatatan Masalah: xxxx"
},
{
"name": "Analisis Data",
"title": "xxxx Tugas",
"content": "Tujuan Analisis: xxxx\nSumber Data: xxxx\nMetode Analisis: xxxx\nKesimpulan dan Rekomendasi: xxxx"
},
{
"name": "Manajemen Rantai Pasokan",
"title": "xxxx Tugas",
"content": "Tujuan Tugas: xxxx\nInformasi Pemasok: xxxx\nDaftar Tugas: xxxx"
},
{
"name": "Inspeksi Keamanan",
"title": "xxxx Tugas",
"content": "Lingkup Inspeksi: xxxx\nStandar Inspeksi: xxxx\nCatatan Masalah: xxxx\nRencana Koreksi: xxxx"
},
{
"name": "Tugas Administrasi",
"title": "xxxx Tugas",
"content": "Deskripsi Tugas: xxxx\nPenanggung Jawab: xxxx\nDaftar Tugas: xxxx"
}
],
"ru": [
{
"name": "Общая задача",
"title": "xxxx Задача",
"content": "Описание: xxxx\nЧек-лист: xxxx"
},
{
"name": "Требования к продукту",
"title": "xxxx Задача",
"content": "Контекст: xxxx\nЦель: xxxx\nЧек-лист: xxxx"
},
{
"name": "Техническая задача",
"title": "xxxx Задача",
"content": "Контекст: xxxx\nТехническая цель: xxxx\nСписок задач: xxxx"
},
{
"name": "Операционная задача",
"title": "xxxx Задача",
"content": "Контекст: xxxx\nПлан действий: xxxx\nПоказатели данных: xxxx\nСписок задач: xxxx"
},
{
"name": "Маркетинг",
"title": "xxxx Задача",
"content": "Контекст: xxxx\nПлан продвижения: xxxx\nПоказатели данных: xxxx\nСписок задач: xxxx"
},
{
"name": "Дизайнерская задача",
"title": "xxxx Задача",
"content": "Контекст: xxxx\nТребования к дизайну: xxxx\nСписок задач: xxxx\nСвязанные ресурсы: xxxx"
},
{
"name": "Кадровая задача",
"title": "xxxx Задача",
"content": "Цель: xxxx\nСодержание: xxxx\nСписок задач: xxxx"
},
{
"name": "Финансовая задача",
"title": "xxxx Задача",
"content": "Контекст: xxxx\nПроцесс утверждения: xxxx\nЧек-лист возмещения: xxxx"
},
{
"name": "Задача по продажам",
"title": "xxxx Задача",
"content": "Информация о клиентах: xxxx\nЦель продаж: xxxx\nСписок задач: xxxx"
},
{
"name": "Клиентская поддержка",
"title": "xxxx Задача",
"content": "Проблемы клиентов: xxxx\nПриоритет: xxxx\nРешение: xxxx\nСписок задач: xxxx"
},
{
"name": "Создание контента",
"title": "xxxx Задача",
"content": "Тема: xxxx\nЦель: xxxx\nСписок задач: xxxx"
},
{
"name": "Юридические вопросы",
"title": "xxxx Задача",
"content": "Контекст контракта: xxxx\nКлючевые моменты проверки: xxxx\nСписок задач: xxxx"
},
{
"name": "План обучения",
"title": "xxxx Задача",
"content": "Цель обучения: xxxx\nУчебные ресурсы: xxxx\nСписок задач: xxxx"
},
{
"name": "Управление проектом",
"title": "xxxx Задача",
"content": "Контекст проекта: xxxx\nСписок задач: xxxx\nСтатус: xxxx"
},
{
"name": "Тестирование",
"title": "xxxx Задача",
"content": "Цель тестирования: xxxx\nОбласть тестирования: xxxx\nТестовые кейсы: xxxx\nЖурнал проблем: xxxx"
},
{
"name": "Анализ данных",
"title": "xxxx Задача",
"content": "Цель анализа: xxxx\nИсточник данных: xxxx\nМетоды анализа: xxxx\nВыводы и рекомендации: xxxx"
},
{
"name": "Управление цепочками поставок",
"title": "xxxx Задача",
"content": "Цель задачи: xxxx\nИнформация о поставщиках: xxxx\nСписок задач: xxxx"
},
{
"name": "Проверка безопасности",
"title": "xxxx Задача",
"content": "Область проверки: xxxx\nКритерии проверки: xxxx\nЖурнал проблем: xxxx\nПлан корректировки: xxxx"
},
{
"name": "Административные задачи",
"title": "xxxx Задача",
"content": "Описание задачи: xxxx\nОтветственное лицо: xxxx\nСписок задач: xxxx"
}
]
}

View File

@ -630,7 +630,7 @@ export default {
setTaskTemplate(item, force = false) {
if (force) {
this.templateActiveID = item.id;
this.addData.name = item.name;
this.addData.name = item.title;
this.addData.content = nostyle(item.content, {sanitize: false});
this.$nextTick(() => {
this.$refs.input.focus();

View File

@ -7,7 +7,11 @@
padding: 20px 20px 10px;
display: flex;
align-items: center;
justify-content: space-between;
justify-content: flex-start;
@media screen and (min-width: 500px) {
justify-content: space-between;
}
.title {
color: $primary-title-color;