|
@@ -73,12 +73,10 @@
|
|
|
<!-- 编辑弹窗 -->
|
|
|
<el-dialog :title="dialogEdit.title" :visible.sync="dialogEdit.visible" width="1080px" append-to-body
|
|
|
:close-on-click-modal="false" :close-on-press-escape="false">
|
|
|
-
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
|
|
<el-form-item label="公告标题" prop="uTitle">
|
|
|
<el-input v-model="form.uTitle" placeholder="请输入公告标题" />
|
|
|
</el-form-item>
|
|
|
-
|
|
|
<el-form-item label="公告类型" prop="fjType" class="form-input">
|
|
|
<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"
|
|
@@ -152,6 +150,8 @@
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item label="开标时间" :span="2" v-if="dialogDetail.detail.fjType === '1'">
|
|
|
{{ dialogDetail.detail.uKaiTime }}
|
|
|
+ <el-button type="primary" plain @click="openDelayKaibiao"
|
|
|
+ style="margin-left: 12px" size="mini">延期</el-button>
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item label="虚拟子账户" :span="2" v-if="dialogDetail.detail.fjType==='1'">
|
|
|
<div v-if="dialogDetail.detail.bankAccount">
|
|
@@ -209,8 +209,6 @@
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
-
|
|
|
-
|
|
|
<el-button v-if="dialogDetail.detail.fjStatus === 1" type="primary" v-has-role="['operator']"
|
|
|
@click="handleSubmitApproval">提交审批</el-button>
|
|
|
|
|
@@ -231,6 +229,18 @@
|
|
|
<el-button @click="handleCancelDialogDetail">取 消</el-button>
|
|
|
</div>
|
|
|
</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>
|
|
|
</template>
|
|
|
|
|
@@ -240,7 +250,8 @@ import {
|
|
|
addNotice as apiAdd,
|
|
|
updateNotice as apiUpdate,
|
|
|
delNotice as apiDel,
|
|
|
- getNotice as apiDetail
|
|
|
+ getNotice as apiDetail,
|
|
|
+ updateOpenTime
|
|
|
} from "@/api/system/tender/tenderNotice";
|
|
|
import { listRecord } from "@/api/system/approval";
|
|
|
import { getBankAccount } from '@/api/bank/account';
|
|
@@ -295,6 +306,10 @@ export default {
|
|
|
visible: false,
|
|
|
type: 'add',
|
|
|
},
|
|
|
+ dialogEditTime: {
|
|
|
+ visible: false,
|
|
|
+ uKaiTime: null
|
|
|
+ },
|
|
|
dialogDetail: {
|
|
|
visible: false,
|
|
|
detail: {
|
|
@@ -378,7 +393,8 @@ export default {
|
|
|
data: []
|
|
|
},
|
|
|
|
|
|
- accountLoading: false
|
|
|
+ accountLoading: false,
|
|
|
+ delayLoading: false
|
|
|
}
|
|
|
},
|
|
|
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) {
|
|
|
this.resetDetail()
|