|
|
@@ -249,7 +249,7 @@ Page({
|
|
|
this.setData({
|
|
|
form: this.data.form.filter(v => !remove.includes(v.label)).map(v => {
|
|
|
if (required.includes(v.label)) v.required = true;
|
|
|
- if (v.valueName == 'projectname') v.interrupt = false;
|
|
|
+ // if (v.valueName == 'projectname') v.interrupt = false;
|
|
|
return v
|
|
|
}),
|
|
|
siteid: wx.getStorageSync('userMsg').siteid,
|
|
|
@@ -386,7 +386,8 @@ Page({
|
|
|
let that = this;
|
|
|
wx.showModal({
|
|
|
title: '提示',
|
|
|
- content: `是否继续创建项目`,
|
|
|
+ content: `是否确定继续创建项目`,
|
|
|
+ confirmText: "创建",
|
|
|
complete: (res) => {
|
|
|
if (res.confirm) that.handleSubmit(true);
|
|
|
}
|
|
|
@@ -418,7 +419,8 @@ Page({
|
|
|
if (this.data.siteid == 'HY') {
|
|
|
wx.showModal({
|
|
|
title: '提示',
|
|
|
- content: '该项目疑似重复,是否确认创建项目',
|
|
|
+ content: `查询到${query.total}条疑似重复项目信息,是否确定继续创建项目`,
|
|
|
+ confirmText: "创建",
|
|
|
complete: (res) => {
|
|
|
if (res.confirm) that.handleSubmit(true);
|
|
|
}
|