@ -28,12 +28,8 @@
< el -table -column prop = "caseId" label = "用例编号" width = "120" show -overflow -tooltip fixed = "left" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "caseId" label = "用例编号" width = "120" show -overflow -tooltip fixed = "left" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "execStatus" label = "执行结果" width = "120" show -overflow -tooltip >
< el -table -column prop = "execStatus" label = "执行结果" width = "120" show -overflow -tooltip >
< template slot -scope = " scope " >
< el -tag class = "cell-text" v-for ="(item,index) in formatDictsWithClass(dicts,'testStepTcode',scope.row.execStatus)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< el -select class = "cell-bar" v-model ="scope.row.execStatus" @change="editSomeFields(scope.row,'execStatus',$event)" >
< el -option v-for ="(item,index) in dicts['testStepTcode']" :key="index" :value="item.id" :label="item.name" > < / el -option >
< / e l - s e l e c t >
< template slot -scope = " scope " >
< dict -tag :dict ="dicts['testStepTcode']" v-model ="scope.row.execStatus" effect="dark" > < / dict -tag >
< / template >
< / template >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "caseName" label = "用例名称" min -width = " 250 " show -overflow -tooltip >
< el -table -column prop = "caseName" label = "用例名称" min -width = " 250 " show -overflow -tooltip >
@ -51,10 +47,7 @@
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "priority" label = "优先级" width = "120" show -overflow -tooltip >
< el -table -column prop = "priority" label = "优先级" width = "120" show -overflow -tooltip >
< template slot -scope = " scope " >
< template slot -scope = " scope " >
< el -tag class = "cell-text" v-for ="(item,index) in formatDictsWithClass(dicts,'priority',scope.row.execStatus)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< el -select class = "cell-bar" v-model ="scope.row.priority" @change="editSomeFields(scope.row,'priority',$event)" >
< el -option v-for ="(item,index) in dicts['priority']" :key="index" :value="item.id" :label="item.name" > < / el -option >
< / e l - s e l e c t >
< dict -tag :dict ="dicts['priority']" v-model ="scope.row.priority" > < / dict -tag >
< / template >
< / template >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "remark" label = "执行备注" min -width = " 120 " show -overflow -tooltip >
< el -table -column prop = "remark" label = "执行备注" min -width = " 120 " show -overflow -tooltip >