Compare commits
2 Commits
c1a5f98a9c
...
ad9d2e0c11
Author | SHA1 | Date | |
---|---|---|---|
ad9d2e0c11 | |||
3223294e15 |
@ -8,7 +8,7 @@
|
|||||||
<version>3.8.7</version>
|
<version>3.8.7</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<packaging>jar</packaging>
|
<packaging>war</packaging>
|
||||||
<artifactId>inspur-admin</artifactId>
|
<artifactId>inspur-admin</artifactId>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
|
@ -117,7 +117,7 @@ public interface OmOrderInfoMapper
|
|||||||
*/
|
*/
|
||||||
public List<OmOrderInfo> selectInvainOrder();
|
public List<OmOrderInfo> selectInvainOrder();
|
||||||
/**
|
/**
|
||||||
* 查询无效订单
|
* 批量更新订单状态
|
||||||
*
|
*
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
|
@ -340,6 +340,7 @@
|
|||||||
FROM om_order_quotation q
|
FROM om_order_quotation q
|
||||||
LEFT JOIN om_order_info a ON a.order_id = q.order_id
|
LEFT JOIN om_order_info a ON a.order_id = q.order_id
|
||||||
<where>
|
<where>
|
||||||
|
q.del_flag = '0 '
|
||||||
<if test="tenantId != null and tenantId != ''">and q.tenant_id = #{tenantId}</if>
|
<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="status != null and status != ''">and a.status = #{status}</if>
|
||||||
<if test="searchValue != null and searchValue != ''">and q.quotation_num like
|
<if test="searchValue != null and searchValue != ''">and q.quotation_num like
|
||||||
|
@ -187,7 +187,7 @@ export default {
|
|||||||
changeLoginStatus() {
|
changeLoginStatus() {
|
||||||
if (this.loginStatus === 0) {
|
if (this.loginStatus === 0) {
|
||||||
this.loginStatus = 1;
|
this.loginStatus = 1;
|
||||||
this.title = "装备运维知识服务平台后台";
|
this.title = "装备运维知识服务管理平台";
|
||||||
} else if (this.loginStatus === 1) {
|
} else if (this.loginStatus === 1) {
|
||||||
this.loginStatus = 0;
|
this.loginStatus = 0;
|
||||||
this.title = "装备运维知识服务平台";
|
this.title = "装备运维知识服务平台";
|
||||||
@ -211,7 +211,7 @@ export default {
|
|||||||
const tenantId = Cookies.get("tenantId");
|
const tenantId = Cookies.get("tenantId");
|
||||||
if (tenantId == "00000000") {
|
if (tenantId == "00000000") {
|
||||||
this.loginStatus = 1;
|
this.loginStatus = 1;
|
||||||
this.title = "装备运维知识服务平台后台";
|
this.title = "装备运维知识服务管理平台";
|
||||||
} else {
|
} else {
|
||||||
this.loginStatus = 0;
|
this.loginStatus = 0;
|
||||||
this.title = "装备运维知识服务平台";
|
this.title = "装备运维知识服务平台";
|
||||||
|
@ -417,7 +417,7 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row v-if="!isDisabled">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
label="合规性审查意见"
|
label="合规性审查意见"
|
||||||
prop="complianceReview"
|
prop="complianceReview"
|
||||||
@ -445,7 +445,14 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
@click="submitForm(4)"
|
@click="submitForm(4)"
|
||||||
>驳 回</el-button>
|
>驳 回</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>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
@ -453,7 +460,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
listByOmApplication,
|
listApplication,
|
||||||
getApplication,
|
getApplication,
|
||||||
addApplication,
|
addApplication,
|
||||||
updateApplication,
|
updateApplication,
|
||||||
@ -521,7 +528,7 @@ export default {
|
|||||||
// 只查询合规性审核阶段
|
// 只查询合规性审核阶段
|
||||||
this.queryParams.status = "3";
|
this.queryParams.status = "3";
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
listByOmApplication(this.queryParams).then((response) => {
|
listApplication(this.queryParams).then((response) => {
|
||||||
this.applicationList = response.rows;
|
this.applicationList = response.rows;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
:before-upload="handleBeforeUpload"
|
:before-upload="handleBeforeUpload"
|
||||||
:file-list="fileList"
|
:file-list="fileList"
|
||||||
:limit="limit"
|
:limit="limit"
|
||||||
accept=".zip,.rar"
|
|
||||||
:on-error="handleUploadError"
|
:on-error="handleUploadError"
|
||||||
:on-exceed="handleExceed"
|
:on-exceed="handleExceed"
|
||||||
:on-success="handleUploadSuccess"
|
:on-success="handleUploadSuccess"
|
||||||
@ -143,26 +142,26 @@ export default {
|
|||||||
},
|
},
|
||||||
// 上传前校检格式和大小
|
// 上传前校检格式和大小
|
||||||
handleBeforeUpload(file) {
|
handleBeforeUpload(file) {
|
||||||
// 校检文件类型
|
// // 校检文件类型
|
||||||
if (this.fileType) {
|
// if (this.fileType) {
|
||||||
const fileName = file.name.split(".");
|
// const fileName = file.name.split(".");
|
||||||
const fileExt = fileName[fileName.length - 1];
|
// const fileExt = fileName[fileName.length - 1];
|
||||||
const isTypeOk = this.fileType.indexOf(fileExt) >= 0;
|
// const isTypeOk = this.fileType.indexOf(fileExt) >= 0;
|
||||||
if (!isTypeOk) {
|
// if (!isTypeOk) {
|
||||||
this.$modal.msgError(
|
// this.$modal.msgError(
|
||||||
`文件格式不正确, 请上传${this.fileType.join("/")}格式文件!`
|
// `文件格式不正确, 请上传${this.fileType.join("/")}格式文件!`
|
||||||
);
|
// );
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
// 校检文件大小
|
// // 校检文件大小
|
||||||
if (this.fileSize) {
|
// if (this.fileSize) {
|
||||||
const isLt = file.size / 1024 / 1024 < this.fileSize;
|
// const isLt = file.size / 1024 / 1024 < this.fileSize;
|
||||||
if (!isLt) {
|
// if (!isLt) {
|
||||||
this.$modal.msgError(`上传文件大小不能超过 ${this.fileSize} MB!`);
|
// this.$modal.msgError(`上传文件大小不能超过 ${this.fileSize} MB!`);
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
this.$modal.loading("正在上传文件,请稍候...");
|
this.$modal.loading("正在上传文件,请稍候...");
|
||||||
this.number++;
|
this.number++;
|
||||||
return true;
|
return true;
|
||||||
|
@ -405,13 +405,13 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row>
|
<el-row v-if="!isDisabled">
|
||||||
<el-form-item
|
<el-form-item
|
||||||
:disabled="isDisabled"
|
|
||||||
label="资料审查意见"
|
label="资料审查意见"
|
||||||
prop="infoReview"
|
prop="infoReview"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
:disabled="isDisabled"
|
||||||
v-model="form.infoReview"
|
v-model="form.infoReview"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
placeholder="请输入内容"
|
placeholder="请输入内容"
|
||||||
@ -433,7 +433,14 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
@click="submitForm(2)"
|
@click="submitForm(2)"
|
||||||
>驳 回</el-button>
|
>驳 回</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>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
@ -441,7 +448,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
listByOmApplication,
|
listApplication,
|
||||||
getApplication,
|
getApplication,
|
||||||
addApplication,
|
addApplication,
|
||||||
updateApplication,
|
updateApplication,
|
||||||
@ -509,7 +516,7 @@ export default {
|
|||||||
// 只查询资料审核阶段
|
// 只查询资料审核阶段
|
||||||
this.queryParams.status = "1";
|
this.queryParams.status = "1";
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
listByOmApplication(this.queryParams).then((response) => {
|
listApplication(this.queryParams).then((response) => {
|
||||||
this.applicationList = response.rows;
|
this.applicationList = response.rows;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
@ -103,6 +103,23 @@
|
|||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</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-form-item>
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@ -446,7 +463,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { listByOmApplication, getApplication } from "@/api/om/application";
|
import { listApplication, getApplication } from "@/api/om/application";
|
||||||
export default {
|
export default {
|
||||||
name: "Application",
|
name: "Application",
|
||||||
dicts: [
|
dicts: [
|
||||||
@ -511,7 +528,7 @@ export default {
|
|||||||
/** 查询团队注册申请列表 */
|
/** 查询团队注册申请列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
listByOmApplication(this.queryParams).then((response) => {
|
listApplication(this.queryParams).then((response) => {
|
||||||
this.applicationList = response.rows;
|
this.applicationList = response.rows;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
@ -401,6 +401,7 @@ import {
|
|||||||
addApplication,
|
addApplication,
|
||||||
updateApplication,
|
updateApplication,
|
||||||
uniqueCheck,
|
uniqueCheck,
|
||||||
|
delApplication,
|
||||||
} from "@/api/om/application";
|
} from "@/api/om/application";
|
||||||
import FileUploadOm from "@/views/om/application/fileUpload";
|
import FileUploadOm from "@/views/om/application/fileUpload";
|
||||||
export default {
|
export default {
|
||||||
@ -654,6 +655,21 @@ export default {
|
|||||||
"_self"
|
"_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>
|
</script>
|
||||||
|
@ -492,9 +492,9 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
const teamIds = row.teamId || this.ids;
|
const teamIds = row.teamId;
|
||||||
this.$modal
|
this.$modal
|
||||||
.confirm('是否确认删除运维团队:"' + teamIds + '"?')
|
.confirm('是否确认删除运维团队:"' + row.teamName + '"?')
|
||||||
.then(function () {
|
.then(function () {
|
||||||
return delTeamInfo(teamIds);
|
return delTeamInfo(teamIds);
|
||||||
})
|
})
|
||||||
|
@ -680,9 +680,11 @@
|
|||||||
prop="remark"
|
prop="remark"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
v-if="!isView"
|
||||||
v-model="formQuotation.remark"
|
v-model="formQuotation.remark"
|
||||||
placeholder="请输入备注"
|
placeholder="请输入备注"
|
||||||
/>
|
/>
|
||||||
|
<span v-if="isView">{{ formQuotation.remark }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -632,9 +632,11 @@
|
|||||||
prop="remark"
|
prop="remark"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
v-if="!isView"
|
||||||
v-model="formQuotation.remark"
|
v-model="formQuotation.remark"
|
||||||
placeholder="请输入备注"
|
placeholder="请输入备注"
|
||||||
/>
|
/>
|
||||||
|
<span v-if="isView">{{ formQuotation.remark }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -654,9 +654,11 @@
|
|||||||
prop="remark"
|
prop="remark"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
v-if="!isView"
|
||||||
v-model="formQuotation.remark"
|
v-model="formQuotation.remark"
|
||||||
placeholder="请输入备注"
|
placeholder="请输入备注"
|
||||||
/>
|
/>
|
||||||
|
<span v-if="isView">{{ formQuotation.remark }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -716,9 +716,11 @@
|
|||||||
prop="remark"
|
prop="remark"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
v-if="!isView"
|
||||||
v-model="formQuotation.remark"
|
v-model="formQuotation.remark"
|
||||||
placeholder="请输入备注"
|
placeholder="请输入备注"
|
||||||
/>
|
/>
|
||||||
|
<span v-if="isView">{{ formQuotation.remark }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -589,9 +589,11 @@
|
|||||||
prop="remark"
|
prop="remark"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
v-if="!isView"
|
||||||
v-model="formQuotation.remark"
|
v-model="formQuotation.remark"
|
||||||
placeholder="请输入备注"
|
placeholder="请输入备注"
|
||||||
/>
|
/>
|
||||||
|
<span v-if="isView">{{ formQuotation.remark }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -696,9 +696,11 @@
|
|||||||
prop="remark"
|
prop="remark"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
v-if="!isView"
|
||||||
v-model="formQuotation.remark"
|
v-model="formQuotation.remark"
|
||||||
placeholder="请输入备注"
|
placeholder="请输入备注"
|
||||||
/>
|
/>
|
||||||
|
<span v-if="isView">{{ formQuotation.remark }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -668,9 +668,11 @@
|
|||||||
prop="remark"
|
prop="remark"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
v-if="!isView"
|
||||||
v-model="formQuotation.remark"
|
v-model="formQuotation.remark"
|
||||||
placeholder="请输入备注"
|
placeholder="请输入备注"
|
||||||
/>
|
/>
|
||||||
|
<span v-if="isView">{{ formQuotation.remark }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -675,9 +675,11 @@
|
|||||||
prop="remark"
|
prop="remark"
|
||||||
>
|
>
|
||||||
<el-input
|
<el-input
|
||||||
|
v-if="!isView"
|
||||||
v-model="formQuotation.remark"
|
v-model="formQuotation.remark"
|
||||||
placeholder="请输入备注"
|
placeholder="请输入备注"
|
||||||
/>
|
/>
|
||||||
|
<span v-if="isView">{{ formQuotation.remark }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
Loading…
Reference in New Issue
Block a user