Browse Source

lxg8-21

pull/1/head
lxg 1 year ago
parent
commit
d82ed1fd59
  1. 5
      src/views/model/devicemodel/editModel.vue
  2. 4
      src/views/model/devicemodel/index.vue

5
src/views/model/devicemodel/editModel.vue

@ -351,8 +351,11 @@ function getTreeselect() {
} }
onMounted(() => { onMounted(() => {
getDevicemodel(modelId).then(response => {
form.value = response.data
console.log(response.data)
console.log("-------------" + modelId); })
// //
// //
// form.value.pid=tempPid; // form.value.pid=tempPid;

4
src/views/model/devicemodel/index.vue

@ -74,7 +74,9 @@
</el-col> </el-col>
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
</el-row> </el-row>
<el-button
v-hasPermi="['model:devicemodel:add']"
>新增</el-button>
<el-table <el-table
v-if="refreshTable" v-if="refreshTable"
v-loading="loading" v-loading="loading"

Loading…
Cancel
Save