diff --git a/src/components/DictField/index.vue b/src/components/DictField/index.vue new file mode 100644 index 00000000..d5747061 --- /dev/null +++ b/src/components/DictField/index.vue @@ -0,0 +1,149 @@ + + + + + + + \ No newline at end of file diff --git a/src/main.js b/src/main.js index dff3464e..25ca190f 100644 --- a/src/main.js +++ b/src/main.js @@ -26,12 +26,14 @@ Vue.use(VueQriously) import DateRange from '@/components/dateRange/index' import DictSelect from '@/components/DictSelect/index' import DictTag from '@/components/DictTag/index' +import DictField from '@/components/DictField/index' Vue.prototype.$echarts = echarts Vue.use(Print); //注册 Vue.component('date-range',DateRange) Vue.component('dict-select',DictSelect) Vue.component('dict-tag',DictTag) +Vue.component('dict-field',DictField) Vue.use(Element, { size: 'small', // set element-ui default size i18n: (key, value) => i18n.t(key, value) diff --git a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue index 7c7bb9b7..181c41d5 100644 --- a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue +++ b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue @@ -19,20 +19,8 @@ 执行人 - - -
- {{formatDicts(dicts,'priority',editForm.priority)}} - 优先级 -
- - - - - {{item.name}} - - - + +