更改多选

main
李劲龙 1 month ago
parent 2074d36f1b
commit 42b0f75774

@ -5,8 +5,8 @@ VUE_APP_TITLE = 太仓资产管理系统
ENV = 'development'
# 若依管理系统/开发环境
# VUE_APP_BASE_API = 'http://192.168.0.119:9115'
VUE_APP_BASE_API = 'http://39.101.188.84:9115'
VUE_APP_BASE_API = 'http://192.168.0.115:9115'
# VUE_APP_BASE_API = 'http://39.101.188.84:9115'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true

@ -137,7 +137,7 @@
<el-input v-model="ruleForm.taskName" placeholder="请输入任务名称"></el-input>
</el-form-item>
<el-form-item label="核查资产类型" prop="type">
<el-checkbox-group v-model="ruleForm.type">
<el-checkbox-group v-model="ruleForm.type" @change="checkboxChange">
<el-checkbox label="0">web资产</el-checkbox>
<el-checkbox label="1">小程序资产</el-checkbox>
<el-checkbox label="2">公众号资产</el-checkbox>
@ -261,6 +261,14 @@ export default {
window.removeEventListener('resize', this.cancalDebounce);
},
methods: {
checkboxChange(){
console.log(111);
this.ruleForm.dwmc = []
this.tabclicklist = []
setTimeout(() => {
this.$refs.ruleForm.clearValidate()
}, 0);
},
//
resetForm() {
this.ruleForm = {

@ -622,7 +622,7 @@ export default {
},
tooltip: {
trigger: 'item',
formatter: '{b}{c}-({d}%)'
formatter: '{b}{c}({d}%)'
},
series: [
{

@ -154,6 +154,20 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="移动应用系统状态" required>
<el-select v-model="ruleForm.appState" placeholder="请选择移动应用系统状态">
<el-option
v-for="dict in dict.type.gzh_state"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="简介" prop="jj">
@ -194,7 +208,7 @@ import butongguo from "@/views/components/renwuType/butongguo.vue"
export default {
components:{baofei,butongguo},
dicts:['app_icp_state','app_sshy','app_zdhy','app_xzqh','app_aqjgqk'],
dicts:['app_icp_state','app_sshy','app_zdhy','app_xzqh','app_aqjgqk','gzh_state'],
data() {
return {
ruleForm:{
@ -249,7 +263,10 @@ export default {
],
jj: [
{ required: true, message: "简介不能为空", trigger: "change" }
]
],
appState:[
{ required: true, message: "移动应用系统状态不能为空", trigger: "change" }
],
},
loading:false,

Loading…
Cancel
Save