| | |
| | | } |
| | | } |
| | | if (names != "") { |
| | | this.dataForm.hanlders = names.substring(0, names.length - 1); |
| | | this.form.hanlders = names.substring(0, names.length - 1); |
| | | } |
| | | }, |
| | | onSubmit(){ |
| | | this.form.hanlderIds=this.form.hanlderIds.toString() |
| | | if (this.dataForm.hanlderIds.length < 1) { |
| | | this.dataForm.hanlders = ''; |
| | | if (this.form.hanlderIds.length < 1) { |
| | | this.form.hanlders = ''; |
| | | } |
| | | easycase(this.form).then(res =>{ |
| | | this.backAll() |
| | |
| | | <div id="navs"> |
| | | <el-button icon="el-icon-arrow-left" @click="goHome">返回</el-button> |
| | | <div>{{ name1 }}</div> |
| | | <p>{{id}}</p> |
| | | <el-button icon="el-icon-upload el-icon--right" @click="submit">提交</el-button> |
| | | </div> |
| | | <el-tabs type="border-card" style="margin-top: 10px!important;" v-model="activeName" @tab-click="handleClick" |
| | |
| | | data() { |
| | | return { |
| | | id: '', |
| | | form:{ |
| | | id:'' |
| | | }, |
| | | name1: "", |
| | | activeName: 'second' |
| | | } |
| | | }, |
| | | created() { |
| | | if (this.$route.query) { |
| | | // this.$nextTick(() => { |
| | | this.$nextTick(() => { |
| | | this.id = this.$route.query.id |
| | | this.name1 = this.$route.query.name |
| | | // }) |
| | | }) |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | }) |
| | | }, |
| | | submit() { |
| | | submitcase(this.id).then(res => { |
| | | /*submitcase(this.id).then(res => { |
| | | this.goHome() |
| | | }) |
| | | })*/ |
| | | }, |
| | | /*goToBL() { |
| | | this.$router.push({ |
| | |
| | | <template> |
| | | <el-main style="width: 100%;font-size: 18px;"> |
| | | <el-form ref="form" :model="form" label-width="85px" size="24"> |
| | | <button>{{id}}</button> |
| | | <el-form-item label="案由"> |
| | | <el-input v-model="form.causePoint" placeholder="请填写案由"></el-input> |
| | | </el-form-item> |
| | |
| | | props: ['id'], |
| | | data() { |
| | | return { |
| | | props: ['id'], |
| | | value1: [], |
| | | form: { |
| | | causePoint: "", |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | this.getDataList() |
| | | // this.getDataList() |
| | | window.getSignUrl =this.getSignUrl; |
| | | window.getFingerUrl =this.getFingerUrl; |
| | | // this.getSignUrl(); |
| | | }, |
| | | methods: { |
| | | getDataList() { |
| | | |
| | | this.$nextTick(()=>{ |
| | | console.log(this.id,'this.id') |
| | | inquiryquestion(this.id).then(res => { |
| | | this.form = res.data.data |
| | | this.value1.push(res.data.data.startTime) |
| | | this.value1.push(res.data.data.endTime) |
| | | /*this.value1.push(res.data.data.startTime) |
| | | this.value1.push(res.data.data.endTime)*/ |
| | | }) |
| | | }) |
| | | |
| | | }, |
| | | // 点击添加 |
| | | addEle() { |