From de5f9c993b4da881b17c79aa18322a9d5751ab93 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 28 Apr 2020 16:41:42 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E6=A8=A1=E7=89=88=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/assets/template.png | Bin 0 -> 4741 bytes .../components/common/router/router.js | 5 + .../components/settings/SettingMenu.vue | 1 + .../workspace/TestCaseReportTemplate.vue | 116 +++++++++ .../components/TestCaseReportTemplateEdit.vue | 245 ++++++++++++++++++ 5 files changed, 367 insertions(+) create mode 100644 frontend/src/assets/template.png create mode 100644 frontend/src/business/components/settings/workspace/TestCaseReportTemplate.vue create mode 100644 frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue diff --git a/frontend/src/assets/template.png b/frontend/src/assets/template.png new file mode 100644 index 0000000000000000000000000000000000000000..1edb6c8bf7a5a9e10770f586e0cbd2d0ba75fedf GIT binary patch literal 4741 zcmZ`-cQhP-*Pqpi644XAMqOnsR@CUxNt6)1TNaDx1QDGG5iJp2v`C`FPp^p@qL-f_ z>awh|R(&_m`+LrL-shZm&fK{(-}@=|&YAgRCf-nAlZxUt1pok4+FEMH_-ud=M>0bE zaX%_w1pp{H-R|EvbaQY3fTweruSrcazA;8_fVH)>T%!z&W0q*Q)ZJZaiHf6>(}-^A zB$2E1q=*PLF`Amzz5l?SP(ysvh&IH6J|x22&}gdn8C9l?HeikY>u_YrZ~eM`q1kU^ zDHpdf1iWJ(q)qfQq5?2#xR*`)w$3{4w=<52I3r0+K@6@wO~yWko}ToPl1Eo9f3<_E z3$6TLofBN^LxMsDnE+l!UlN1w!_lDtun;YrwMMAC85Ml!hO-|~W9A#n>HxSN56C_E z_QZF@(DzjrKUWH|92>wO6vy+8Kv|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gWK9`Ly7Q^l}kj4_uC8qK`t8EdfB+Lquv}HXk zko|uDyqhFjgqHzYtq~qsTz=rm5J5jOt8QRLN?(w_VT7o#a)~*J`s|gI*M4{VUQ-fV zX@vW-b@nw)uTTviLUK@zmqS0b4SXJl^8UWb{x;t_;Q1&29>p9ZKA$!Vp#hS!S(qK9 z)~D)FC+uzVzM|dXM^|pWYKp9GCuzqEX7zcp%7!)V221-Dp?|glfe6rdvUtmIsM=@z zv(AT9H%B_!A)R0jzE1cANQz5}i;6=;C1p*;#bM$Q7(_-`ToxuSKI*m*^nVC&Z$~%h zp#PuH2661g6YlDU#LwFq8EEJ01h^uR2tODY>;|`Ual(h2 zgNK;6ughPfZ25RB^B=6Kt3TWx22=BP@P|8jAz?5>Jk$@6D7$U}{})F4j|vQ?<@B#^ zr6ACQ+Z^8iZtEYNe=uflj!0KPQU6OWo*Uc=8H8{G{?!#2;pL)K|49G8 zbo5N|C_qA5R#seG3L-0$9Z$WBhur!P9TT@;CqPa{5~8ZgZGm;cS2g~l`p{S#aCY-_ z!cPyjLm{{$t('commons.workspace')}} {{$t('commons.member')}} + 测试报告模版 diff --git a/frontend/src/business/components/settings/workspace/TestCaseReportTemplate.vue b/frontend/src/business/components/settings/workspace/TestCaseReportTemplate.vue new file mode 100644 index 0000000000..af856ff6ea --- /dev/null +++ b/frontend/src/business/components/settings/workspace/TestCaseReportTemplate.vue @@ -0,0 +1,116 @@ + + + + + diff --git a/frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue b/frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue new file mode 100644 index 0000000000..2724a10bd9 --- /dev/null +++ b/frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue @@ -0,0 +1,245 @@ + + + + + From 19c21dab232e0e80190662aa7ad445ad852a15bc Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 28 Apr 2020 21:14:09 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8A=A5=E5=91=8Asql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package.json | 2 ++ .../components/TestCaseReportTemplateEdit.vue | 29 +++++++++++++------ frontend/src/business/main.js | 4 ++- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index a21e6a8489..5fdab05896 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -8,6 +8,8 @@ "lint": "vue-cli-service lint" }, "dependencies": { + "@ckeditor/ckeditor5-build-classic": "^18.0.0", + "@ckeditor/ckeditor5-vue": "^1.0.1", "@fortawesome/fontawesome-svg-core": "^1.2.26", "@fortawesome/free-regular-svg-icons": "^5.12.0", "@fortawesome/free-solid-svg-icons": "^5.12.0", diff --git a/frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue b/frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue index 2724a10bd9..c7d32cefff 100644 --- a/frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue +++ b/frontend/src/business/components/settings/workspace/components/TestCaseReportTemplateEdit.vue @@ -67,9 +67,15 @@ :list="previews" group="people" @change="log"> - - {{ item.name }} - + + + + + + + @@ -92,6 +98,7 @@