|
@@ -1,179 +0,0 @@
|
|
|
-<template>
|
|
|
- <my-dialog
|
|
|
- :visible="visible"
|
|
|
- @close="emit('update:visible', false)"
|
|
|
- header="项目计划变更"
|
|
|
- :width="980"
|
|
|
- :closeOnOverlayClick="false"
|
|
|
- >
|
|
|
- <t-form ref="formRef" :model="formData" :labelWidth="0">
|
|
|
- <t-row :gutter="[0, 20]">
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <p>提交时间</p>
|
|
|
- </div>
|
|
|
- <div class="read-only"></div>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <p>客户经理</p>
|
|
|
- </div>
|
|
|
- <div class="read-only"></div>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <p>客户类型</p>
|
|
|
- </div>
|
|
|
- <div class="read-only"></div>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <p>客户名称</p>
|
|
|
- </div>
|
|
|
- <div class="read-only"></div>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <p>项目母单编号</p>
|
|
|
- </div>
|
|
|
- <div class="read-only"></div>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <p>项目名称</p>
|
|
|
- </div>
|
|
|
- <div class="read-only"></div>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <p>项目经理</p>
|
|
|
- </div>
|
|
|
- <div class="read-only"></div>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <p>考试开始时间</p>
|
|
|
- </div>
|
|
|
- <div class="read-only"></div>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <p>考试结束时间</p>
|
|
|
- </div>
|
|
|
- <div class="read-only"></div>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <p>特殊要求及备注</p>
|
|
|
- </div>
|
|
|
- <div class="read-only"></div>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
-
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <span class="require-icon">*</span>
|
|
|
- <p>变更原因</p>
|
|
|
- </div>
|
|
|
- <div class="sub-title">
|
|
|
- <p :style="{ color: 'gray' }"> 请简要描述变更原因 </p>
|
|
|
- </div>
|
|
|
- <t-input v-model="formData.k"></t-input>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
- <t-col :span="6">
|
|
|
- <t-form-item class="my-form-item">
|
|
|
- <div class="top-label flex items-center">
|
|
|
- <span class="require-icon">*</span>
|
|
|
- <p>变更类型</p>
|
|
|
- </div>
|
|
|
- <div class="sub-title">
|
|
|
- <p :style="{ color: 'gray' }">
|
|
|
- 1.请先选择“变更类型”,系统会给出相应的填写表单;
|
|
|
- </p>
|
|
|
- <p :style="{ color: 'gray' }">
|
|
|
- 2.关键信息及计划变更:项目关键信息里填写的项目关键信息或时间计划内容调整;
|
|
|
- </p>
|
|
|
- <p :style="{ color: 'gray' }">
|
|
|
- 3.处理时限报备:例如项目关键信息、项目总结报告、验收报告等提交时限有特殊原因需要调整,处理时限是指不在项目关键信息表填写的处理时限约束;
|
|
|
- </p>
|
|
|
- <p :style="{ color: 'gray' }">
|
|
|
- 4.项目取消:若项目取消,则只需填写变更原因后提交。
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <t-radio-group v-model="formData.l">
|
|
|
- <t-radio value="1">项目信息及计划变更</t-radio>
|
|
|
- <t-radio value="2">处理时限报备</t-radio>
|
|
|
- <t-radio value="3">项目取消</t-radio>
|
|
|
- </t-radio-group>
|
|
|
- </t-form-item>
|
|
|
- </t-col>
|
|
|
- </t-row>
|
|
|
- </t-form>
|
|
|
- <template #foot>
|
|
|
- <t-button theme="default" @click="emit('update:visible', false)"
|
|
|
- >取消</t-button
|
|
|
- >
|
|
|
- <t-button theme="primary" @click="save">保存</t-button>
|
|
|
- </template>
|
|
|
- </my-dialog>
|
|
|
-</template>
|
|
|
-<script setup name="PlanChangeDialog">
|
|
|
-import { ref } from 'vue';
|
|
|
-import useClearDialog from '@/hooks/useClearDialog';
|
|
|
-const emit = defineEmits(['update:visible', 'success']);
|
|
|
-const formRef = ref(null);
|
|
|
-
|
|
|
-const props = defineProps({
|
|
|
- visible: Boolean,
|
|
|
- curRow: Object,
|
|
|
-});
|
|
|
-const getDetail = async () => {
|
|
|
- //编辑状态下获取回显数据的接口请求业务,如果curRow里的字段够用,就直接把curRow里的字段赋值给formData
|
|
|
- alert('获取详情中...');
|
|
|
-};
|
|
|
-const { formData, isEdit } = useClearDialog(
|
|
|
- {
|
|
|
- a: '',
|
|
|
- b: '',
|
|
|
- c: '',
|
|
|
- d: '',
|
|
|
- e: '',
|
|
|
- f: '',
|
|
|
- g: '',
|
|
|
- h: '',
|
|
|
- i: '',
|
|
|
- j: '',
|
|
|
- k: '',
|
|
|
- l: '',
|
|
|
- m: [],
|
|
|
- },
|
|
|
- props,
|
|
|
- getDetail
|
|
|
-);
|
|
|
-const save = () => {
|
|
|
- //ajax...
|
|
|
- emit('success');
|
|
|
-};
|
|
|
-</script>
|
|
|
-<style lang="less" scoped></style>
|