cyl/dev
wangxia 4 years ago
parent 958586685e
commit b2f74abe9f

@ -10,10 +10,10 @@
title="报名" title="报名"
placement="right" placement="right"
:closable="true" :closable="true"
:maskClosable="false"
:visible="visible" :visible="visible"
labelAlign="right" labelAlign="right"
width="588" width="588"
:after-visible-change="afterVisibleChange"
@close="onClose" @close="onClose"
> >
<a-form-model <a-form-model
@ -24,14 +24,12 @@
:wrapperCol="{ span: 21 }" :wrapperCol="{ span: 21 }"
:labelCol="{ span: 3 }" :labelCol="{ span: 3 }"
> >
<a-form-model-item ref="username" label="代理" prop="username"> <a-form-model-item ref="proxy" label="代理" prop="">
<a-select v-model="form.proxy" placeholder="请选择民族"> <a-input :placeholder="proxyinfo.userName" :disabled="true" />
<a-select-option :value="applyid">{{ applyid }}</a-select-option>
</a-select>
</a-form-model-item> </a-form-model-item>
<a-form-model-item ref="name" label="姓名" prop="name"> <a-form-model-item ref="username" label="姓名" prop="username">
<a-input <a-input
v-model="form.name" v-model="form.username"
placeholder="请输入老乡姓名" placeholder="请输入老乡姓名"
@blur=" @blur="
() => { () => {
@ -52,7 +50,7 @@
placeholder="请输入年龄" placeholder="请输入年龄"
@blur=" @blur="
() => { () => {
$refs.tel.onFieldBlur(123); $refs.tel.onFieldBlur();
} }
" "
/> />
@ -88,16 +86,40 @@
<a-select-option :value="applyid">{{ applyid }}</a-select-option> <a-select-option :value="applyid">{{ applyid }}</a-select-option>
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
<a-form-model-item ref="username" label="模式" prop="username"> <!-- <a-form-model-item ref="username" label="模式" prop="username">
<a-select v-model="form.pattern" placeholder="请选择民族"> <a-select v-model="form.pattern" placeholder="请选择民族">
<a-select-option :value="applyid">{{ applyid }}</a-select-option> <a-select-option :value="applyid">{{ applyid }}</a-select-option>
</a-select> </a-select>
</a-form-model-item> </a-form-model-item> -->
<a-form-model-item ref="username" label="政策" prop="username"> <a-form-model-item ref="username" label="政策" prop="username">
<a-select v-model="form.policy" placeholder="请选择民族"> <a-select v-model="form.policy" placeholder="请选择民族">
<a-select-option :value="applyid">{{ applyid }}</a-select-option> <a-select-option :value="applyid">{{ applyid }}</a-select-option>
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
<a-form-model-item
class="upline"
style="position: absolute; bottom: 0; right: 20px; margin-top: "
>
<a-button
type="primary"
@click="onClose"
style="color: #666; background-color: #fafafa; border-color: #ddd"
>
取消
</a-button>
<a-button
style="
margin-left: 10px;
color: #fff;
background-color: #ff6a00;
border-color: #ff6a00;
"
@click="handleOk"
>
提交
</a-button>
</a-form-model-item>
</a-form-model> </a-form-model>
</a-drawer> </a-drawer>
<!-- <a-modal <!-- <a-modal
@ -441,6 +463,7 @@ export default {
cityoption: [], // cityoption: [], //
newFormValue: [], newFormValue: [],
applyid: "", // id applyid: "", // id
proxyinfo: JSON.parse(sessionStorage.getItem("LOGIN_DATA")),
nationlist: [ nationlist: [
{ {
id: "01", id: "01",
@ -685,15 +708,15 @@ export default {
// //
name: "", name: "",
peoplecard: "", peoplecard: "",
gender: "", gender: "", //
nation: "", nation: "", //
location: "", location: "", //
firm: "", firm: "", //
post: "", post: "", //
pattern: "", pattern: "", //
policy: "", policy: "", //
proxy: "", proxy: "", //
facedate: "", facedate: "", //
}, },
rules: { rules: {
// //
@ -828,6 +851,7 @@ export default {
* 组件实例创建完成属性已绑定但DOM还未生成$ el属性还不存在 * 组件实例创建完成属性已绑定但DOM还未生成$ el属性还不存在
*/ */
created() { created() {
console.log(this.proxyinfo);
this.getJobList(); this.getJobList();
this.getJobSpecial(); this.getJobSpecial();
this.getProvince(); this.getProvince();
@ -1078,6 +1102,23 @@ export default {
this.applyid = id; this.applyid = id;
console.log(id); console.log(id);
}, },
onClose() {
this.visible = false;
this.form = {
//
name: "",
peoplecard: "",
gender: "", //
nation: "", //
location: "", //
firm: "", //
post: "", //
pattern: "", //
policy: "", //
proxy: "", //
facedate: "", //
};
},
// //
getdateinfo() { getdateinfo() {
const date = new Date(); const date = new Date();
@ -1151,12 +1192,43 @@ export default {
/deep/ .ant-modal { /deep/ .ant-modal {
top: 30px !important; top: 30px !important;
} }
.ant-form-item { /deep/ .ant-form-item {
// margin-bottom: 0; // margin-bottom: 0;
margin-top: -8px; margin-top: -8px;
// /deep/ .ant-form-item-label { // /deep/ .ant-form-item-label {
// line-height: 22px; // line-height: 22px;
// } // }
// /deep/ .upline {
// }
&:last-child {
/deep/ .ant-form-item-children {
// display: flex !important;
&::before {
content: "";
display: block;
position: absolute;
height: 1px;
width: 588px;
left: -428px;
top: -20px;
background-color: #d5d5d5;
}
}
}
/deep/ .ant-form-item-children {
display: flex !important;
// &::before {
// content: "";
// display: block;
// position: absolute;
// height: 1px;
// width: 200px;
// left: -100px;
// top: -20px;
// background-color: #000;
// }
}
.ant-input { .ant-input {
// width: 430px; // width: 430px;
height: 40px; height: 40px;
@ -1165,6 +1237,25 @@ export default {
box-shadow: none !important; box-shadow: none !important;
// background-color: #f6f6f6; // background-color: #f6f6f6;
} }
.ant-select-selection__rendered,
.ant-select-selection--single,
.ant-select {
height: 40px;
// border: none;
// border: 1px solid #dddddd;
box-shadow: none !important;
border-color: #d9d9d9;
// &:hover {
// border-color: #d9d9d9;
// }
// &:focus {
// border-color: #d9d9d9;
// }
// &:active {
// border-color: #d9d9d9;
// }
}
} }
/deep/ .ant-modal-footer { /deep/ .ant-modal-footer {
padding: 10px 24px; padding: 10px 24px;

@ -1146,7 +1146,7 @@ export function disposeJobListData(jobList) {
} else if (item.returnFeeType === 3) { } else if (item.returnFeeType === 3) {
item.servetype = "元/次"; item.servetype = "元/次";
} }
console.log(item); // console.log(item);
// item["returnFee"] = item.returnFee / 100; // item["returnFee"] = item.returnFee / 100;
} else { } else {
item.servetype = "元/小时"; item.servetype = "元/小时";

Loading…
Cancel
Save