Merge branch 'main' of https://gitea.lihaink.cn/mkm/OfficeApp
This commit is contained in:
commit
a6a523cc49
@ -2,14 +2,14 @@ let httpApiThree;
|
|||||||
let httpApi;
|
let httpApi;
|
||||||
|
|
||||||
// 正式使用的域名
|
// 正式使用的域名
|
||||||
httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
|
// httpApi = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||||
// httpApi = 'https://preview-worker-task.lihaink.cn' //预上线
|
// httpApi = 'https://preview-worker-task.lihaink.cn' //预上线
|
||||||
// httpApi = 'https://worker-task.lihaink.cn' //正式
|
httpApi = 'https://worker-task.lihaink.cn' //正式
|
||||||
|
|
||||||
|
|
||||||
httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
|
// httpApiThree = 'https://ceshi-worker-task.lihaink.cn' //测试
|
||||||
// httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线
|
// httpApiThree = 'https://preview-worker-task.lihaink.cn' //预上线
|
||||||
// httpApiThree = 'https://worker-task.lihaink.cn' //正式
|
httpApiThree = 'https://worker-task.lihaink.cn' //正式
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
// httpApiThree = 'baseUrlTest' //生产
|
// httpApiThree = 'baseUrlTest' //生产
|
||||||
// #endif
|
// #endif
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
keyName="name" @change="changeHandler" @cancel="demandShow = false" @confirm="changeDemand"></u-picker>
|
keyName="name" @change="changeHandler" @cancel="demandShow = false" @confirm="changeDemand"></u-picker>
|
||||||
</u--form>
|
</u--form>
|
||||||
<!-- <button @click="addArchives" class="btn">完成更新</button> -->
|
<!-- <button @click="addArchives" class="btn">完成更新</button> -->
|
||||||
<mybtn text="完成更新" @click="addArchives"></mybtn>
|
<mybtn text="完成更新" @click="$u.throttle(addArchives, 2000)"></mybtn>
|
||||||
<u-modal :show="modelShow" title="警告" content='确定要删除该信息吗' closeOnClickOverlay showCancelButton
|
<u-modal :show="modelShow" title="警告" content='确定要删除该信息吗' closeOnClickOverlay showCancelButton
|
||||||
@close="modelShow=false" @cancel="modelShow=false" @confirm="deleteDemand(deleteIndex)"></u-modal>
|
@close="modelShow=false" @cancel="modelShow=false" @confirm="deleteDemand(deleteIndex)"></u-modal>
|
||||||
</view>
|
</view>
|
||||||
@ -149,7 +149,7 @@
|
|||||||
this.formData = res.data;
|
this.formData = res.data;
|
||||||
},
|
},
|
||||||
// 更新档案
|
// 更新档案
|
||||||
addArchives: throttle(async function() {
|
async addArchives() {
|
||||||
if (this.showDemandList.length == 0) return Toast('请先添加需求!');
|
if (this.showDemandList.length == 0) return Toast('请先添加需求!');
|
||||||
let refsDatas = await this.loadRefsDatas();
|
let refsDatas = await this.loadRefsDatas();
|
||||||
if (!this.updateFlag) return;
|
if (!this.updateFlag) return;
|
||||||
@ -174,7 +174,7 @@
|
|||||||
}, 1000)
|
}, 1000)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 1000),
|
},
|
||||||
// 获取组件数据
|
// 获取组件数据
|
||||||
async loadRefsDatas() {
|
async loadRefsDatas() {
|
||||||
this.updateFlag = true;
|
this.updateFlag = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user