diff --git a/src/views/person/PersonForm.vue b/src/views/person/PersonForm.vue
index 80aa59f..912209b 100644
--- a/src/views/person/PersonForm.vue
+++ b/src/views/person/PersonForm.vue
@@ -15,7 +15,7 @@
-
+
@@ -26,7 +26,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
-
+
@@ -38,7 +38,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
-
+
@@ -106,7 +106,9 @@
:wrapperCol="{span: 20}"
has-feedback
>
-
+
+ {{ item.name }}
+
@@ -120,7 +122,9 @@
:wrapperCol="wrapperCol"
has-feedback
>
-
+
+ {{ item.name }}
+
@@ -132,7 +136,9 @@
:wrapperCol="wrapperCol"
has-feedback
>
-
+
+ {{ item.name }}
+
@@ -146,20 +152,8 @@
:wrapperCol="{span: 20}"
>
-
- 单位主要负责人
-
-
- 安全管理员
-
-
- 班组长
-
-
- 特种作业人员
-
-
- 其他
+
+ {{ item.name }}
@@ -175,7 +169,7 @@
:wrapperCol="wrapperCol"
has-feedback
>
-
+
@@ -183,6 +177,9 @@
+
+ 上传身份证
+
@@ -192,6 +189,7 @@
+
diff --git a/src/views/project/ProjectStepForm.vue b/src/views/project/ProjectStepForm.vue
index 9a64d7a..2627017 100644
--- a/src/views/project/ProjectStepForm.vue
+++ b/src/views/project/ProjectStepForm.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/src/views/project/form/ProjectCourseList.vue b/src/views/project/form/ProjectCourseList.vue
index fae88a5..be0a795 100644
--- a/src/views/project/form/ProjectCourseList.vue
+++ b/src/views/project/form/ProjectCourseList.vue
@@ -9,7 +9,7 @@
添加课程
-
+
{{ index + 1 }}
@@ -49,34 +49,24 @@ export default {
data() {
//这里存放数据
return {
- form: this.$form.createForm(this, { name: 'project' }),
+ labelCol: {},
+ wrapperCol: {},
+ vertical: 'vertical',
+ data1: {},
totalHours: 0, //总课时
totalLearnHours: 0, //总学时
totalTopicNum: 0, //题目数量
- //查询数据
- queryParam: {},
- // 表头
+ queryParam: {},//查询数据
columns: [
{ title: '序号', key: 'id', dataIndex: 'id', width: 60, scopedSlots: { customRender: 'serial' } },
{ title: '课程编号', dataIndex: 'courseNo', key: 'courseNo' },
{ title: '课程名称', dataIndex: 'courseName', key: 'courseName' },
{ title: '课时', dataIndex: 'courseHours', key: 'courseHours', customRender: (text) => text + '分' },
{ title: '学时要求', dataIndex: 'learnHours', key: 'learnHours', customRender: (text) => text + '分' },
- { title: '题量', dataIndex: 'topicNumber', key: 'projectName' },
+ { title: '题量', dataIndex: 'topicNumber', key: 'topicNumber' },
{ title: '项目名称', dataIndex: 'projectName', key: 'projectName' },
- {
- title: '操作',
- width: 200,
- align: 'center',
- scopedSlots: { customRender: 'action' },
- },
- ],
- // 加载数据方法 必须为 Promise 对象
- loadData: (parameter) => {
- return getProjectList(Object.assign(parameter, this.queryParam)).then((res) => {
- return res
- })
- },
+ { title: '操作', width: 200, align: 'center', scopedSlots: { customRender: 'action' }, },
+ ], // 表头
}
},
//计算属性 类似于data概念
diff --git a/src/views/project/form/ProjectCourseSelect.vue b/src/views/project/form/ProjectCourseSelect.vue
index 1b882dd..5688663 100644
--- a/src/views/project/form/ProjectCourseSelect.vue
+++ b/src/views/project/form/ProjectCourseSelect.vue
@@ -12,8 +12,8 @@
- 系统课程
- 自制课程
+ 系统课程
+ 自制课程
- 补考次数:
+
diff --git a/src/views/sys/dictionary/DictionaryList.vue b/src/views/sys/dictionary/DictionaryList.vue
index 02c2509..2c97272 100644
--- a/src/views/sys/dictionary/DictionaryList.vue
+++ b/src/views/sys/dictionary/DictionaryList.vue
@@ -7,6 +7,8 @@
@search="handleRefresh"
@reset="() => {queryParam = {}, handleRefresh()}" >
+
+ 新增
import { dictionaryItemPage, dictionaryItemDel } from '@/api/sys/dictionaryItem'
-import { STable } from '@/components'
+import { STable, GoBack } from '@/components'
import DictionaryItemForm from './DictionaryItemForm'
export default {
name: 'DictionaryItemList',
components: {
STable,
+ GoBack,
DictionaryItemForm
},
data () {
@@ -91,6 +92,10 @@ export default {
}
},
methods: {
+ goBack () {
+ // 返回到上一级
+ this.$router.push({ path: '/dictionary' })
+ },
// 增
handleCreate () {
this.$refs.modal.add()