作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

商户申请

... ... @@ -4,7 +4,7 @@
<bookmark url="file://$PROJECT_DIR$/application/home/view/member/my_information.html" line="118" mnemonic="4" />
</component>
<component name="ChangeListManager">
<list default="true" id="309ad746-5b2a-4c29-af46-e7925a35765c" name="默认的" comment="">
<list default="true" id="309ad746-5b2a-4c29-af46-e7925a35765c" name="默认的" comment=" 商户申请">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/application/home/view/merchant/enter_view.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/home/view/merchant/enter_view.html" afterDir="false" />
</list>
... ... @@ -37,8 +37,8 @@
<file leaf-file-name="enter_view.html" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/application/home/view/merchant/enter_view.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="425">
<caret line="219" column="77" lean-forward="true" selection-start-line="219" selection-start-column="77" selection-end-line="219" selection-end-column="77" />
<state relative-caret-position="272">
<caret line="192" column="58" selection-start-line="192" selection-start-column="58" selection-end-line="192" selection-end-column="58" />
</state>
</provider>
</entry>
... ... @@ -363,14 +363,7 @@
<workItem from="1573174620844" duration="32581000" />
<workItem from="1573259331081" duration="30435000" />
<workItem from="1573432217070" duration="2199000" />
<workItem from="1573519427130" duration="11827000" />
</task>
<task id="LOCAL-00534" summary=" 商户申请">
<created>1573292730768</created>
<option name="number" value="00534" />
<option name="presentableId" value="LOCAL-00534" />
<option name="project" value="LOCAL" />
<updated>1573292730768</updated>
<workItem from="1573519427130" duration="12025000" />
</task>
<task id="LOCAL-00535" summary=" 商户申请">
<created>1573292751851</created>
... ... @@ -708,11 +701,18 @@
<option name="project" value="LOCAL" />
<updated>1573542575057</updated>
</task>
<option name="localTasksCounter" value="583" />
<task id="LOCAL-00583" summary=" 商户申请">
<created>1573543214598</created>
<option name="number" value="00583" />
<option name="presentableId" value="LOCAL-00583" />
<option name="project" value="LOCAL" />
<updated>1573543214598</updated>
</task>
<option name="localTasksCounter" value="584" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="418134000" />
<option name="totallyTimeSpent" value="418332000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
... ... @@ -1103,8 +1103,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/application/home/view/merchant/enter_view.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="425">
<caret line="219" column="77" lean-forward="true" selection-start-line="219" selection-start-column="77" selection-end-line="219" selection-end-column="77" />
<state relative-caret-position="272">
<caret line="192" column="58" selection-start-line="192" selection-start-column="58" selection-end-line="192" selection-end-column="58" />
</state>
</provider>
</entry>
... ...
... ... @@ -163,11 +163,6 @@
let i = 0; //第几个
let tempFilePaths = res.localIds; //总文件
let length = res.localIds.length; //总共个数
wx.showLoading({
title: '上传中'
});
// t.uploadAllfile(tempFilePaths, successUp, failUp, i, length,2);
uploadImages(tempFilePaths,length,i,2);
... ... @@ -195,6 +190,7 @@
success:function(res){
console.log(res);
if(res.code == 1){
alert('99999999999')
if(type == 1){
var html = "<div class=\"images\">\n" +
" <img src=\""+res.data+"\" class=\"images_one\"/>\n" +
... ... @@ -204,6 +200,12 @@
" </div>\n" +
" </div>";
$('#dom1').prepend(html);
i++;
if(i < length) {
alert('6666666666666666666')
// 还有图片
uploadImages(localId,length,i,1);
}
}else if(type == 2){
var html = "<div class=\"images\">\n" +
" <img src=\""+res.data+"\" class=\"images_two\"/>\n" +
... ... @@ -213,12 +215,14 @@
" </div>\n" +
" </div>";
$('#dom2').prepend(html);
i++;
if(i < length) {
alert('777777777777')
// 还有图片
uploadImages(localId,length,i,2);
}
}
i++;
if(i < length) {
// 还有图片
uploadImages(localId,length,i,2);
}
}
},
error:function(res){
... ...