Commit ef40c652 by 刘泽奇

123

parent 2f8b45dd

2.54 KB | W: | H:

937 Bytes | W: | H:

igirl-channel-web/app/front/entry/public/imgs/zwtp.png
igirl-channel-web/app/front/entry/public/imgs/zwtp.png
igirl-channel-web/app/front/entry/public/imgs/zwtp.png
igirl-channel-web/app/front/entry/public/imgs/zwtp.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -394,10 +394,10 @@ ...@@ -394,10 +394,10 @@
this.message.show = !this.message.show; this.message.show = !this.message.show;
this.message.info = "只能选择同一个类别"; this.message.info = "只能选择同一个类别";
var tiemr = setTimeout(() => { var timer = setTimeout(() => {
this.message.show = false; this.message.show = false;
clearTimeout(timer);
}, 2000); }, 2000);
clearTimeout(tiemr);
}; };
if (newVal[0].nclThree.length > 10) { if (newVal[0].nclThree.length > 10) {
this.$refs.tree.setChecked(newVal[0].nclThree[10], false); this.$refs.tree.setChecked(newVal[0].nclThree[10], false);
...@@ -406,10 +406,10 @@ ...@@ -406,10 +406,10 @@
this.message.show = !this.message.show; this.message.show = !this.message.show;
this.message.info = "最多只能选择10项"; this.message.info = "最多只能选择10项";
var tiemr2 = setTimeout(() => { var timer2 = setTimeout(() => {
this.message.show = false; this.message.show = false;
clearTimeout(timer2);
}, 2000); }, 2000);
clearTimeout(tiemr2);
} }
} }
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
@click="window.open(stuff.businessLicensePic)" v-if="stuff.businessLicensePic" @click="window.open(stuff.businessLicensePic)" v-if="stuff.businessLicensePic"
src="imgs/sbzc/pdf.png" /> src="imgs/sbzc/pdf.png" />
<img width="120px" height="120px" style="border:2px dashed #e9e9e9" v-else <img width="120px" height="120px" style="border:2px dashed #e9e9e9" v-else
src="http://gsb-zc.oss-cn-beijing.aliyuncs.com/empty2018082212365411225525855.jpg" /> src="/imgs/zwcl.png" />
</div> </div>
<gsb-upload flag="yyzz" ref="yyzz" :d="d" @setKey="setKey" :action="action" <gsb-upload flag="yyzz" ref="yyzz" :d="d" @setKey="setKey" :action="action"
filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess" filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess"
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
@click="window.open(stuff.identityCardPic)" v-if="stuff.identityCardPic" @click="window.open(stuff.identityCardPic)" v-if="stuff.identityCardPic"
src="http://gsb-zc.oss-cn-beijing.aliyuncs.com/PDF20180904.jpg" /> src="http://gsb-zc.oss-cn-beijing.aliyuncs.com/PDF20180904.jpg" />
<img width="120px" height="120px" style="border:2px dashed #e9e9e9" v-else <img width="120px" height="120px" style="border:2px dashed #e9e9e9" v-else
src="http://gsb-zc.oss-cn-beijing.aliyuncs.com/empty2018082212365411225525855.jpg" /> src="/imgs/zwcl.png" />
</div> </div>
<gsb-upload flag="sfz" ref="sfz" :d="d" @setKey="setKey" :action="action" <gsb-upload flag="sfz" ref="sfz" :d="d" @setKey="setKey" :action="action"
filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess" filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess"
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
@click="window.open(stuff.sealAuthorizeStuff)" v-if="stuff.sealAuthorizeStuff" @click="window.open(stuff.sealAuthorizeStuff)" v-if="stuff.sealAuthorizeStuff"
:src="stuff.sealAuthorizeStuff" /> :src="stuff.sealAuthorizeStuff" />
<img width="120px" height="120px" style="border:2px dashed #e9e9e9" v-else <img width="120px" height="120px" style="border:2px dashed #e9e9e9" v-else
src="http://gsb-zc.oss-cn-beijing.aliyuncs.com/empty2018082212365411225525855.jpg" /> src="/imgs/zwcl.png" />
</div> </div>
<gsb-upload flag="wts" ref="wts" :d="d" @setKey="setKey" :action="action" <gsb-upload flag="wts" ref="wts" :d="d" @setKey="setKey" :action="action"
filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess" filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess"
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
<img width="120px" height="120px" style="border:2px dashed #e9e9e9" <img width="120px" height="120px" style="border:2px dashed #e9e9e9"
@click="window.open(stuff.descUrl)" v-if="stuff.descUrl" :src="stuff.descUrl" /> @click="window.open(stuff.descUrl)" v-if="stuff.descUrl" :src="stuff.descUrl" />
<img width="120px" height="120px" style="border:2px dashed #e9e9e9" v-else <img width="120px" height="120px" style="border:2px dashed #e9e9e9" v-else
src="http://gsb-zc.oss-cn-beijing.aliyuncs.com/empty2018082212365411225525855.jpg" /> src="/imgs/zwcl.png" />
</div> </div>
<gsb-upload flag="yxq" ref="yxq" :d="d" @setKey="setKey" :action="action" <gsb-upload flag="yxq" ref="yxq" :d="d" @setKey="setKey" :action="action"
filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess" filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess"
......
...@@ -336,40 +336,41 @@ ...@@ -336,40 +336,41 @@
} }
}, },
watch: { watch: {
nclOne: { nclOne: {
handler(newVal, oldVal){ handler(newVal, oldVal){
if (newVal.length > 0) { if (newVal.length > 0) {
if (newVal.length > 1) { if (newVal.length > 1) {
this.$refs.tree.setChecked(newVal[1], false); this.$refs.tree.setChecked(newVal[1], false);
this.$refs.tree.setChecked(newVal[1].nclThree[0], false); this.$refs.tree.setChecked(newVal[1].nclThree[0], false);
newVal.pop(); newVal.pop();
this.message.show = !this.message.show; this.message.show = !this.message.show;
this.message.info = "只能选择同一个类别"; this.message.info = "只能选择同一个类别";
var tiemr = setTimeout(() => { var timer = setTimeout(() => {
this.message.show = false; this.message.show = false;
}, 2000); clearTimeout(timer);
clearTimeout(tiemr);
}; }, 2000);
if (newVal[0].nclThree.length > 10) { };
this.$refs.tree.setChecked(newVal[0].nclThree[10], false); if (newVal[0].nclThree.length > 10) {
newVal[0].nclThree.pop(); this.$refs.tree.setChecked(newVal[0].nclThree[10], false);
console.log(newVal, newVal[0].nclThree, `xxxxxxxxxxxxxxxxxxxxxxxxxxxxx`); newVal[0].nclThree.pop();
console.log(newVal, newVal[0].nclThree, `xxxxxxxxxxxxxxxxxxxxxxxxxxxxx`);
this.message.show = !this.message.show;
this.message.info = "最多只能选择10项"; this.message.show = !this.message.show;
var tiemr2 = setTimeout(() => { this.message.info = "最多只能选择10项";
this.message.show = false; var timer2 = setTimeout(() => {
}, 2000); this.message.show = false;
clearTimeout(tiemr2); clearTimeout(timer2);
}, 2000);
}
}
}, }
deep: true }
}
},
deep: true
}
}, },
mounted: function() { mounted: function() {
......
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