|
|
@@ -1,10 +1,10 @@
|
|
|
<template>
|
|
|
- <div class="housedetailsedit">
|
|
|
- <div class="list">
|
|
|
- <div class="list-row" style="padding-top: 0">
|
|
|
+ <view class="housedetailsedit">
|
|
|
+ <view class="list">
|
|
|
+ <view class="list-row" style="padding-top: 0">
|
|
|
<uni-collapse v-model="value" style="width: 100%">
|
|
|
<uni-collapse-item title="基础信息">
|
|
|
- <div style="height: auto; padding-bottom: 200rpx">
|
|
|
+ <view style="height: auto; padding-bottom: 200rpx">
|
|
|
<view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx">
|
|
|
<view class="input_title float_left">公司名称:</view>
|
|
|
<input style="color: #777" class="input_value float_left" placeholder="暂无" v-model="form.qymc" />
|
|
|
@@ -22,13 +22,13 @@
|
|
|
<view class="input_title float_left">币别:</view>
|
|
|
<picker style="float: left; width: 360rpx; height: 40rpx; color: #777" @change="getBizhongtype"
|
|
|
range-key="label" :range="dic_SelectList.CURRENCY">
|
|
|
- <div style="width: 315rpx; float: left">
|
|
|
+ <view style="width: 315rpx; float: left">
|
|
|
{{
|
|
|
bizhongIndex == null
|
|
|
? "请选择"
|
|
|
: dic_SelectList.CURRENCY[bizhongIndex].label
|
|
|
}}
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
<img class="height40rpx width40rpx float_left" src="../../../static/mine/youjiantou.png" alt="" />
|
|
|
</picker>
|
|
|
</view>
|
|
|
@@ -36,13 +36,13 @@
|
|
|
<view class="input_title float_left">注册时间:</view>
|
|
|
<picker style="float: left; width: 360rpx; height: 40rpx; color: #777" mode="date" :value="form.zcsj"
|
|
|
@change="getZcsj">
|
|
|
- <div style="width: 315rpx; float: left">
|
|
|
+ <view style="width: 315rpx; float: left">
|
|
|
{{
|
|
|
form.zcsj == "" || form.zcsj == null
|
|
|
? "请选择"
|
|
|
: form.zcsj
|
|
|
}}
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
<img class="height40rpx width40rpx float_left" src="../../../static/mine/youjiantou.png" alt="" />
|
|
|
</picker>
|
|
|
</view>
|
|
|
@@ -210,7 +210,7 @@
|
|
|
<span style="color: red">* </span>
|
|
|
所属园区
|
|
|
</view>
|
|
|
- <div style="width: 315rpx; float: left">{{ form.parkInfoName || '请选择' }}</div>
|
|
|
+ <view style="width: 315rpx; float: left">{{ form.parkInfoName || '请选择' }}</view>
|
|
|
<!-- <img class="height40rpx width40rpx float_left" src="../../../static/mine/youjiantou.png" alt="" />-->
|
|
|
</view>
|
|
|
|
|
|
@@ -233,14 +233,14 @@
|
|
|
<view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date"
|
|
|
style=" display: flex;align-items: center;flex-direction: column;">
|
|
|
<view class="input_title float_left" style="width: 100%;display: flex;justify-content: space-between;">
|
|
|
- <div>经营地址载体:</div>
|
|
|
+ <view>经营地址载体:</view>
|
|
|
<van-button type="default" size="mini" color="#1f1fbe" @click="addJydzAry()">添加</van-button>
|
|
|
</view>
|
|
|
- <div v-for="item in jydzAry" class="jydzList">
|
|
|
- <div class="jydzList-row">{{ item.name }}</div>
|
|
|
+ <view v-for="item in jydzAry" class="jydzList">
|
|
|
+ <view class="jydzList-row">{{ item.name }}</view>
|
|
|
<van-button type="default" size="mini" color="rgba(236, 128, 141, 1)"
|
|
|
@click="deletZt(index)">删除</van-button>
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
<textarea class="mt24rpx border_bottom_ccc" :maxlength="2000" placeholder="请输入经营地址说明"
|
|
|
@@ -256,16 +256,16 @@
|
|
|
<view class="input_title float_left">
|
|
|
<span style="color: red">* </span> 主营业务:
|
|
|
</view>
|
|
|
- <div>
|
|
|
- <div style="display: flex" v-for="(item, index) in form.jyfwAry" :key="index">
|
|
|
+ <view>
|
|
|
+ <view style="display: flex" v-for="(item, index) in form.jyfwAry" :key="index">
|
|
|
<input style="color: #050505; width: 80%" class="input_value" placeholder="请输入"
|
|
|
v-model="item.name" />
|
|
|
<van-button v-if="index == 0" type="default" size="mini" color="#1f1fbe"
|
|
|
@click="addJyfw()">添加</van-button>
|
|
|
<van-button v-if="index != 0" type="default" size="mini" color="rgba(236, 128, 141, 1)"
|
|
|
@click="deleteJyfw(index)">删除</van-button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view> -->
|
|
|
|
|
|
<view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height300rpxs">
|
|
|
@@ -276,7 +276,7 @@
|
|
|
padding: 20rpx;
|
|
|
width: calc(100% - 40rpx);
|
|
|
" />
|
|
|
- <div style="
|
|
|
+ <view style="
|
|
|
background: rgba(249, 249, 249, 1);
|
|
|
text-align: right;
|
|
|
padding-right: 10px;
|
|
|
@@ -286,7 +286,7 @@
|
|
|
{{
|
|
|
form.honorInformation ? form.honorInformation.length : 0
|
|
|
}}/2000
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
<view class="custom-image-box" style="margin-top: 20rpx">
|
|
|
<van-uploader :max-count="6" @delete="deleteRYXXZP" :file-list="form.RYXXZPList"
|
|
|
@after-read="uploadRYXXZP" :show-upload="true" />
|
|
|
@@ -294,19 +294,20 @@
|
|
|
</view>
|
|
|
<view class="width100 mt24rpx padb24rpx border_bottom_ccc list_date" style="display: flex">
|
|
|
<view class="input_title mb16rpx float_left" style="width: 30%">经营范围:</view>
|
|
|
- <div style="width: 100%">
|
|
|
- <div style="display: flex; justify-self: flex-end" v-for="(item, index) in form.jyfwAry" :key="index">
|
|
|
+ <view style="width: 100%">
|
|
|
+ <view style="display: flex; justify-self: flex-end" v-for="(item, index) in form.jyfwAry"
|
|
|
+ :key="index">
|
|
|
<textarea type="textare" style="color: #050505; width: 80%;height: 270rpx;" class="input_value"
|
|
|
placeholder="请输入" v-model="form.jyfwAry[index].name">
|
|
|
</textarea>
|
|
|
- <div>
|
|
|
+ <view>
|
|
|
<van-button v-if="index == 0" type="default" size="small" color="#1f1fbe"
|
|
|
@click="addJyfw()">添加</van-button>
|
|
|
<van-button v-if="index != 0" type="default" size="small" color="rgba(236, 128, 141, 1)"
|
|
|
@click="deleteJyfw(index)">删除</van-button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
<view class="width100 mt24rpx list_date height40rpx">
|
|
|
@@ -331,129 +332,132 @@
|
|
|
@click="chosseAboutCompany()">
|
|
|
<view class="input_title float_left">关联企业:</view>
|
|
|
|
|
|
- <div style="color: #777; width: 60%" class="float_left">
|
|
|
+ <view style="color: #777; width: 60%" class="float_left">
|
|
|
{{
|
|
|
form.associationCompanyName
|
|
|
? form.associationCompanyName
|
|
|
: "请选择"
|
|
|
}}
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
- <div class="form border_bottom_ccc">
|
|
|
- <div class="width100 mt24rpx padb24rpx list_date">附件:</div>
|
|
|
- <div class="width100 mt24rpx padb24rpx list_date _div data-v-6c6f8f24">
|
|
|
- <div class="fujian">
|
|
|
+ <view class="form border_bottom_ccc">
|
|
|
+ <view class="width100 mt24rpx padb24rpx list_date">附件:</view>
|
|
|
+ <view class="width100 mt24rpx padb24rpx list_date _view data-v-6c6f8f24">
|
|
|
+ <view class="fujian">
|
|
|
<van-uploader accept="all" :max-count="6" :file-list="form.fileList" @after-read="uploadFileList"
|
|
|
:show-upload="false">
|
|
|
<van-button type="primary" size="small" style="margin-bottom: 15rpx">文件选择</van-button>
|
|
|
</van-uploader>
|
|
|
- <div @click="openFile(item)" class="file" v-for="(item, index) in form.fileList" :key="index">
|
|
|
- <div class="filename">{{ item.name }}</div>
|
|
|
+ <view @click="openFile(item)" class="file" v-for="(item, index) in form.fileList" :key="index">
|
|
|
+ <view class="filename">{{ item.name }}</view>
|
|
|
|
|
|
<uni-icons type="closeempty" size="20" @click="deleteFileList(index)"></uni-icons>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="first_title" style="height: auto">
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="first_title" style="height: auto">
|
|
|
关联社会载体:
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
|
|
|
- <div class="form_row pdt32 pdb32 border_bottom_ccc width100"
|
|
|
+ <view class="form_row pdt32 pdb32 border_bottom_ccc width100"
|
|
|
style="display: flex; height: auto; align-items: center">
|
|
|
- <div class="width30 first_title" style="height: auto">
|
|
|
+ <view class="width30 first_title" style="height: auto">
|
|
|
自有:
|
|
|
- </div>
|
|
|
- <div @click="jumpChosseHouse('自有')" style="width: 65%" class="float_left font28rpx color292d98">
|
|
|
+ </view>
|
|
|
+ <view @click="jumpChosseHouse('自有')" style="width: 65%" class="float_left font28rpx color292d98">
|
|
|
{{
|
|
|
form.socialCarrierStrName
|
|
|
? form.socialCarrierStrName
|
|
|
: "请选择"
|
|
|
}}
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
<img @click="jumpChosseHouse('自有')" class="height40rpx width40rpx"
|
|
|
src="../../../static/mine/youjiantou.png" alt="" />
|
|
|
- </div>
|
|
|
- <div class="form_row pdt32 pdb32 border_bottom_ccc width100"
|
|
|
+ </view>
|
|
|
+ <view class="form_row pdt32 pdb32 border_bottom_ccc width100"
|
|
|
style="display: flex; height: auto; align-items: center">
|
|
|
- <div class="width30 first_title" style="height: auto">
|
|
|
+ <view class="width30 first_title" style="height: auto">
|
|
|
租赁:
|
|
|
- </div>
|
|
|
- <div @click="jumpChosseHouse('租赁')" style="width: 65%" class="float_left font28rpx color292d98">
|
|
|
+ </view>
|
|
|
+ <view @click="jumpChosseHouse('租赁')" style="width: 65%" class="float_left font28rpx color292d98">
|
|
|
{{
|
|
|
form.socialCarrierLeaseStrName
|
|
|
? form.socialCarrierLeaseStrName
|
|
|
: "请选择"
|
|
|
}}
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
<img @click="jumpChosseHouse('租赁')" class="height40rpx width40rpx"
|
|
|
src="../../../static/mine/youjiantou.png" alt="" />
|
|
|
- </div>
|
|
|
- <div class="form_row pdt32 pdb32 border_bottom_ccc width100"
|
|
|
+ </view>
|
|
|
+ <view class="form_row pdt32 pdb32 border_bottom_ccc width100"
|
|
|
style="display: flex; height: auto; align-items: center">
|
|
|
- <div class="width30 first_title" style="height: auto">
|
|
|
+ <view class="width30 first_title" style="height: auto">
|
|
|
未确定:
|
|
|
- </div>
|
|
|
- <div @click="jumpChosseHouse('未确定')" style="width: 65%" class="float_left font28rpx color292d98">
|
|
|
+ </view>
|
|
|
+ <view @click="jumpChosseHouse('未确定')" style="width: 65%" class="float_left font28rpx color292d98">
|
|
|
{{
|
|
|
form.socialCarrierNoTrueName
|
|
|
? form.socialCarrierNoTrueName
|
|
|
: "请选择"
|
|
|
}}
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
<img @click="jumpChosseHouse('未确定')" class="height40rpx width40rpx"
|
|
|
src="../../../static/mine/youjiantou.png" alt="" />
|
|
|
- </div>
|
|
|
- <div class="first_title" style="height: auto; margin-top: 32rpx">
|
|
|
+ </view>
|
|
|
+ <view class="first_title" style="height: auto; margin-top: 32rpx">
|
|
|
关联自有载体:
|
|
|
- </div>
|
|
|
- <div class="form_row pdt32 pdb32 border_bottom_ccc width100"
|
|
|
+ </view>
|
|
|
+ <view class="form_row pdt32 pdb32 border_bottom_ccc width100"
|
|
|
style="display: flex; height: auto; align-items: center">
|
|
|
- <div class="width30 first_title">有合同:</div>
|
|
|
- <div style="width: 65%" class="float_left font28rpx color292d98">
|
|
|
+ <view class="width30 first_title">有合同:</view>
|
|
|
+ <view style="width: 65%" class="float_left font28rpx color292d98">
|
|
|
{{ form.socialCarrierName ? form.socialCarrierName : '请选择' }}
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
<img @click="jumpChosseHouse('有合同:')" class="height40rpx width40rpx"
|
|
|
src="../../../static/mine/youjiantou.png" alt="" />
|
|
|
- </div>
|
|
|
- <div class="form_row pdt32 pdb32 border_bottom_ccc width100"
|
|
|
+ </view>
|
|
|
+ <view class="form_row pdt32 pdb32 border_bottom_ccc width100"
|
|
|
style="display: flex; height: auto; align-items: center">
|
|
|
- <div class="width30 first_title" style="height: auto">
|
|
|
+ <view class="width30 first_title" style="height: auto">
|
|
|
无合同:
|
|
|
- </div>
|
|
|
- <div @click="jumpChosseHouse('无合同')" style="width: 65%" class="float_left font28rpx color292d98">
|
|
|
+ </view>
|
|
|
+ <view @click="jumpChosseHouse('无合同')" style="width: 65%" class="float_left font28rpx color292d98">
|
|
|
{{
|
|
|
form.contractCarrierNoStrName
|
|
|
? form.contractCarrierNoStrName
|
|
|
: "请选择"
|
|
|
}}
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
<img @click="jumpChosseHouse('无合同')" class="height40rpx width40rpx"
|
|
|
src="../../../static/mine/youjiantou.png" alt="" />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form">
|
|
|
- <!-- <div
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="form">
|
|
|
+ <!-- <view
|
|
|
style="height: 45px; width: 500px; background: black"
|
|
|
|
|
|
- ></div> -->
|
|
|
- </div>
|
|
|
+ ></view> -->
|
|
|
+ </view>
|
|
|
</uni-collapse-item>
|
|
|
</uni-collapse>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="‘btn-view‘">
|
|
|
- <div class="btn" @click="edit()">编辑</div>
|
|
|
+ <view class="btn" @click="edit()">编辑</view>
|
|
|
</view>
|
|
|
+ <compnay-select v-show="show" @colseSelectPage="colseSelectPage" @getCompanyAll="getCompanyListFy"
|
|
|
+ @addPageNum="addPageNum" :data="companyAllList" :default-selected="defaultSelected" @confirm="confirm"
|
|
|
+ ref="compnaySelect" />
|
|
|
<handle-report ref="handleReport" @changeActive="changeActive" />
|
|
|
<select-dengjiren ref="selectDengjiren" :multiple="true" :range="range" :selectParent="true" :foldAll="true"
|
|
|
rangeKey="name" idKey="id" @xiangmudengji="selectDengjiren">
|
|
|
</select-dengjiren>
|
|
|
- <multiple-select v-model="show" @getCompanyAll="getCompanyAll" :data="companyAllList"
|
|
|
- :default-selected="defaultSelected" @confirm="confirm" ref="multipleSelect"></multiple-select>
|
|
|
+
|
|
|
<zaiti-tree ref="zaitiTree" :multiple="true" :range="range" :selectParent="true" :foldAll="true" rangeKey="label"
|
|
|
idKey="id" @confirm="selectZaiti" />
|
|
|
+
|
|
|
<van-popup :show="treeData3DialogVisible" position="bottom">
|
|
|
|
|
|
<van-cascader :options="treeData3List" :title="null" :field-names="{ text: 'label', value: 'value' }"
|
|
|
@@ -464,7 +468,7 @@
|
|
|
<van-cascader :options="trueData7List" :title="null" :field-names="{ text: 'label', value: 'value' }"
|
|
|
@close="onClose" @finish="onFinishTreeData7" />
|
|
|
</van-popup>
|
|
|
- </div>
|
|
|
+ </view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
@@ -476,7 +480,6 @@ const form = {
|
|
|
frsfzh_zhenmian: "../../../static/idzhengmian.png",
|
|
|
frsfzh_fanmian: "../../../static/idfanmian.png",
|
|
|
RYXXZPList: [],
|
|
|
- id: "",
|
|
|
qymc: "",
|
|
|
shxydm: "",
|
|
|
zczj: "",
|
|
|
@@ -484,7 +487,6 @@ const form = {
|
|
|
lxdh: "",
|
|
|
frsfzh: "",
|
|
|
qylxr: "",
|
|
|
- lxdh: "",
|
|
|
email: "",
|
|
|
cwfzr: "",
|
|
|
cwfzrdh: "",
|
|
|
@@ -496,7 +498,6 @@ const form = {
|
|
|
ryxxzp: "",
|
|
|
rdInvestment: "",
|
|
|
jgInvestment: "",
|
|
|
- jgInvestment: "",
|
|
|
fourOpennessAmount: "",
|
|
|
fourTransferenceAmount: "",
|
|
|
fourServiceAmount: "",
|
|
|
@@ -514,7 +515,7 @@ import {
|
|
|
companyECdit,
|
|
|
interviewEscalationListAll,
|
|
|
getSelectUserTwo,
|
|
|
- getCompanyAll,
|
|
|
+ getCompanyListFy,
|
|
|
selectByCompanyId,
|
|
|
getTreeData6,
|
|
|
findRoomInfoListByIds,
|
|
|
@@ -523,8 +524,7 @@ import {
|
|
|
getTreeData3,
|
|
|
getTreeData7,
|
|
|
} from "@/js_sdk/http";
|
|
|
-// import multipleSelect from "../../subPackages/components/momo-multipleSelect/momo-multipleSelect";
|
|
|
-import multipleSelect from "./momo-multipleSelect.vue";
|
|
|
+import compnaySelect from "./compnaySelect.vue";
|
|
|
import zaitiTree from "@/components/zaiti-tree/index.vue";
|
|
|
import handleReport from "../companyreport/components/handlereport.vue";
|
|
|
import selectDengjiren from "../../subPackages/components/select_dengjiren/tkitree.vue";
|
|
|
@@ -533,11 +533,12 @@ export default {
|
|
|
components: {
|
|
|
handleReport,
|
|
|
selectDengjiren,
|
|
|
- multipleSelect,
|
|
|
+ compnaySelect,
|
|
|
zaitiTree,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ defaultSelected: [],
|
|
|
treeData3List: [],
|
|
|
trueData7List: [],
|
|
|
jydzAry: [],
|
|
|
@@ -561,13 +562,16 @@ export default {
|
|
|
activeNames: [],
|
|
|
StatusBar: 0,
|
|
|
search: {
|
|
|
- pageSize: 10,
|
|
|
+ pageSize: 20,
|
|
|
pageNum: 1,
|
|
|
},
|
|
|
form: {
|
|
|
...form,
|
|
|
},
|
|
|
- value: true,
|
|
|
+ companySearchData: {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 20,
|
|
|
+ },
|
|
|
value1: true,
|
|
|
list: [],
|
|
|
value: ["0"],
|
|
|
@@ -582,45 +586,59 @@ export default {
|
|
|
onShow() {
|
|
|
let that = this;
|
|
|
uni.$on("getuser", function (e) {
|
|
|
- console.log(e);
|
|
|
- findRoomInfoListByIds(e.result.join(",")).then((data) => {
|
|
|
- let roomString = data.map((e) => {
|
|
|
- return e.roomString;
|
|
|
- });
|
|
|
- let ids = data.map((e) => {
|
|
|
- return e.id;
|
|
|
+ if (e) {
|
|
|
+ findRoomInfoListByIds(e.result.join(",")).then((data) => {
|
|
|
+ let roomString = data.map((e) => {
|
|
|
+ return e.roomString;
|
|
|
+ });
|
|
|
+ let ids = data.map((e) => {
|
|
|
+ return e.id;
|
|
|
+ });
|
|
|
+ if (e.housetype == "自有") {
|
|
|
+ that.form.socialCarrierStr = ids.join(",");
|
|
|
+ that.form.socialCarrierStrName = roomString.join(",");
|
|
|
+ console.log(roomString);
|
|
|
+ }
|
|
|
+ if (e.housetype == "租赁") {
|
|
|
+ that.form.socialCarrierLeaseStr = ids.join(",");
|
|
|
+ that.form.socialCarrierLeaseStrName = roomString.join(",");
|
|
|
+ console.log(roomString);
|
|
|
+ }
|
|
|
+ if (e.housetype == "未确定") {
|
|
|
+ that.form.socialCarrierNoTrue = ids.join(",");
|
|
|
+ that.form.socialCarrierNoTrueName = roomString.join(",");
|
|
|
+ console.log(roomString);
|
|
|
+ }
|
|
|
+ if (e.housetype == "无合同") {
|
|
|
+ that.form.contractCarrierNoStr = ids.join(",");
|
|
|
+ that.form.contractCarrierNoStrName = roomString.join(",");
|
|
|
+ console.log("无合同", roomString);
|
|
|
+ }
|
|
|
});
|
|
|
- if (e.housetype == "自有") {
|
|
|
- that.form.socialCarrierStr = ids.join(",");
|
|
|
- that.form.socialCarrierStrName = roomString.join(",");
|
|
|
- console.log(roomString);
|
|
|
- }
|
|
|
- if (e.housetype == "租赁") {
|
|
|
- that.form.socialCarrierLeaseStr = ids.join(",");
|
|
|
- that.form.socialCarrierLeaseStrName = roomString.join(",");
|
|
|
- console.log(roomString);
|
|
|
- }
|
|
|
- if (e.housetype == "未确定") {
|
|
|
- that.form.socialCarrierNoTrue = ids.join(",");
|
|
|
- that.form.socialCarrierNoTrueName = roomString.join(",");
|
|
|
- console.log(roomString);
|
|
|
- }
|
|
|
- if (e.housetype == "无合同") {
|
|
|
- that.form.contractCarrierNoStr = ids.join(",");
|
|
|
- that.form.contractCarrierNoStrName = roomString.join(",");
|
|
|
- console.log("无合同", roomString);
|
|
|
- }
|
|
|
- });
|
|
|
+ }
|
|
|
+ console.log(e);
|
|
|
+
|
|
|
});
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
this.id = option.id;
|
|
|
- this.getCompanyAll();
|
|
|
+ this.getCompanyListFy();
|
|
|
this.getByCodes();
|
|
|
this.getTreeData3()
|
|
|
this.getTreeData7()
|
|
|
},
|
|
|
methods: {
|
|
|
+ clearCompaynList() {
|
|
|
+ this.companySearchData.pageNum = 1
|
|
|
+ },
|
|
|
+ addPageNum() {
|
|
|
+ this.companySearchData.pageNum += 1
|
|
|
+ this.getCompanyListFy();
|
|
|
+ },
|
|
|
+ colseSelectPage() {
|
|
|
+ console.log(9)
|
|
|
+ this.show = false
|
|
|
+ },
|
|
|
async getTreeData7() {
|
|
|
let that = this
|
|
|
let datdepartmentList = await getTreeData7()
|
|
|
@@ -824,14 +842,17 @@ export default {
|
|
|
this.form.jyfwAry = jyfwAry
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
+
|
|
|
+
|
|
|
chosseAboutCompany() {
|
|
|
- console.log(123);
|
|
|
- try {
|
|
|
- this.show = true;
|
|
|
- this.$refs.multipleSelect.getAllList(this.companyAllList);
|
|
|
- } catch (error) {
|
|
|
- console.log("error", error);
|
|
|
- }
|
|
|
+ console.log(123111);
|
|
|
+ // try {
|
|
|
+ let that = this
|
|
|
+ that.show = true;
|
|
|
+ that.$refs.compnaySelect.getAllList(this.companyAllList);
|
|
|
+ // } catch (error) {
|
|
|
+ // console.log("error", error);
|
|
|
+ // }
|
|
|
},
|
|
|
confirm(e) {
|
|
|
console.log(e);
|
|
|
@@ -845,16 +866,20 @@ export default {
|
|
|
this.form.associationCompanyName = associationCompanyString.join(",");
|
|
|
this.form.associationCompany = associationCompany.join(",");
|
|
|
console.log(associationCompanyString.join(","));
|
|
|
+ this.show = false
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
- async getCompanyAll() {
|
|
|
- let companyAllList = await getCompanyAll();
|
|
|
- this.companyAllList = companyAllList.map((e) => {
|
|
|
+ async getCompanyListFy(qymc = null) {
|
|
|
+ this.companySearchData.qymc = qymc
|
|
|
+ let companyAllList = await getCompanyListFy(this.companySearchData);
|
|
|
+ this.companyAllList = companyAllList.rows.map((e) => {
|
|
|
return {
|
|
|
label: e.qymc,
|
|
|
value: e.id,
|
|
|
};
|
|
|
});
|
|
|
+ console.log('companyAllList11', this.companyAllList)
|
|
|
+ this.$refs.compnaySelect.getAllList(this.companyAllList);
|
|
|
},
|
|
|
deleteFileList(i) {
|
|
|
this.form.fileList.splice(i, 1);
|
|
|
@@ -1141,14 +1166,12 @@ export default {
|
|
|
? that.form.shareCertificateCode
|
|
|
: "",
|
|
|
leaseArea: that.form.leaseArea ? that.form.leaseArea : 0,
|
|
|
- zcdz: that.form.zcdz,
|
|
|
areaSize: this.form.areaSize,
|
|
|
jydzValue: this.form.jydzValue,
|
|
|
qymc: that.form.qymc,
|
|
|
shxydm: that.form.shxydm,
|
|
|
zczj: that.form.zczj ? that.form.zczj : 0,
|
|
|
fddbr: that.form.fddbr,
|
|
|
- lxdh: that.form.lxdh,
|
|
|
jyfw: jyfwAry.join(","),
|
|
|
frsfzh: that.form.frsfzh_zhenmian + "," + that.form.frsfzh_fanmian,
|
|
|
qylxr: that.form.qylxr ? that.form.qylxr : "",
|
|
|
@@ -1425,6 +1448,8 @@ export default {
|
|
|
}
|
|
|
|
|
|
.housedetailsedit {
|
|
|
+ position: relative;
|
|
|
+
|
|
|
.btn-view {
|
|
|
width: 100%;
|
|
|
height: 100rpx;
|