Browse Source

init

master
han\hanst 10 months ago
parent
commit
e5eabc8ca1
  1. 6
      src/views/modules/customCase/pro-add-or-update.vue

6
src/views/modules/customCase/pro-add-or-update.vue

@ -82,7 +82,8 @@
</el-row>
</el-form>
<span slot="footer" class="dialog-footer" style="margin-top: 45px">
<el-button type="primary" @click="dataFormSubmit()">{{ buttons.submit || '确定' }}</el-button>
<el-button type="primary" @click="dataFormSubmit(10)">{{'保存' }}</el-button>
<el-button type="primary" @click="dataFormSubmit(20)">{{'保存并提交' }}</el-button>
<el-button @click="visible = false">{{ buttons.close || '取消' }}</el-button>
</span>
</el-dialog>
@ -227,7 +228,7 @@ export default {
this.getSysName()
},
//
dataFormSubmit() {
dataFormSubmit(status) {
if(this.dataForm.sysNameId==null||this.dataForm.sysNameId===''){
this.$alert('请选择系统名称!', '错误', {
confirmButtonText: '确定'
@ -281,6 +282,7 @@ export default {
formData.append('demander',this.$store.state.user.userDisplay)
formData.append('encapsulate',this.dataForm.encapsulate)
formData.append('description',this.dataForm.description)
formData.append('status',status)
formData.append('xjshow',this.dataForm.manageAudit==='Y'?'N':'Y')
//
for (let i = 0; i < this.fileList.length; i++) {

Loading…
Cancel
Save