diff --git a/src/pages/project/add/index.vue b/src/pages/project/add/index.vue
index e34ffa0..54b1715 100644
--- a/src/pages/project/add/index.vue
+++ b/src/pages/project/add/index.vue
@@ -5,8 +5,8 @@
- 保存为草稿
- 确定并发布
+ 保存为草稿
+ 确定并发布
@@ -17,17 +17,17 @@
-
+
-
+
-
+
-
+
@@ -57,7 +57,7 @@
-
+
@@ -76,13 +76,13 @@
- 平均分配分值
- 手动分配分值
+ 平均分配分值
+ 手动分配分值
(待分配分值: {{ handDistributionScore }}/100分)
- 判分点
- 批量删除
+ 判分点
+ 批量删除
- 删除
+ 删除
-
+
@@ -128,13 +128,13 @@
实验提示
启用
-
+
-
+
@@ -193,6 +193,7 @@ export default {
data() {
return {
projectId: this.$route.query.projectId,
+ item: this.$route.query.item,
systemList: [],
token: util.local.get(Setting.tokenKey),
isDetail: Boolean(this.$route.query.show),
diff --git a/src/pages/project/list/index.vue b/src/pages/project/list/index.vue
index 8adc55c..3e075f0 100644
--- a/src/pages/project/list/index.vue
+++ b/src/pages/project/list/index.vue
@@ -86,7 +86,8 @@
- 编辑
+ 查看
+ 编辑
删除
复制
@@ -271,9 +271,9 @@ export default {
this.setSystemId(this.systemId);
this.$router.push("/project/add");
},
- edit(row) { // 编辑
+ edit(row,item) { // 编辑
this.setSystemId(row.systemId);
- this.$router.push(`/project/add?projectId=${row.projectId}`);
+ this.$router.push(`/project/add?projectId=${row.projectId}&item=${item}`);
},
handleSelectionChange(val) { // 处理多选
this.multipleSelection = val;
diff --git a/src/pages/system/list/staff.vue b/src/pages/system/list/staff.vue
index 54bc345..f95cec4 100644
--- a/src/pages/system/list/staff.vue
+++ b/src/pages/system/list/staff.vue
@@ -176,7 +176,7 @@ export default {
},
rules: {
account: [
- { validator: accountPass, trigger: 'blur' }
+ { required: true, validator: accountPass, trigger: 'blur' }
],
userName: [
{ required: true, message: "请输入用户姓名", trigger: "blur" }
@@ -185,7 +185,7 @@ export default {
{ required: true, message: "请选择账号角色", trigger: "change" }
],
workNumber: [
- { validator: workNumberPass , trigger: 'blur' }
+ { required: true, validator: workNumberPass , trigger: 'blur' }
],
uniqueIdentification: [
// { required: true, message: '请输入唯一标识', trigger: 'blur' },