anchore-core-lib
v1.0.7
Published
```js npm i anchore-core-lib ``` ### 运行 ```js npm run dev ``` ### 打包 ```js npm run build ``` ### 发布 ```js npm publish ``` ### 使用 ```js import AnchoreCoreLib from 'anchore-core-lib' import 'anchore-core-lib/dist/style.css'
Downloads
14
Maintainers
Readme
安装
npm i anchore-core-lib
运行
npm run dev
打包
npm run build
发布
npm publish
使用
import AnchoreCoreLib from 'anchore-core-lib'
import 'anchore-core-lib/dist/style.css'
const app = createApp(App)
app.use(AnchoreCoreLib)
app.mount('#app')
里程碑 ElMilestone组件
依赖于element-plus table组件
<ElMilestone />
- 参数
- tableLabel 用来判断header高亮(stageRespList里面的name值)
- stageRespList header数据
[
{
name: '停工阶段',
startTime: '2024-08-01',
endTime: '2024-08-04'
}
]
- pointRespList 里程碑table数据
[
{
equipmentName: '宁夏石化公司大检修统筹',
pointRespList: [
{
operationTime: '2024-08-03',
operationName: '1主装置切料停工',
status: 1
}
]
}
]
- click-menu 点击节点菜单获取参数
const clickMenu = (row) => {
console.log(row)
}