Commit 97683cfa authored by lcl's avatar lcl

Merge branch 'V20230915' of http://192.168.60.201/root/dsk-operate-sys into V20230915

parents 06c2d9f3 f4129929
...@@ -193,7 +193,9 @@ export default { ...@@ -193,7 +193,9 @@ export default {
status: undefined, status: undefined,
}, },
// 表单参数 // 表单参数
form: {}, form: {
dateRange:[],
},
// 表单校验 // 表单校验
rules: { rules: {
contactPhone: [ contactPhone: [
...@@ -302,7 +304,7 @@ export default { ...@@ -302,7 +304,7 @@ export default {
// 表单重置 // 表单重置
reset() { reset() {
this.form = { this.form = {
dateRange: undefined, dateRange: [],
id: undefined, id: undefined,
tenantId: undefined, tenantId: undefined,
contactUserName: undefined, contactUserName: undefined,
...@@ -312,7 +314,7 @@ export default { ...@@ -312,7 +314,7 @@ export default {
accountCount: undefined, accountCount: undefined,
status: "0", status: "0",
}; };
this.resetForm("form"); // this.resetForm("form");
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
...@@ -321,7 +323,7 @@ export default { ...@@ -321,7 +323,7 @@ export default {
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.dateRange = []; this.form.dateRange = [];
this.resetForm("queryForm"); this.resetForm("queryForm");
this.handleQuery(); this.handleQuery();
}, },
...@@ -364,7 +366,7 @@ export default { ...@@ -364,7 +366,7 @@ export default {
const id = row.id; const id = row.id;
this.getpack(); this.getpack();
getTenant(id).then(response => { getTenant(id).then(response => {
this.form = response.data; this.form = {...this.form,...response.data};
this.form.dateRange = [response.data.startTime, response.data.expireTime]; this.form.dateRange = [response.data.startTime, response.data.expireTime];
this.open = true; this.open = true;
this.title = this.disabled == true ? '查看企业' : "修改企业"; this.title = this.disabled == true ? '查看企业' : "修改企业";
......
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