update:编码
This commit is contained in:
@@ -87,7 +87,11 @@
|
||||
</p>
|
||||
<p>发起时间: {{ sealApply.createTime }}</p>
|
||||
<p v-if="sealApply.rejectMsg">不通过原因:{{ sealApply.rejectMsg }}</p>
|
||||
<a-button type="primary" @click="onSubmit(sealApply.id)">
|
||||
<a-button
|
||||
v-if="sealApply.status == 1 || sealApply.status == 0"
|
||||
type="primary"
|
||||
@click="onSubmit(sealApply.id)"
|
||||
>
|
||||
进度查询
|
||||
</a-button>
|
||||
</a-card>
|
||||
@@ -123,7 +127,7 @@ export default {
|
||||
var filePath = ref("");
|
||||
var showDrawer = ref(false);
|
||||
onMounted(async () => {
|
||||
var resp = await get("/api2/ca/sealApplyList");
|
||||
var resp = await get("/api2/CASeal/List");
|
||||
if (resp.data) {
|
||||
sealApplyList.value = resp.data;
|
||||
// var currentApply = sealApplyList.value.find(
|
||||
@@ -140,7 +144,7 @@ export default {
|
||||
}
|
||||
});
|
||||
async function createSealApply() {
|
||||
var resp = await post("/api2/ca/sealApply", formModel);
|
||||
var resp = await post("/api2/CASeal/Create", formModel);
|
||||
if (resp.errorCode == 0) {
|
||||
message.success("创建成功", useReload);
|
||||
} else {
|
||||
@@ -148,7 +152,7 @@ export default {
|
||||
}
|
||||
}
|
||||
async function sendSealApply(id) {
|
||||
var resp = await post("/api2/ca/sendSealApply", { id });
|
||||
var resp = await post("/api2/CASeal/Send", { id });
|
||||
if (resp.errorCode == 0) {
|
||||
message.success("申请成功", useReload);
|
||||
} else {
|
||||
@@ -156,7 +160,7 @@ export default {
|
||||
}
|
||||
}
|
||||
async function querySealApply(id) {
|
||||
var resp = await get("/api2/ca/querySealApply", { id });
|
||||
var resp = await get("/api2/CASeal/QueryStatus", { id });
|
||||
if (resp.errorCode == 0) {
|
||||
message.success(
|
||||
"当前状态:" + ["待审核", "已通过", "已拒绝"][resp.data],
|
||||
|
||||
Reference in New Issue
Block a user