| | |
| | | float: right; |
| | | color: var(--el-text-color-secondary); |
| | | font-size: 13px;"> |
| | | <img :src="'/SimtreeUnitImage/' + item.iconName" style="height: 24px;" :alt=" item.iconDesc" /> |
| | | <img :src="staticDir + 'SimtreeUnitImage/' + item.iconName" style="height: 24px;" :alt=" item.iconDesc" /> |
| | | </span> |
| | | </el-option> |
| | | </el-select> |
| | |
| | | @click="updateSetting(scope.row)" |
| | | key="danger" |
| | | type="primary" |
| | | :disabled="scope.row.settingKey === 'pyFile'" |
| | | link |
| | | >修改 |
| | | </el-button> |
| | |
| | | @click="deleteSetting(props.row.methodSettings,scope.$index)" |
| | | key="danger" |
| | | type="danger" |
| | | :disabled="scope.row.settingKey === 'pyFile'" |
| | | link |
| | | >删除 |
| | | </el-button> |
| | |
| | | const formType = ref('') // 表单的类型:create - 新增;update - 修改 |
| | | const route = useRoute() // 路由 |
| | | const router = useRouter(); |
| | | |
| | | const staticDir = ref(import.meta.env.VITE_STATIC_DIR) |
| | | |
| | | const treeData = ref([]) |
| | | const iconList = ref([] as MpkIconApi.MpkIconVO) |
| | |
| | | if (id) { |
| | | formLoading.value = true |
| | | try { |
| | | debugger |
| | | formData.value = await MpkApi.getMpk(id) |
| | | debugger |
| | | } finally { |
| | | formLoading.value = false |
| | | } |