|
|
|
@ -2533,7 +2533,15 @@
|
|
|
|
|
<el-form-item label="数据库类型" required :prop="`sjzcSjklx`" :rules="{
|
|
|
|
|
required: true, message: '请输入', trigger: 'blur'
|
|
|
|
|
}">
|
|
|
|
|
<el-input v-model="ruleForm.sjzcSjklx" placeholder="请输入数据库类型"></el-input>
|
|
|
|
|
<!-- <el-input v-model="ruleForm.sjzcSjklx" placeholder="请输入数据库类型"></el-input> -->
|
|
|
|
|
<el-select v-model="ruleForm.sjzcSjklx" placeholder="请选择数据库类型">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.database_type"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -2729,6 +2737,9 @@
|
|
|
|
|
<el-button type="primary" :disabled="false" @click="btnPass" :loading="loading">通过</el-button>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType == 'look'">
|
|
|
|
|
<el-button type="primary" @click="sendBack">返回</el-button>
|
|
|
|
|
</el-row>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<my-dialog title="提示" ref="liebiaoDialog" class="taskDialogBox" width="40%">
|
|
|
|
@ -2761,7 +2772,7 @@ export default {
|
|
|
|
|
'zc_yhgm','zc_xtbsfs','zc_hlwkfyt','fgfw','wlxz','ywlx','hlqk','fwdx',
|
|
|
|
|
'fwfw','dbxx_dbdj','dbxx_zjps','sf_cpszsdj','sjzc_gxsx','sjzc_kfsx','sjzc_sjly',
|
|
|
|
|
'sjzc_gxzq','sjzc_sjfjfl','fwq_czxt','wlw_fwdx','wlw_wlhlqk','wlw_fwfw','dwlx','sb_ip',
|
|
|
|
|
'xtfhqk_fcg','xtfhqk_fxl','xtfhqk_fzd','xtfhqk_fls'
|
|
|
|
|
'xtfhqk_fcg','xtfhqk_fxl','xtfhqk_fzd','xtfhqk_fls', 'database_type'
|
|
|
|
|
],
|
|
|
|
|
components:{
|
|
|
|
|
myUpload,
|
|
|
|
@ -2987,7 +2998,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
props:['pageType', 'id', 'audit', 'isModdle'],
|
|
|
|
|
props:['pageType', 'id', 'audit', 'isModdle', 'name', 'queryData'],
|
|
|
|
|
mounted(){
|
|
|
|
|
if(this.isModdle) {
|
|
|
|
|
if(this.pageType == 'look') {
|
|
|
|
@ -3350,7 +3361,8 @@ export default {
|
|
|
|
|
// console.log(res,"res");
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.$modal.msgSuccess("提交成功,待管理员审核通过后完成修改");
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
|
// this.$router.go(-1);
|
|
|
|
|
this.$router.push({name:this.name,params: this.queryData})
|
|
|
|
|
}).catch(err=>{
|
|
|
|
|
this.loading = false;
|
|
|
|
|
})
|
|
|
|
@ -3369,7 +3381,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 取消按钮
|
|
|
|
|
sendBack(){
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
|
// this.$router.go(-1);
|
|
|
|
|
this.$router.push({name:this.name,params: this.queryData})
|
|
|
|
|
},
|
|
|
|
|
// 驳回按钮
|
|
|
|
|
btnReject(){
|
|
|
|
@ -3394,7 +3407,8 @@ export default {
|
|
|
|
|
assetAudit(tijioaobj).then(res=>{
|
|
|
|
|
if(res.code == 200){
|
|
|
|
|
this.$modal.msgSuccess("审核驳回");
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
|
// this.$router.go(-1);
|
|
|
|
|
this.$router.push({name:this.name,params: this.queryData})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
@ -3408,7 +3422,8 @@ export default {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
assetAudit({currentId:Number(this.id),auditState:"2"}).then(res=>{
|
|
|
|
|
this.$modal.msgSuccess("审核通过");
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
|
// this.$router.go(-1);
|
|
|
|
|
this.$router.push({name:this.name,params: this.queryData})
|
|
|
|
|
this.loading = false;
|
|
|
|
|
}).catch(err=>{
|
|
|
|
|
this.loading = false;
|
|
|
|
|