refactor: 测试审批与测试计划脑图编辑

This commit is contained in:
chenjianxing 2021-03-17 13:03:59 +08:00
parent f9447a3ab2
commit e30209e990
5 changed files with 12 additions and 1 deletions

View File

@ -49,7 +49,7 @@
"xml-js": "^1.6.11",
"yan-progress": "^1.0.3",
"jsonpath": "^1.1.0",
"vue-minder-editor-plus": "^1.0.17",
"vue-minder-editor-plus": "^1.0.18",
"jsencrypt": "^3.1.0"
},
"devDependencies": {

View File

@ -7,6 +7,7 @@
:height="700"
:progress-enable="false"
:tags="tags"
:distinct-tags="distinctTags"
@save="save"
/>
</div>
@ -36,6 +37,12 @@ export default {
return []
}
},
distinctTags: {
type: Array,
default() {
return []
}
}
},
data() {
return {

View File

@ -3,6 +3,7 @@
v-loading="result.loading"
:tree-nodes="treeNodes"
:data-map="dataMap"
:tags="tags"
@save="save"
/>
</template>
@ -17,6 +18,7 @@ name: "TestCaseMinder",
return{
testCase: [],
dataMap: new Map(),
tags: ['用例', '测试步骤', '预期结果', '备注'],
result: {}
}
},

View File

@ -4,6 +4,7 @@
:tree-nodes="treeNodes"
:data-map="dataMap"
:tags="tags"
:distinct-tags="[...tags, '未开始']"
@save="save"
/>
</template>

View File

@ -4,6 +4,7 @@
:tree-nodes="treeNodes"
:data-map="dataMap"
:tags="tags"
:distinct-tags="[...tags, '未开始']"
@save="save"
/>
</template>