refactor: 测试审批与测试计划脑图编辑
This commit is contained in:
parent
f9447a3ab2
commit
e30209e990
|
@ -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": {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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: {}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
:tree-nodes="treeNodes"
|
||||
:data-map="dataMap"
|
||||
:tags="tags"
|
||||
:distinct-tags="[...tags, '未开始']"
|
||||
@save="save"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
:tree-nodes="treeNodes"
|
||||
:data-map="dataMap"
|
||||
:tags="tags"
|
||||
:distinct-tags="[...tags, '未开始']"
|
||||
@save="save"
|
||||
/>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue