flat: zanc
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
<template slot="cityIdForm" slot-scope="{ disabled }">
|
||||
<jl-city-cascader :disabled="disabled" v-model="form.cityId"></jl-city-cascader>
|
||||
</template>
|
||||
<template slot="cityId" slot-scope="{ row }">
|
||||
{{ row.cityId === -1 ? '' : row.cityId }}
|
||||
</template>
|
||||
<template slot="companyAddressForm" slot-scope="{ disabled }">
|
||||
<select-map
|
||||
ref="selectMap"
|
||||
@@ -62,7 +65,8 @@
|
||||
<company-record :data="row"></company-record>
|
||||
</template>
|
||||
<template slot="motoleyUrlForm">
|
||||
<el-upload class="companyList-upload" list-type="picture-card" :auto-upload="true" :file-list="imgList" :limit="5"
|
||||
<el-upload class="companyList-upload" list-type="picture-card" :auto-upload="true" :file-list="imgList"
|
||||
:limit="5"
|
||||
:action="mutiPutFile" :on-preview="handlePictureCardPreview" :on-exceed="handleImgLimit"
|
||||
:on-success="handleImgSuccess" :on-remove="handleImgRemove" :before-remove="beforeRemove"
|
||||
:before-upload="beforeAvatarUpload">
|
||||
@@ -95,12 +99,13 @@
|
||||
</template> -->
|
||||
|
||||
|
||||
|
||||
<!--保证金状态搜索栏trialOn-->
|
||||
<template slot="trialOnSearch">
|
||||
<el-select v-model="query.trialOn" placeholder="保证金" @change="selectTrailTyepChange">
|
||||
<el-option v-for="(item, index) in bondList" :key="index" :label="item.label" :value="item.value">{{ item.label
|
||||
}}</el-option>
|
||||
<el-option v-for="(item, index) in bondList" :key="index" :label="item.label" :value="item.value">{{
|
||||
item.label
|
||||
}}
|
||||
</el-option>
|
||||
</el-select>
|
||||
</template>
|
||||
</avue-crud>
|
||||
@@ -131,6 +136,7 @@ import { moneyFormat } from "@/util/money";
|
||||
import companyRecord from "./companyRecord";
|
||||
import {companyStatus} from "@/const/company";
|
||||
import SelectMap from "@/components/map/selectLocation";
|
||||
|
||||
const accept = [
|
||||
"image/png",
|
||||
"image/jpeg",
|
||||
@@ -234,7 +240,7 @@ export default {
|
||||
indexLabel: "序号",
|
||||
selection: true,
|
||||
viewBtn: true,
|
||||
addBtn: true,
|
||||
addBtn: false,
|
||||
editBtn: true,
|
||||
addBtnText: "社区街道登记",
|
||||
addTitle: "新增机构名称",
|
||||
@@ -254,17 +260,15 @@ export default {
|
||||
display: false,
|
||||
},
|
||||
{
|
||||
type: "tree",
|
||||
label: "联系人姓名",
|
||||
display: false,
|
||||
prop: "masterName",
|
||||
},
|
||||
{
|
||||
label: "创建日期",
|
||||
prop: "createTime",
|
||||
type: "datetime",
|
||||
format: "yyyy-MM-dd",
|
||||
label: "地区",
|
||||
display: false,
|
||||
prop: "cityId",
|
||||
slot: true,
|
||||
},
|
||||
],
|
||||
group: [
|
||||
@@ -481,7 +485,8 @@ export default {
|
||||
this.loading = false;
|
||||
});
|
||||
})
|
||||
.catch(() => { });
|
||||
.catch(() => {
|
||||
});
|
||||
},
|
||||
rowStart(id) {
|
||||
let h = this.$createElement;
|
||||
@@ -509,7 +514,8 @@ export default {
|
||||
this.loading = false;
|
||||
});
|
||||
})
|
||||
.catch(() => { });
|
||||
.catch(() => {
|
||||
});
|
||||
},
|
||||
searchReset() {
|
||||
this.query = {};
|
||||
@@ -598,8 +604,7 @@ export default {
|
||||
str = str.substr(0, str.length - 1);
|
||||
}
|
||||
this.form.motoleyUrl = str;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
this.$message.error('上传失败');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user