Commit 241dc987 authored by zhangderong's avatar zhangderong

阻止表单默认提交

parent 62763dd1
...@@ -68,9 +68,6 @@ ...@@ -68,9 +68,6 @@
</select> </select>
</span> </span>
<span v-show="item.flowStatus=='END'" style="float:right;margin-right:10px;"> <span v-show="item.flowStatus=='END'" style="float:right;margin-right:10px;">
<!-- <select style="border:0;margin-right:10px;float:right;cursor:pointer;color:Grey" placeholder="变更状态 ∨">
<option value="0" style="color:Grey">变更状态 ∨</option>
</select> -->
变更状态 ∨ 变更状态 ∨
</span> </span>
</p> </p>
...@@ -87,22 +84,20 @@ ...@@ -87,22 +84,20 @@
</div> </div>
</div> </div>
<div class="interview-right"> <div class="interview-right">
<Form :label-width="80"> <Form :label-width="80" onsubmit="return false;">
<FormItem label="关键搜索:" style="margin-top:20px;margin-left:1%"> <FormItem label="关键搜索:" style="margin-top:20px;margin-left:1%">
<Input placeholder="请输入关键词" style="width:80%" v-model="keywords" @keyup.enter="Sousuo"/> <Input placeholder="请输入关键词" style="width:80%" v-model="keywords" @keyup.enter.native="Sousuo()"/>
</FormItem> </FormItem>
<FormItem label="学历:" class="Education2"> <FormItem label="学历:" class="Education2">
<span v-for="(item,index) in Education2" style="cursor:pointer" :class="{'active2':index==clickIndex1}" @click="selectSeeElement(item.Num2,index)" :key="'Education2'+index" class="edu"> {{item.status2}}</span> <span v-for="(item,index) in Education2" style="cursor:pointer" :class="{'active2':index==clickIndex1}" @click="selectSeeElement(item.Num2,index)" :key="'Education2'+index" class="edu"> {{item.status2}}</span>
</FormItem> </FormItem>
<FormItem label="邀约人:" style="margin-top:20px"> <FormItem label="邀约人:" style="margin-top:20px">
<Select style="width:80%" placeholder="请选择" :label-in-value='true' @on-change="selectinterviewElement2"> <Select style="width:80%" placeholder="请选择" :label-in-value='true' @on-change="selectinterviewElement2">
<!-- <Option value="">不限</Option> -->
<Option v-for="(item,index) in Inviter" :key="index" :value="index" >{{item}}</Option> <Option v-for="(item,index) in Inviter" :key="index" :value="index" >{{item}}</Option>
</Select> </Select>
</FormItem> </FormItem>
<FormItem label="面试官:" style="margin-top:20px"> <FormItem label="面试官:" style="margin-top:20px">
<Select style="width:80%;height:20px" placeholder="请选择" :label-in-value='true' @on-change='selectinterviewElement'> <Select style="width:80%;height:20px" placeholder="请选择" :label-in-value='true' @on-change='selectinterviewElement'>
<!-- <Option value="">不限</Option> -->
<Option v-for="(item,index) in Interviewer" :key="index" :value="index" >{{item}}</Option> <Option v-for="(item,index) in Interviewer" :key="index" :value="index" >{{item}}</Option>
</Select> </Select>
</FormItem> </FormItem>
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<div class="allResume-left"> <div class="allResume-left">
<Form :label-width="80"> <Form :label-width="80">
<FormItem label="关键词:" style="margin-top:20px"> <FormItem label="关键词:" style="margin-top:20px">
<Input placeholder="请输入关键词" style="width:85%" v-model="keywords" @keyup.enter.native="SouSuo(item.Num1,item.Num2,item.Num3)"/> <Input placeholder="请输入关键词" style="width:85%" v-model="keywords" @keyup.enter.native="SouSuo()"/>
</FormItem> </FormItem>
<FormItem label="历任公司:"> <FormItem label="历任公司:">
<Input placeholder="请输入历任公司" style="width:85%" v-model="lrgs" @keyup.enter.native="SouSuo(item.Num1,item.Num2,item.Num3)"/> <Input placeholder="请输入历任公司" style="width:85%" v-model="lrgs" @keyup.enter.native="SouSuo()"/>
</FormItem> </FormItem>
<FormItem label="性别:" class="sex"> <FormItem label="性别:" class="sex">
<span v-for="(item,index) in sexs" :class="{'active1':index==clickIndex1}" @click="selectElement1(item.status1,index)" :key="index" style="cursor:pointer"> {{item.status1}}</span> <span v-for="(item,index) in sexs" :class="{'active1':index==clickIndex1}" @click="selectElement1(item.status1,index)" :key="index" style="cursor:pointer"> {{item.status1}}</span>
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
</p> </p>
<p style="margin-top:5px"> <p style="margin-top:5px">
<span style="display:inline-block;font-size: 12px;margin-left:25px" v-if="item.srcSite!==''">{{item.deliveryTime}}投递 |</span> <span style="display:inline-block;font-size: 12px;margin-left:25px" v-if="item.srcSite!==''">{{item.deliveryTime}}投递 |</span>
<span style="display:inline-block;font-size: 12px;margin-left:25px" v-if="item.srcSite==''">{{item.deliveryTime}}上传 </span> <span style="display:inline-block;font-size: 12px;margin-left:25px" v-if="item.srcSite==''">{{item.deliveryTime}}上传 <span v-show="item.optSource!==''"> |</span></span>
<span style="display:inline-block;font-size: 12px;margin-left:3px">{{item.optSource}}<span v-show="item.srcSite!==''"> |</span></span> <span style="display:inline-block;font-size: 12px;margin-left:3px">{{item.optSource}}<span v-show="item.srcSite!==''"> |</span></span>
<span style="display:inline-block;font-size: 12px;margin-left:3px">{{item.srcSite}}</span> <span style="display:inline-block;font-size: 12px;margin-left:3px">{{item.srcSite}}</span>
<span style="display:inline-block;font-size: 12px;width:30%;float:right;text-align:right;margin-right:10px"> <span style="display:inline-block;font-size: 12px;width:30%;float:right;text-align:right;margin-right:10px">
......
...@@ -229,7 +229,7 @@ import {uploadFile} from '../../service/ajax' ...@@ -229,7 +229,7 @@ import {uploadFile} from '../../service/ajax'
progressStatus: { progressStatus: {
'0': 'active', '0': 'active',
'2': 'wrong', '2': 'wrong',
'1': 'wrong' '1': 'wrong',
}, },
files: null, files: null,
activeT:false, activeT:false,
...@@ -357,6 +357,7 @@ import {uploadFile} from '../../service/ajax' ...@@ -357,6 +357,7 @@ import {uploadFile} from '../../service/ajax'
item.title = this.Massage item.title = this.Massage
item.status = this.progressStatus[code] item.status = this.progressStatus[code]
item.Code=this.Code item.Code=this.Code
console.log(this.progressStatus[code])
} }
}) })
} }
......
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