Commit 94456b54 authored by 小费同学阿's avatar 小费同学阿 💬

进度信息模块封装ui代码优化

parent d25b878c
...@@ -456,6 +456,7 @@ color: #333333;" ...@@ -456,6 +456,7 @@ color: #333333;"
<prescribing-modle :is-show="showPrescribing" :visit-form="visitForm" :register-form="registerForm" /> <prescribing-modle :is-show="showPrescribing" :visit-form="visitForm" :register-form="registerForm" />
</div> </div>
<!--底部返回按钮--> <!--底部返回按钮-->
<el-button class="queryBtn" icon="el-icon-check" @click="submitForm">提 交</el-button>
<el-button class="backBth" icon="el-icon-back" @click="goBack">返 回</el-button> <el-button class="backBth" icon="el-icon-back" @click="goBack">返 回</el-button>
</el-form> </el-form>
</div> </div>
...@@ -611,6 +612,23 @@ export default { ...@@ -611,6 +612,23 @@ export default {
this.getInfo(this.$route.params.id) this.getInfo(this.$route.params.id)
}, },
methods: { methods: {
// 提交表单
submitForm() {
console.log('表单参数', this.form)
this.$refs['from'].validate(valid => {
if (valid) {
// addPosition(this.form).then(res => {
// console.log('添加后的信息', res)
// if (res.code === 200) {
// this.$router.push({
// path: '/administrative-management/position-management'
// })
// this.$message.success('操作成功')
// }
// })
}
})
},
parseTime, parseTime,
selectDictLabel, selectDictLabel,
checkRole, checkRole,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment