@@ -128,9 +128,8 @@
let callback = function (e) {
layer.msg(e.msg);
if (e.code == 0) {
- tool.tabRefresh(71);
- tool.sideClose(1000);
- a = 1
+
+ window.location.href = "/mobile/index/detail?id=" + "{$project_id}"
}
tool.post("/admin/project.appointment/add_company", data.field, callback)
@@ -145,6 +144,10 @@
return pattern.test(str);
</script>
</body>
@@ -960,7 +960,9 @@
setTimeout(function () {
layer.close(index);
+ location.reload()
}, 2000)
if (text !== "") {
if("{$unit_type}" == 2){
@@ -985,7 +987,9 @@