Compare commits

...

2 Commits

Author SHA1 Message Date
ad9d2e0c11 Merge remote-tracking branch 'origin/main' 2024-04-29 17:02:29 +08:00
3223294e15 页面展示优化 2024-04-29 17:02:16 +08:00
18 changed files with 102 additions and 39 deletions

View File

@ -8,7 +8,7 @@
<version>3.8.7</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<packaging>war</packaging>
<artifactId>inspur-admin</artifactId>
<description>

View File

@ -117,7 +117,7 @@ public interface OmOrderInfoMapper
*/
public List<OmOrderInfo> selectInvainOrder();
/**
* 查询无效订单
* 批量更新订单状态
*
* @return 结果
*/

View File

@ -340,6 +340,7 @@
FROM om_order_quotation q
LEFT JOIN om_order_info a ON a.order_id = q.order_id
<where>
q.del_flag = '0 '
<if test="tenantId != null and tenantId != ''">and q.tenant_id = #{tenantId}</if>
<if test="status != null and status != ''">and a.status = #{status}</if>
<if test="searchValue != null and searchValue != ''">and q.quotation_num like

View File

@ -187,7 +187,7 @@ export default {
changeLoginStatus() {
if (this.loginStatus === 0) {
this.loginStatus = 1;
this.title = "装备运维知识服务台后台";
this.title = "装备运维知识服务管理平台";
} else if (this.loginStatus === 1) {
this.loginStatus = 0;
this.title = "装备运维知识服务平台";
@ -211,7 +211,7 @@ export default {
const tenantId = Cookies.get("tenantId");
if (tenantId == "00000000") {
this.loginStatus = 1;
this.title = "装备运维知识服务台后台";
this.title = "装备运维知识服务管理平台";
} else {
this.loginStatus = 0;
this.title = "装备运维知识服务平台";

View File

@ -417,7 +417,7 @@
/>
</el-form-item>
</el-row>
<el-row>
<el-row v-if="!isDisabled">
<el-form-item
label="合规性审查意见"
prop="complianceReview"
@ -445,7 +445,14 @@
type="primary"
@click="submitForm(4)"
> </el-button>
<el-button @click="cancel"> </el-button>
<el-button
v-if="!isDisabled"
@click="cancel"
> </el-button>
<el-button
v-if="isDisabled"
@click="cancel"
> </el-button>
</div>
</el-dialog>
</div>
@ -453,7 +460,7 @@
<script>
import {
listByOmApplication,
listApplication,
getApplication,
addApplication,
updateApplication,
@ -521,7 +528,7 @@ export default {
//
this.queryParams.status = "3";
this.loading = true;
listByOmApplication(this.queryParams).then((response) => {
listApplication(this.queryParams).then((response) => {
this.applicationList = response.rows;
this.total = response.total;
this.loading = false;

View File

@ -5,7 +5,6 @@
:before-upload="handleBeforeUpload"
:file-list="fileList"
:limit="limit"
accept=".zip,.rar"
:on-error="handleUploadError"
:on-exceed="handleExceed"
:on-success="handleUploadSuccess"
@ -143,26 +142,26 @@ export default {
},
//
handleBeforeUpload(file) {
//
if (this.fileType) {
const fileName = file.name.split(".");
const fileExt = fileName[fileName.length - 1];
const isTypeOk = this.fileType.indexOf(fileExt) >= 0;
if (!isTypeOk) {
this.$modal.msgError(
`文件格式不正确, 请上传${this.fileType.join("/")}格式文件!`
);
return false;
}
}
//
if (this.fileSize) {
const isLt = file.size / 1024 / 1024 < this.fileSize;
if (!isLt) {
this.$modal.msgError(`上传文件大小不能超过 ${this.fileSize} MB!`);
return false;
}
}
// //
// if (this.fileType) {
// const fileName = file.name.split(".");
// const fileExt = fileName[fileName.length - 1];
// const isTypeOk = this.fileType.indexOf(fileExt) >= 0;
// if (!isTypeOk) {
// this.$modal.msgError(
// `, ${this.fileType.join("/")}!`
// );
// return false;
// }
// }
// //
// if (this.fileSize) {
// const isLt = file.size / 1024 / 1024 < this.fileSize;
// if (!isLt) {
// this.$modal.msgError(` ${this.fileSize} MB!`);
// return false;
// }
// }
this.$modal.loading("正在上传文件,请稍候...");
this.number++;
return true;

View File

@ -405,13 +405,13 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-row v-if="!isDisabled">
<el-form-item
:disabled="isDisabled"
label="资料审查意见"
prop="infoReview"
>
<el-input
:disabled="isDisabled"
v-model="form.infoReview"
type="textarea"
placeholder="请输入内容"
@ -433,7 +433,14 @@
type="primary"
@click="submitForm(2)"
> </el-button>
<el-button @click="cancel"> </el-button>
<el-button
v-if="!isDisabled"
@click="cancel"
> </el-button>
<el-button
v-if="isDisabled"
@click="cancel"
> </el-button>
</div>
</el-dialog>
</div>
@ -441,7 +448,7 @@
<script>
import {
listByOmApplication,
listApplication,
getApplication,
addApplication,
updateApplication,
@ -509,7 +516,7 @@ export default {
//
this.queryParams.status = "1";
this.loading = true;
listByOmApplication(this.queryParams).then((response) => {
listApplication(this.queryParams).then((response) => {
this.applicationList = response.rows;
this.total = response.total;
this.loading = false;

View File

@ -103,6 +103,23 @@
/>
</el-select>
</el-form-item>
<el-form-item
label="状态"
prop="status"
>
<el-select
v-model="queryParams.status"
placeholder="请选择状态"
clearable
>
<el-option
v-for="dict in dict.type.om_application_status"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type="primary"
@ -446,7 +463,7 @@
</template>
<script>
import { listByOmApplication, getApplication } from "@/api/om/application";
import { listApplication, getApplication } from "@/api/om/application";
export default {
name: "Application",
dicts: [
@ -511,7 +528,7 @@ export default {
/** 查询团队注册申请列表 */
getList() {
this.loading = true;
listByOmApplication(this.queryParams).then((response) => {
listApplication(this.queryParams).then((response) => {
this.applicationList = response.rows;
this.total = response.total;
this.loading = false;

View File

@ -401,6 +401,7 @@ import {
addApplication,
updateApplication,
uniqueCheck,
delApplication,
} from "@/api/om/application";
import FileUploadOm from "@/views/om/application/fileUpload";
export default {
@ -654,6 +655,21 @@ export default {
"_self"
);
},
/** 删除按钮操作 */
handleDelete(row) {
const teamId = row.id;
const teamName = row.teamName;
this.$modal
.confirm('是否确认删除名称为"' + teamName + '"运维团队申请?')
.then(function () {
return delApplication(teamId);
})
.then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
})
.catch(() => {});
},
},
};
</script>

View File

@ -492,9 +492,9 @@ export default {
},
/** 删除按钮操作 */
handleDelete(row) {
const teamIds = row.teamId || this.ids;
const teamIds = row.teamId;
this.$modal
.confirm('是否确认删除运维团队:"' + teamIds + '"')
.confirm('是否确认删除运维团队:"' + row.teamName + '"')
.then(function () {
return delTeamInfo(teamIds);
})

View File

@ -680,9 +680,11 @@
prop="remark"
>
<el-input
v-if="!isView"
v-model="formQuotation.remark"
placeholder="请输入备注"
/>
<span v-if="isView">{{ formQuotation.remark }}</span>
</el-form-item>
</el-col>
</el-row>

View File

@ -632,9 +632,11 @@
prop="remark"
>
<el-input
v-if="!isView"
v-model="formQuotation.remark"
placeholder="请输入备注"
/>
<span v-if="isView">{{ formQuotation.remark }}</span>
</el-form-item>
</el-col>
</el-row>

View File

@ -653,10 +653,12 @@
label="备注"
prop="remark"
>
<el-input
<el-input
v-if="!isView"
v-model="formQuotation.remark"
placeholder="请输入备注"
/>
<span v-if="isView">{{ formQuotation.remark }}</span>
</el-form-item>
</el-col>
</el-row>

View File

@ -716,9 +716,11 @@
prop="remark"
>
<el-input
v-if="!isView"
v-model="formQuotation.remark"
placeholder="请输入备注"
/>
<span v-if="isView">{{ formQuotation.remark }}</span>
</el-form-item>
</el-col>
</el-row>

View File

@ -589,9 +589,11 @@
prop="remark"
>
<el-input
v-if="!isView"
v-model="formQuotation.remark"
placeholder="请输入备注"
/>
<span v-if="isView">{{ formQuotation.remark }}</span>
</el-form-item>
</el-col>
</el-row>

View File

@ -696,9 +696,11 @@
prop="remark"
>
<el-input
v-if="!isView"
v-model="formQuotation.remark"
placeholder="请输入备注"
/>
<span v-if="isView">{{ formQuotation.remark }}</span>
</el-form-item>
</el-col>
</el-row>

View File

@ -668,9 +668,11 @@
prop="remark"
>
<el-input
v-if="!isView"
v-model="formQuotation.remark"
placeholder="请输入备注"
/>
<span v-if="isView">{{ formQuotation.remark }}</span>
</el-form-item>
</el-col>
</el-row>

View File

@ -675,9 +675,11 @@
prop="remark"
>
<el-input
v-if="!isView"
v-model="formQuotation.remark"
placeholder="请输入备注"
/>
<span v-if="isView">{{ formQuotation.remark }}</span>
</el-form-item>
</el-col>
</el-row>