diff --git a/src/components/DictSelect/index.vue b/src/components/DictSelect/index.vue
new file mode 100644
index 00000000..f12f12b0
--- /dev/null
+++ b/src/components/DictSelect/index.vue
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/DictTag/index.vue b/src/components/DictTag/index.vue
new file mode 100644
index 00000000..b21bf9ad
--- /dev/null
+++ b/src/components/DictTag/index.vue
@@ -0,0 +1,60 @@
+
+ {{currentItem.name}}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main.js b/src/main.js
index a2c62b7b..dff3464e 100644
--- a/src/main.js
+++ b/src/main.js
@@ -24,10 +24,14 @@ Vue.use(VueQriously)
import DateRange from '@/components/dateRange/index'
+import DictSelect from '@/components/DictSelect/index'
+import DictTag from '@/components/DictTag/index'
Vue.prototype.$echarts = echarts
Vue.use(Print); //注册
-Vue.component('date-range',DateRange)
+Vue.component('date-range',DateRange)
+Vue.component('dict-select',DictSelect)
+Vue.component('dict-tag',DictTag)
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 8fe06ad1..7c7bb9b7 100644
--- a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue
+++ b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue
@@ -15,15 +15,15 @@
{{editForm.execUsername}}
- {{editForm.execUsername}}
- 执行人
+ {{editForm.execUsername}}
+ 执行人
- {{formatDicts(dicts,'priority',editForm.priority)}}
- 优先级
+ {{formatDicts(dicts,'priority',editForm.priority)}}
+ 优先级
@@ -40,8 +40,8 @@
- {{formatDicts(dicts,'testStepTcode',editForm.execStatus)}}
- 执行结果
+ {{formatDicts(dicts,'testStepTcode',editForm.execStatus)}}
+ 执行结果
@@ -55,8 +55,7 @@
用例状态
- {{item.name}}
-
+
@@ -73,7 +72,7 @@
用例类型
- {{item.name}}
+
@@ -156,19 +155,10 @@
- {{formatDicts(dicts,'testStepTcode',editForm.execStatus)}}
+ {{formatDicts(dicts,'testStepTcode',editForm.execStatus)}}
-
-
-
-
-
- {{item.name}}
-
-
-
-
-
+
+
下一条
@@ -185,7 +175,7 @@
-
+
@@ -237,10 +227,10 @@ import XmQuestionMng from '@/views/xm/core/xmQuestion/XmQuestionMng';//修改
]
},
editForm: {
- bugs:'',execUserid:'',caseId:'',ltime:'',ctime:'',execStatus:'',execUsername:'',planId:'',caseName:'',priority:'',remark:'',testStep:''
+ bugs:'',execUserid:'',caseId:'',ltime:'',ctime:'',execStatus:'',execUsername:'',planId:'',caseName:'',priority:'',remark:'',testStep:'',caseType:''
},
editFormBak: {
- bugs:'',execUserid:'',caseId:'',ltime:'',ctime:'',execStatus:'',execUsername:'',planId:'',caseName:'',priority:'',remark:'',testStep:''
+ bugs:'',execUserid:'',caseId:'',ltime:'',ctime:'',execStatus:'',execUsername:'',planId:'',caseName:'',priority:'',remark:'',testStep:'',caseType:''
},
maxTableHeight:300,
menuVisible:false,
@@ -367,7 +357,7 @@ import XmQuestionMng from '@/views/xm/core/xmQuestion/XmQuestionMng';//修改
margin-top: 5px;
font-size: 16px;
}
- .sub-title{
+ .field-label{
margin-top: -10px;
font-size: 14px;
color: #C0C4CC;