|
@@ -42,8 +42,8 @@
|
|
|
<div class="double">
|
|
|
<el-form-item label="是否跟版" prop="isEdition"><el-input v-model="fromDev.isEdition" size="small" style="width:15vw;" placeholder="请填写" /></el-form-item>
|
|
|
<el-form-item label="开发时间" prop="devTimeStart">
|
|
|
- <el-date-picker v-model="fromDev.devTimeStart" type="date" size="small" style="width:12.5vw; margin-right:2%;" placeholder="选择日期" />
|
|
|
- <el-date-picker v-model="fromDev.devTimeEnd" type="date" size="small" style="width:12.5vw;" placeholder="选择日期" />
|
|
|
+ <el-date-picker v-model="fromDev.devTimeStart" value-format="yyyy-MM-dd HH:mm:ss" type="date" size="small" style="width:12.5vw; margin-right:2%;" placeholder="选择日期" />
|
|
|
+ <el-date-picker v-model="fromDev.devTimeEnd" value-format="yyyy-MM-dd HH:mm:ss" type="date" size="small" style="width:12.5vw;" placeholder="选择日期" />
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
|
|
@@ -105,6 +105,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import moment from 'moment'
|
|
|
import { launchTestUpdate, launchTestCreate } from '@/api/InterfaceReport'
|
|
|
import E from 'wangeditor'
|
|
|
|
|
@@ -237,6 +238,7 @@ export default {
|
|
|
typeof (this.editorContent) === 'string' ? this.fromDev.joinTest = this.editorContent : ''
|
|
|
typeof (this.DetailsOfProposal) === 'string' ? this.fromDev.moduleInfo = this.DetailsOfProposal : ''
|
|
|
this.fromDev.lateStatus = this.lateStatus
|
|
|
+ this.fromDev.devTimeEnd = moment(this.fromDev.devTimeEnd).add(1, 'day').subtract(1, 'second').format('YYYY-MM-DD HH:mm:ss')
|
|
|
this.fromDev.id === undefined ? this.fromDev.id = this.clien : ''
|
|
|
this.userData = { id: '', ename: this.userInformation, name: this.userNames }
|
|
|
this.objData = { launchTestInfo: this.fromDev, user: this.userData }
|