|
@@ -73,12 +73,10 @@
|
|
<!-- 编辑弹窗 -->
|
|
<!-- 编辑弹窗 -->
|
|
<el-dialog :title="dialogEdit.title" :visible.sync="dialogEdit.visible" width="1080px" append-to-body
|
|
<el-dialog :title="dialogEdit.title" :visible.sync="dialogEdit.visible" width="1080px" append-to-body
|
|
:close-on-click-modal="false" :close-on-press-escape="false">
|
|
:close-on-click-modal="false" :close-on-press-escape="false">
|
|
-
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
|
<el-form-item label="公告标题" prop="uTitle">
|
|
<el-form-item label="公告标题" prop="uTitle">
|
|
<el-input v-model="form.uTitle" placeholder="请输入公告标题" />
|
|
<el-input v-model="form.uTitle" placeholder="请输入公告标题" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
-
|
|
|
|
<el-form-item label="公告类型" prop="fjType" class="form-input">
|
|
<el-form-item label="公告类型" prop="fjType" class="form-input">
|
|
<el-select v-model="form.fjType" placeholder="请选择公告类型" clearable>
|
|
<el-select v-model="form.fjType" placeholder="请选择公告类型" clearable>
|
|
<el-option v-for="fjType in dict.type.jc_publicity_type" :key="fjType.value" :label="fjType.label"
|
|
<el-option v-for="fjType in dict.type.jc_publicity_type" :key="fjType.value" :label="fjType.label"
|
|
@@ -152,6 +150,8 @@
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
<el-descriptions-item label="开标时间" :span="2" v-if="dialogDetail.detail.fjType === '1'">
|
|
<el-descriptions-item label="开标时间" :span="2" v-if="dialogDetail.detail.fjType === '1'">
|
|
{{ dialogDetail.detail.uKaiTime }}
|
|
{{ dialogDetail.detail.uKaiTime }}
|
|
|
|
+ <el-button type="primary" plain @click="openDelayKaibiao"
|
|
|
|
+ style="margin-left: 12px" size="mini">延期</el-button>
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
<el-descriptions-item label="虚拟子账户" :span="2" v-if="dialogDetail.detail.fjType==='1'">
|
|
<el-descriptions-item label="虚拟子账户" :span="2" v-if="dialogDetail.detail.fjType==='1'">
|
|
<div v-if="dialogDetail.detail.bankAccount">
|
|
<div v-if="dialogDetail.detail.bankAccount">
|
|
@@ -209,8 +209,6 @@
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
</el-tabs>
|
|
</el-tabs>
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
-
|
|
|
|
-
|
|
|
|
<el-button v-if="dialogDetail.detail.fjStatus === 1" type="primary" v-has-role="['operator']"
|
|
<el-button v-if="dialogDetail.detail.fjStatus === 1" type="primary" v-has-role="['operator']"
|
|
@click="handleSubmitApproval">提交审批</el-button>
|
|
@click="handleSubmitApproval">提交审批</el-button>
|
|
|
|
|
|
@@ -231,6 +229,18 @@
|
|
<el-button @click="handleCancelDialogDetail">取 消</el-button>
|
|
<el-button @click="handleCancelDialogDetail">取 消</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+
|
|
|
|
+ <el-dialog title="修改开标时间" :visible.sync="dialogEditTime.visible" width="800px" append-to-body
|
|
|
|
+ :close-on-click-modal="false" :close-on-press-escape="false">
|
|
|
|
+ <el-date-picker v-model="dialogEditTime.uKaiTime" type="datetime" placeholder="请选择开标时间"
|
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss" default-time="09:00:00">
|
|
|
|
+ </el-date-picker>
|
|
|
|
+
|
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
|
+ <el-button type="primary" @click="delayKaibiao" :loading="delayLoading">提 交</el-button>
|
|
|
|
+ <el-button @click="dialogEditTime.visible = false">取 消</el-button>
|
|
|
|
+ </div>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -240,7 +250,8 @@ import {
|
|
addNotice as apiAdd,
|
|
addNotice as apiAdd,
|
|
updateNotice as apiUpdate,
|
|
updateNotice as apiUpdate,
|
|
delNotice as apiDel,
|
|
delNotice as apiDel,
|
|
- getNotice as apiDetail
|
|
|
|
|
|
+ getNotice as apiDetail,
|
|
|
|
+ updateOpenTime
|
|
} from "@/api/system/tender/tenderNotice";
|
|
} from "@/api/system/tender/tenderNotice";
|
|
import { listRecord } from "@/api/system/approval";
|
|
import { listRecord } from "@/api/system/approval";
|
|
import { getBankAccount } from '@/api/bank/account';
|
|
import { getBankAccount } from '@/api/bank/account';
|
|
@@ -295,6 +306,10 @@ export default {
|
|
visible: false,
|
|
visible: false,
|
|
type: 'add',
|
|
type: 'add',
|
|
},
|
|
},
|
|
|
|
+ dialogEditTime: {
|
|
|
|
+ visible: false,
|
|
|
|
+ uKaiTime: null
|
|
|
|
+ },
|
|
dialogDetail: {
|
|
dialogDetail: {
|
|
visible: false,
|
|
visible: false,
|
|
detail: {
|
|
detail: {
|
|
@@ -378,7 +393,8 @@ export default {
|
|
data: []
|
|
data: []
|
|
},
|
|
},
|
|
|
|
|
|
- accountLoading: false
|
|
|
|
|
|
+ accountLoading: false,
|
|
|
|
+ delayLoading: false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created () {
|
|
created () {
|
|
@@ -539,6 +555,29 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ openDelayKaibiao() {
|
|
|
|
+ this.dialogEditTime.visible = true
|
|
|
|
+ this.dialogEditTime.uKaiTime = this.dialogDetail.detail.uKaiTime
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ // 延期
|
|
|
|
+ delayKaibiao() {
|
|
|
|
+ this.delayLoading = true
|
|
|
|
+ updateOpenTime({
|
|
|
|
+ uid: this.dialogDetail.detail.uid,
|
|
|
|
+ uKaiTime: this.dialogEditTime.uKaiTime
|
|
|
|
+ })
|
|
|
|
+ .then(res => {
|
|
|
|
+ this.dialogEditTime.visible = false
|
|
|
|
+ this.delayLoading = false
|
|
|
|
+ this.$message.success(res?.msg);
|
|
|
|
+ this.$tab.closePage();
|
|
|
|
+ })
|
|
|
|
+ .catch(err => {
|
|
|
|
+ this.delayLoading = false
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+
|
|
/** 查看 */
|
|
/** 查看 */
|
|
handleInfo (row) {
|
|
handleInfo (row) {
|
|
this.resetDetail()
|
|
this.resetDetail()
|