|
@@ -92,8 +92,6 @@
|
|
|
<el-form-item label="其他"><el-input v-model="fromDev.others" style="padding-left: 25px; text-align: right; width: 85vw;" size="small" type="textarea" :rows="5" placeholder="请输入其他内容…" /></el-form-item>
|
|
|
</el-col>
|
|
|
</div>
|
|
|
- <!-- <div v-show="showButton"><el-button type="primary" @click="getCreateData(fromDev)"> 保 存 </el-button></div> -->
|
|
|
- <!-- <div v-show="showButton1"><el-button type="primary" @click="getQueryData(fromDev)"> 更 新 </el-button></div> -->
|
|
|
</el-form>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -132,7 +130,6 @@ export default {
|
|
|
lateStatusBtn1: 'info',
|
|
|
getInfoBtn: 'info',
|
|
|
getInfoBtn1: 'info',
|
|
|
- // showButton1: false,
|
|
|
userData: '',
|
|
|
showDelay: false,
|
|
|
labelWidth: '60px',
|
|
@@ -169,9 +166,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
getRouterData() {
|
|
|
- // this.showButton1 = false
|
|
|
if (this.$route.query.data) {
|
|
|
- // this.showButton1 = true
|
|
|
launchTest({ id: this.$route.query.id }).then((res) => {
|
|
|
this.fromDev = res.data
|
|
|
if (this.fromDev.lateReason !== '') {
|
|
@@ -236,7 +231,6 @@ export default {
|
|
|
this.fromDev.type = 2
|
|
|
this.userData = { id: '', ename: this.userInformation, name: this.userNames }
|
|
|
this.objData = { launchTestInfo: this.fromDev, user: this.userData }
|
|
|
- console.log('sss')
|
|
|
launchTestCreate(this.objData).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.$message.success(res.msg)
|