diff --git a/src/api/QuestionClass.js b/src/api/QuestionClass.js
index e4a04c2..f4af1be 100644
--- a/src/api/QuestionClass.js
+++ b/src/api/QuestionClass.js
@@ -6,4 +6,20 @@ export default {
method: 'post'
});
},
+}
+
+export function getQuestionClass(params) {
+ return request({
+ url: `/QuestionClass/Get`,
+ method: 'get',
+ params
+ })
+}
+// 修改 | 保存
+export function EditQuestionClass(params) {
+ return request({
+ url: `/QuestionClass/Update`,
+ method: 'post',
+ data: params
+ })
}
\ No newline at end of file
diff --git a/src/views/QuestionBank/components/EditDimension.vue b/src/views/QuestionBank/components/EditDimension.vue
index 4647522..921d8fe 100644
--- a/src/views/QuestionBank/components/EditDimension.vue
+++ b/src/views/QuestionBank/components/EditDimension.vue
@@ -1,64 +1,288 @@
-
-
-
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 按照总分
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/QuestionBank/index.vue b/src/views/QuestionBank/index.vue
index cdb204a..63cb74b 100644
--- a/src/views/QuestionBank/index.vue
+++ b/src/views/QuestionBank/index.vue
@@ -416,7 +416,8 @@ export default {
//维度编辑
handleEditDimension(node,data) {
console.log(data);
- this.$refs.editDimensionDialog.dialogFormVisible = true;
+ // this.$refs.editDimensionDialog.dialogFormVisible = true;
+ this.$refs.editDimensionDialog.show(data.id);
this.currentEditDimension = data;
},
//切换分类
diff --git a/vue.config.js b/vue.config.js
index 30a91b7..7cc6e8a 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -39,6 +39,7 @@ module.exports = {
proxy: {
'/development': {
target: `http://inteview.t1j2.com/`, //后台服务地址
+ // target:'https://localhost:44399',
changeOrigin: true,
pathRewrite: {
'^/development': ''