ソースを参照

优化两清三化移动端

wulanhaote
liuminjian 3年前
コミット
292bdda801
1個のファイルの変更23行の追加20行の削除
  1. +23
    -20
      src/views/homestead/index.vue

+ 23
- 20
src/views/homestead/index.vue ファイルの表示

@@ -639,7 +639,7 @@
<!--1--> <!--1-->
<div class="flex_block"> <div class="flex_block">
<div class="number_s35 mr50"> <div class="number_s35 mr50">
<div class="title_m">房屋类型</div>
<div class="title_m">房屋类型{{houseInfoList.tdfl}}</div>
<div class="input_m select"> <div class="input_m select">
<i class="dropDown_icon"></i> <i class="dropDown_icon"></i>
<van-field <van-field
@@ -2473,11 +2473,12 @@ export default {
obj.xh = trs.find("td").eq(16).text(); //农房编号 obj.xh = trs.find("td").eq(16).text(); //农房编号


obj.orgCode = trs.find("td").eq(20).text(); //行政区代码 obj.orgCode = trs.find("td").eq(20).text(); //行政区代码
obj.tdfl = trs.find("td").eq(23).text(); //集体/个人
obj.frontHouse = trs.find("td").eq(24).text(); //图片前
obj.behindHouse = trs.find("td").eq(25).text(); //图片后
obj.tdfl = trs.find("td").eq(22).text(); //集体/个人
obj.frontHouse = trs.find("td").eq(23).text(); //图片前
obj.behindHouse = trs.find("td").eq(24).text(); //图片后
let cloneObj = JSON.parse(JSON.stringify(obj)); let cloneObj = JSON.parse(JSON.stringify(obj));
_this.houseInfoList = cloneObj; _this.houseInfoList = cloneObj;
console.log(trs)
// _this.houseInfoList.frontland = ""; // _this.houseInfoList.frontland = "";
// _this.houseInfoList.behindland = ""; // _this.houseInfoList.behindland = "";
_this.houseInfoLookList = obj; _this.houseInfoLookList = obj;
@@ -3424,6 +3425,7 @@ export default {
//农房 - 房屋类型 //农房 - 房屋类型
fwdlxOptionsFun(value) { fwdlxOptionsFun(value) {
this.houseInfoList.tdfl = value; this.houseInfoList.tdfl = value;
console.log(value)
this.fwdlxOptionsVibile = false; this.fwdlxOptionsVibile = false;
}, },
//农地 - 现状情况 选择值 //农地 - 现状情况 选择值
@@ -3490,11 +3492,12 @@ export default {
//this.houseInfoList.frontHouse =res.fileName //this.houseInfoList.frontHouse =res.fileName
if (res.code == 200) { if (res.code == 200) {
this.houseInfoList.frontHouse = this.houseInfoList.frontHouse =
location.protocol +
"//" +
location.host +
request.defaults.baseURL +
// location.protocol +
// "//" +
// location.host +
// request.defaults.baseURL +
res.fileName; res.fileName;
console.log("历史" + this.houseInfoList.frontHouse); console.log("历史" + this.houseInfoList.frontHouse);
} else { } else {
return "图片上传失败"; return "图片上传失败";
@@ -3540,10 +3543,10 @@ export default {
uploadFileBase(data2).then((res) => { uploadFileBase(data2).then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.houseInfoList.behindHouse = this.houseInfoList.behindHouse =
location.protocol +
"//" +
location.host +
request.defaults.baseURL +
// location.protocol +
// "//" +
// location.host +
// request.defaults.baseURL +
res.fileName; res.fileName;
} else { } else {
return "图片上传失败"; return "图片上传失败";
@@ -3598,10 +3601,10 @@ export default {
uploadFileBase(data2).then((res) => { uploadFileBase(data2).then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.landInfoList.frontland = this.landInfoList.frontland =
location.protocol +
"//" +
location.host +
request.defaults.baseURL +
// location.protocol +
// "//" +
// location.host +
// request.defaults.baseURL +
res.fileName; res.fileName;
} else { } else {
return "图片上传失败"; return "图片上传失败";
@@ -3647,10 +3650,10 @@ export default {
uploadFileBase(data2).then((res) => { uploadFileBase(data2).then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.landInfoList.behindland = this.landInfoList.behindland =
location.protocol +
"//" +
location.host +
request.defaults.baseURL +
// location.protocol +
// "//" +
// location.host +
// request.defaults.baseURL +
res.fileName; res.fileName;
} else { } else {
return "图片上传失败"; return "图片上传失败";


読み込み中…
キャンセル
保存